-
-
Save BinarySpoon/7521d3187b7e5253fc5e296ecb8f3bae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Training Classifier | |
#clf = SVC(kernel = 'rbf', gamma=0.01, C=0.1) | |
#clf = LogisticRegression() | |
#clf = KneighborsRegression(n_neighbours = 5) | |
clf = MLPClassifier(hidden_layer_sizes=[100,10],alpha=0.001,random_state=0,solver='lbfgs',verbose=0) | |
clf.fit(X_train_scaled, y_train) | |
# Predict probabilities | |
y_proba = clf.predict_proba(X_test_scaled)[:,1] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment