[157809]: / setup.py

Download this file

36 lines (31 with data), 727 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
import sys
import os
try:
sys.path.index(os.getcwd()) # os.getcwd() for this directory
except ValueError:
sys.path.append(os.getcwd())
import pandas as pd
from pandas.plotting import scatter_matrix
import matplotlib.pyplot as plt
import seaborn as sns
import numpy as np
from utils import analysis_utils
from sklearn.model_selection import (
train_test_split,
cross_val_score,
cross_val_predict,
GridSearchCV
)
from sklearn.metrics import (
accuracy_score,
roc_curve,
roc_auc_score,
confusion_matrix,
precision_score,
recall_score,
precision_recall_curve,
f1_score,
)
from sklearn.neural_network import MLPClassifier