1#ifndef LIGHTGBM_PREDICTION_EARLY_STOP_H_
2#define LIGHTGBM_PREDICTION_EARLY_STOP_H_
7#include <LightGBM/export.h>
23 double margin_threshold;
desc and descl2 fields must be written in reStructuredText format
Definition application.h:10
LIGHTGBM_EXPORT PredictionEarlyStopInstance CreatePredictionEarlyStopInstance(const std::string &type, const PredictionEarlyStopConfig &config)
Create an early stopping algorithm of type type, with given round_period and margin threshold.
Definition prediction_early_stop.cpp:76
Definition prediction_early_stop.h:21
Definition prediction_early_stop.h:11
std::function< bool(const double *, int)> FunctionType
Callback function type for early stopping.
Definition prediction_early_stop.h:15