From 8a77f80203c9458eabb0ee6963cc748d2398b4ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Rever=C3=B3n=20Molina?= Date: Fri, 24 Jul 2020 16:48:06 +0200 Subject: [PATCH] 0.1.4 --- CHANGELOG.md | 4 ++++ morfist/core/MixedRandomForest.py | 2 +- morfist/core/MixedRandomTree.py | 2 +- morfist/core/MixedSplitter.py | 2 +- pyproject.toml | 4 +--- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5205447..9893adf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.4 + +- Fix imports. + ## 0.1.3 - Fix build. diff --git a/morfist/core/MixedRandomForest.py b/morfist/core/MixedRandomForest.py index 6ce2239..3e570ea 100644 --- a/morfist/core/MixedRandomForest.py +++ b/morfist/core/MixedRandomForest.py @@ -1,7 +1,7 @@ import numpy as np import scipy.stats -from core.MixedRandomTree import MixedRandomTree +from morfist.core.MixedRandomTree import MixedRandomTree class MixedRandomForest: diff --git a/morfist/core/MixedRandomTree.py b/morfist/core/MixedRandomTree.py index 4045eab..c454f02 100644 --- a/morfist/core/MixedRandomTree.py +++ b/morfist/core/MixedRandomTree.py @@ -1,6 +1,6 @@ import numpy as np -from core.MixedSplitter import MixedSplitter +from morfist.core.MixedSplitter import MixedSplitter class MixedRandomTree: diff --git a/morfist/core/MixedSplitter.py b/morfist/core/MixedSplitter.py index 5b80eb2..39cb4ad 100644 --- a/morfist/core/MixedSplitter.py +++ b/morfist/core/MixedSplitter.py @@ -1,7 +1,7 @@ import numpy as np from numba import njit -from algo import numba_histogram +from morfist.algo.histogram import numba_histogram @njit diff --git a/pyproject.toml b/pyproject.toml index 213531c..c6e26c6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "decision-tree-morfist" -version = "0.1.3" +version = "0.1.4" description = "Multi-target Random Forest implementation that can mix both classification and regression tasks." authors = ["Andrés Reverón Molina ", "Henrik Linusson "] license = "MIT" @@ -15,8 +15,6 @@ classifiers = [ ] packages = [ { include = "morfist" }, - { include = "morfist/core" }, - { include = "morfist/algo" }, ] [tool.poetry.dependencies]