A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://lightgbm.readthedocs.io/en/latest/pythonapi/lightgbm.Sequence.html below:

Website Navigation


lightgbm.Sequence — LightGBM 4.6.0.99 documentation

lightgbm.Sequence
class lightgbm.Sequence[source]

Bases: ABC

Generic data access interface.

Object should support the following operations:

# Get total row number.
>>> len(seq)
# Random access by row index. Used for data sampling.
>>> seq[10]
# Range data access. Used to read data in batch when constructing Dataset.
>>> seq[0:100]
# Optionally specify batch_size to control range data read size.
>>> seq.batch_size

Added in version 3.3.0.

batch_size

Default size of a batch.

Type:

int

__init__()

Methods

Attributes


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4