Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
from
sklearn.ensemble
import
RandomForestClassifier
2
from
sklearn.preprocessing
import
OneHotEncoder
3
import
numpy
as
np
4
import
matplotlib.pyplot
as
plt
Callers
nothing calls this directly
Calls
4
print_importance
Function · 0.85
graph_importance
Function · 0.70
split
Method · 0.45
strip
Method · 0.45
Tested by
no test coverage detected