Skip to content

Commit

Permalink
Fix demos
Browse files Browse the repository at this point in the history
  • Loading branch information
albertbup committed Oct 16, 2018
1 parent 5e38ec5 commit 15799af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/regression_demo.py
Expand Up @@ -2,7 +2,7 @@

np.random.seed(1337) # for reproducibility
from sklearn.datasets import load_boston
from sklearn.cross_validation import train_test_split
from sklearn.model_selection import train_test_split
from sklearn.metrics.regression import r2_score, mean_squared_error
from sklearn.preprocessing import MinMaxScaler

Expand Down
2 changes: 1 addition & 1 deletion examples/unsupervised_demo.py
Expand Up @@ -25,7 +25,7 @@

from scipy.ndimage import convolve
from sklearn import linear_model, datasets, metrics
from sklearn.cross_validation import train_test_split
from sklearn.model_selection import train_test_split
from sklearn.pipeline import Pipeline
from dbn.models import UnsupervisedDBN # use "from dbn.tensorflow import SupervisedDBNClassification" for computations on TensorFlow

Expand Down

0 comments on commit 15799af

Please sign in to comment.