Skip to content

Commit

Permalink
FIX: features_delim -> feature_name_val_delim
Browse files Browse the repository at this point in the history
  • Loading branch information
scharoun authored May 19, 2017
1 parent 2d50353 commit 4349489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/data_format.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Ytk-learn supports weighted trainning and sample weight scaling, so each line is
- multiclass cross_entropy: length of labels is equal to class number, sum of labels equals to 1, e.g. 0.2,0.1,0.4,0.3 (4 class in total)


- **Features** stands for ```f1_name${feature_name_val_delim}f1_value${features_delim}...${features_delim}fn_name${feature_name_val_delim}fn_value```. Features are split by ${features_delim} while feature key and value are split by ``${features_delim}``.
- **Features** stands for ```f1_name${feature_name_val_delim}f1_value${features_delim}...${features_delim}fn_name${feature_name_val_delim}fn_value```. Features are split by ${features_delim} while feature key and value are split by ``${feature_name_val_delim}``.
- **Init_prediction** is optional, and only is enabled in tree-based models(e.g. GBDT, GBMLR, GBSDT,...). You can provide each sample with an initial prediction(regression and binary classification) or initial scores(multi-class classification, scores are the origin predict score before softmax). When you provide this field, set 'sample_dependent_base_prediction' in model configuration file to true.

For example, if you config ``data.delim`` with
Expand Down

0 comments on commit 4349489

Please sign in to comment.