Skip to content

Instantly share code, notes, and snippets.

@taylorplumer
Created June 23, 2020 04:31
Show Gist options
  • Save taylorplumer/2b9e18cac895e449ae16bc23a6a33088 to your computer and use it in GitHub Desktop.
Save taylorplumer/2b9e18cac895e449ae16bc23a6a33088 to your computer and use it in GitHub Desktop.
from sklearn.naive_bayes import GaussianNB
from sklearn.linear_model import LogisticRegression
from sklearn.ensemble import GradientBoostingClassifier, RandomForestClassifier
# modify depending on needs for sklearn classifiers and yellowbrick visualizers
MODELS = [GradientBoostingClassifier(), RandomForestClassifier(), LogisticRegression(max_iter=1000), GaussianNB() ]
VISUALIZERS = ['ROCAUC','PrecisionRecallCurve', 'ClassificationReport','ConfusionMatrix']
# modify depending on needs for filesystem structure
INPUT_DATA_FILEPATH = 'Data/Input/'
OUTPUT_DATA_FILEPATH = 'Data/Output/'
IMG_OUTPUT_FILEPATH = 'Data/img/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment