Skip to content

Commit

Permalink
fixed typo in R package
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Sep 24, 2019
1 parent da94339 commit a5e4458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R-package/R/lgb.model.dt.tree.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ lgb.model.dt.tree <- function(model, num_iteration = NULL) {
# Get corresponding feature names. Positions in split_feature_indx
# which are NA will result in an NA feature name
feature_names <- parsed_json_model$feature_names[split_feature_indx]
tree_dt[, split_feaure := feature_names]
tree_dt[, split_feature := feature_names]

# Return tree
return(tree_dt)
Expand Down

0 comments on commit a5e4458

Please sign in to comment.