forked from bsc-wdc/dislib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request bsc-wdc#351 from gcasadesus/trees-module
Trees Module
- Loading branch information
Showing
14 changed files
with
337 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from dislib.classification.csvm.base import CascadeSVM | ||
from dislib.commons.rf.forest import RandomForestClassifier | ||
from dislib.trees.forest import RandomForestClassifier | ||
|
||
__all__ = ["CascadeSVM", "RandomForestClassifier"] |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
from dislib.regression.linear.base import LinearRegression | ||
from dislib.regression.lasso.base import Lasso | ||
from dislib.commons.rf.forest import RandomForestRegressor | ||
from dislib.trees.forest import RandomForestRegressor | ||
|
||
__all__ = ["LinearRegression", "Lasso", "RandomForestRegressor"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from dislib.trees.forest import RandomForestClassifier, RandomForestRegressor | ||
from dislib.trees.decision_tree import ( | ||
DecisionTreeClassifier, | ||
DecisionTreeRegressor, | ||
) | ||
from dislib.trees.data import transform_to_rf_dataset | ||
|
||
__all__ = [ | ||
"RandomForestClassifier", | ||
"RandomForestRegressor", | ||
"DecisionTreeClassifier", | ||
"DecisionTreeRegressor", | ||
"transform_to_rf_dataset", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.