MCPcopy Create free account
hub / github.com/capitalk/treelearn / train_svm_forest

Function train_svm_forest

treelearn/recipes.py:122–149  ·  view source on GitHub ↗

A random forest whose base classifier is a SVM-Tree (rather than splitting individual features we project each point onto a hyperplane) Parameters ---------- X : numpy array containing input data. Should have samples for rows and features for columns. Y : numpy

(X, Y, num_trees = 10, max_depth = 3, bagging_percent=0.65, randomize_C = False, model_args ={}, tree_args={})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

test_svm_forestFunction · 0.90

Calls 3

ClassifierEnsembleClass · 0.90
mk_svm_treeFunction · 0.85
fitMethod · 0.45

Tested by 1

test_svm_forestFunction · 0.72