Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgenkg committed Apr 3, 2016
1 parent 71a222c commit e019ac2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ network.save_to_file( "trained_configuration.pkl" )
# network = NeuralNet.load_from_file( "trained_configuration.pkl" )

# start training on test set one with scaled conjugate gradient
network.scg(
scaled_conjugate_gradient(
training_one,
ERROR_LIMIT = 1e-4
)

# start training on test set one with backpropagation
network.backpropagation(
backpropagation(
training_one, # specify the training set
ERROR_LIMIT = 1e-3, # define an acceptable error limit
learning_rate = 0.03, # learning rate
Expand All @@ -74,7 +74,7 @@ network.backpropagation(
)

# start training on test set one with backpropagation
network.resilient_backpropagation(
resilient_backpropagation(
training_one, # specify the training set
ERROR_LIMIT = 1e-3, # define an acceptable error limit
#max_iterations = (), # continues until the error limit is reach if this argument is skipped
Expand All @@ -88,7 +88,7 @@ network.resilient_backpropagation(
)

# start training on test set one with SciPy
network.scipyoptimize(
scipyoptimize(
training_one,
method = "Newton-CG",
ERROR_LIMIT = 1e-4
Expand Down

0 comments on commit e019ac2

Please sign in to comment.