Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MPBA
INF
Commits
740a92ff
Commit
740a92ff
authored
Jan 30, 2020
by
Alessia Marcolini
Browse files
Fix missing import
parent
f32b6f4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
sklearn_validation.py
View file @
740a92ff
...
...
@@ -12,8 +12,13 @@ import sys
import
numpy
as
np
import
pandas
as
pd
from
sklearn
import
preprocessing
,
svm
from
sklearn.metrics
import
(
accuracy_score
,
make_scorer
,
matthews_corrcoef
,
roc_auc_score
)
from
sklearn.ensemble
import
RandomForestClassifier
from
sklearn.metrics
import
(
accuracy_score
,
make_scorer
,
matthews_corrcoef
,
roc_auc_score
,
)
from
sklearn.model_selection
import
GridSearchCV
,
StratifiedShuffleSplit
from
sklearn.pipeline
import
Pipeline
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment