ReportDecoWhitebox

class lightautoml.report.report_deco.ReportDecoWhitebox(**kwargs)[source]

Bases: ReportDeco

Special report wrapper for WhiteBoxPreset. Usage case is the same as main ReportDeco class. It generates same report as ReportDeco , but with additional whitebox report part.

Difference:

  • report_automl.predict gets additional report argument. It stands for updating whitebox report part. Calling report_automl.predict(test_data, report=True) will update test part of whitebox report. Calling report_automl.predict(test_data, report=False) will extend general report with. New data and keeps whitebox part as is (much more faster).

  • WhiteBoxPreset should be created with parameter general_params={"report": True} to get white box report part. If general_params set to {"report": False}, only standard ReportDeco part will be created (much faster).

property model

Get unwrapped WhiteBox.

Returns

model.

fit_predict(*args, **kwargs)[source]

Wrapped AutoML.fit_predict method.

Valid args, kwargs are the same as wrapped automl.

Parameters
  • *args – Arguments.

  • **kwargs – Additional parameters.

Returns

OOF predictions.

predict(*args, **kwargs)[source]

Wrapped AutoML.predict method.

Valid args, kwargs are the same as wrapped automl.

Parameters
  • *args – Arguments.

  • **kwargs – Additional parameters.

Returns

Predictions.