-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [optional] support protobuf * fix windows/LightGBM.vcxproj * add doc * fix doc * fix vs support (#2) * fix vs support * fix cmake
- Loading branch information
Showing
20 changed files
with
401 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
syntax = "proto3"; | ||
|
||
package LightGBM; | ||
|
||
message Model { | ||
string name = 1; | ||
uint32 num_class = 2; | ||
uint32 num_tree_per_iteration = 3; | ||
uint32 label_index = 4; | ||
uint32 max_feature_idx = 5; | ||
string objective = 6; | ||
bool average_output = 7; | ||
repeated string feature_names = 8; | ||
repeated string feature_infos = 9; | ||
message Tree { | ||
uint32 num_leaves = 1; | ||
uint32 num_cat = 2; | ||
repeated uint32 split_feature = 3; | ||
repeated double split_gain = 4; | ||
repeated double threshold = 5; | ||
repeated uint32 decision_type = 6; | ||
repeated sint32 left_child = 7; | ||
repeated sint32 right_child = 8; | ||
repeated double leaf_value = 9; | ||
repeated uint32 leaf_count = 10; | ||
repeated double internal_value = 11; | ||
repeated double internal_count = 12; | ||
repeated sint32 cat_boundaries = 13; | ||
repeated uint32 cat_threshold = 14; | ||
double shrinkage = 15; | ||
} | ||
repeated Tree trees = 10; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.