BayesTreePowerCurve
Bayesian Additive Regressions Trees (BART) based power curve model.
from dwse import BayesTreePowerCurve
model = BayesTreePowerCurve()
model.fit(X_train, y_train)
prediction = model.fit(X_test)
- class dswe.bayes_tree.BayesTreePowerCurve(n_trees=200)[source]
- Parameters
n_trees (int) – Number of trees to use. An integer greater than 0.