MCPcopy Create free account
hub / github.com/TheAlgorithms/Rust / find_best_split

Function find_best_split

src/machine_learning/decision_tree.rs:57–111  ·  view source on GitHub ↗

Find the best split for a feature

(data: &[(Vec<f64>, f64)], feature_index: usize)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

find_best_split_featureFunction · 0.85

Calls 5

calculate_entropyFunction · 0.85
is_emptyMethod · 0.45
lenMethod · 0.45
iterMethod · 0.45
partial_cmpMethod · 0.45

Tested by

no test coverage detected