MCPcopy Create free account
hub / github.com/Raibows/MLinRust / get_best_split

Method get_best_split

src/model/decision_tree.rs:146–174  ·  view source on GitHub ↗

traverse all possible feature values to find the best split (the max info gain)

(&self, dataset: &Dataset<T>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

build_treesMethod · 0.80

Calls 6

calculate_informationMethod · 0.80
feature_lenMethod · 0.80
get_feature_by_idxMethod · 0.80
split_dataset_byMethod · 0.80
lenMethod · 0.80

Tested by

no test coverage detected