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

Function train_sgd_forest

treelearn/recipes.py:180–213  ·  view source on GitHub ↗

A random forest whose base classifier is a tree of SGD classifiers Parameters ---------- X : numpy array containing input data. Should have samples for rows and features for columns. Y : numpy array containing class labels for each sample num_trees : how b

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

ClassifierEnsembleClass · 0.90
mk_sgd_treeFunction · 0.85
fitMethod · 0.45

Tested by

no test coverage detected