Skip to content

Commit

Permalink
add sklearn imports to businessrule module
Browse files Browse the repository at this point in the history
  • Loading branch information
oegedijk committed May 27, 2021
1 parent d55647d commit 7607006
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions rule_estimator/businessrule.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
import numpy as np
import pandas as pd

from sklearn.base import BaseEstimator
from sklearn.metrics import accuracy_score, mean_squared_error

from igraph import Graph

from .storable import Storable
Expand Down
2 changes: 1 addition & 1 deletion rule_estimator/estimators.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

from sklearn.base import BaseEstimator
from sklearn.tree import DecisionTreeClassifier, DecisionTreeRegressor
from sklearn.metrics import accuracy_score, precision_score, recall_score, mean_squared_error
from sklearn.metrics import accuracy_score, mean_squared_error

from igraph import Graph

Expand Down

0 comments on commit 7607006

Please sign in to comment.