diff --git a/CHANGELOG.md b/CHANGELOG.md index 9893adf..6f586ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.5 + +- New import syntax. + ## 0.1.4 - Fix imports. diff --git a/morfist/__init__.py b/morfist/__init__.py index e69de29..10cfbe5 100644 --- a/morfist/__init__.py +++ b/morfist/__init__.py @@ -0,0 +1 @@ +from morfist.core.MixedRandomForest import MixedRandomForest diff --git a/pyproject.toml b/pyproject.toml index c6e26c6..14a1a8d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "decision-tree-morfist" -version = "0.1.4" +version = "0.1.5" description = "Multi-target Random Forest implementation that can mix both classification and regression tasks." authors = ["Andrés Reverón Molina ", "Henrik Linusson "] license = "MIT" diff --git a/test/test.py b/test/test.py index a44a599..e1683ad 100644 --- a/test/test.py +++ b/test/test.py @@ -5,8 +5,8 @@ from sklearn.ensemble import RandomForestRegressor, RandomForestClassifier from sklearn.model_selection import cross_val_score -from algo.evaluation import cross_validation -from core.MixedRandomForest import MixedRandomForest +from algo.evaluation import cross_validation +from morfist import MixedRandomForest # Configuration # Number of tress of the random forest