MCPcopy Index your code
hub / github.com/antlr/codebuff / random_forest_on_token_features.py

File random_forest_on_token_features.py

python/play/random_forest_on_token_features.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from sklearn.ensemble import RandomForestClassifier
2from sklearn.preprocessing import OneHotEncoder
3import numpy as np
4import matplotlib.pyplot as plt

Callers

nothing calls this directly

Calls 4

print_importanceFunction · 0.85
graph_importanceFunction · 0.70
splitMethod · 0.45
stripMethod · 0.45

Tested by

no test coverage detected