Skip to content
Quantoros

Why can LightGBM say 'Cannot ... before construct dataset' even after Dataset(X, y) was created?

Classic MLLevel: AdvancedDataset lifecycle and histogram bins

Why can LightGBM say 'Cannot ... before construct dataset' even after Dataset(X, y) was created?

Hints
  • State the task, inputs and prediction target.
  • Compare with a simple baseline: assumptions, objective and independent validation.

Answer

This answer is part of mentoring

Advanced questions come with a full breakdown and a mock interview with a working quant researcher. The first call is free.

Source and licence: LightGBM developers — Official FAQ · MIT · answer: Quantoros editorial

Related questions