Skip to content

Instantly share code, notes, and snippets.

@edunuke
Last active June 4, 2019 16:35
Show Gist options
  • Select an option

  • Save edunuke/ab07ec3b7befc88a703ce8e3558e4844 to your computer and use it in GitHub Desktop.

Select an option

Save edunuke/ab07ec3b7befc88a703ce8e3558e4844 to your computer and use it in GitHub Desktop.
import os
import numpy as np
import pandas as pd
import pickle
import matplotlib.pyplot as plt
import keras
import keras.backend as K
from sklearn.utils import class_weight
from sklearn import dummy, metrics, model_selection, datasets, preprocessing
from sklearn.manifold import TSNE
from sklearn.metrics import accuracy_score
from imblearn.over_sampling import SMOTE
from keras.models import Model
from keras.constraints import non_neg
from sklearn.metrics import roc_curve, auc
from hyperopt import Trials, fmin, hp, tpe,STATUS_OK, STATUS_FAIL
from sklearn.neighbors import DistanceMetric, BallTree
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment