Last active
March 3, 2019 04:34
-
-
Save gkhayes/c1d721fcdc0b86a65ce0cd5fc5efe5d0 to your computer and use it in GitHub Desktop.
Initialize logistic regression using Neural Network class
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
lr_nn_model1 = mlrose.NeuralNetwork(hidden_nodes = [], activation = 'sigmoid', | |
algorithm = 'random_hill_climb', max_iters = 1000, | |
bias = True, is_classifier = True, learning_rate = 0.0001, | |
early_stopping = True, clip_max = 5, max_attempts = 100, | |
random_state = 3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment