Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine config object #1381

Merged
merged 21 commits into from
May 20, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[WIP] refine config
  • Loading branch information
guolinke committed May 19, 2018
commit e66962694b949d6707dc29890c3b4829020417b3
2 changes: 1 addition & 1 deletion include/LightGBM/application.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Application {
void ConvertModel();

/*! \brief All configs */
OverallConfig config_;
Config config_;
/*! \brief Training data */
std::unique_ptr<Dataset> train_data_;
/*! \brief Validation data */
Expand Down
4 changes: 2 additions & 2 deletions include/LightGBM/boosting.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class LIGHTGBM_EXPORT Boosting {
* \param training_metrics Training metric
*/
virtual void Init(
const BoostingConfig* config,
const Config* config,
const Dataset* train_data,
const ObjectiveFunction* objective_function,
const std::vector<const Metric*>& training_metrics) = 0;
Expand All @@ -47,7 +47,7 @@ class LIGHTGBM_EXPORT Boosting {
virtual void ResetTrainingData(const Dataset* train_data, const ObjectiveFunction* objective_function,
const std::vector<const Metric*>& training_metrics) = 0;

virtual void ResetConfig(const BoostingConfig* config) = 0;
virtual void ResetConfig(const Config* config) = 0;



Expand Down
Loading