Skip to content

Commit 4edc03e

Browse files
committed
Updated README.
1 parent 96c6892 commit 4edc03e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ require './ml_delta'
1111

1212
#### Normal Case
1313
``` ruby
14-
# Normal Case
1514
delta = MLDelta.new
1615
delta.activeMethod = MLActiveMethod::TANH
1716
delta.learningRate = 0.8
@@ -40,10 +39,10 @@ delta.trainingWithIteration(iterationBlock, completionBlock)
4039
#### Lazy Case
4140
``` ruby
4241
# 1. If you wish automatic setups all weights of pattern that you could use delta.randomWeights() to instead of delta.setupWeights().
43-
# 2. If you just wanna see the result without iteration running that you could just use the method as below :
42+
# 2. If you just wanna see the result without iteration running that you could directly use the method as below :
4443
delta.trainingWithCompletion {
4544
|success, weights, totalIteration|
46-
puts "hello #{success} #{weights} #{totalIteration}"
45+
puts "success : #{success}, weights : #{weights}, totalIteration : #{totalIteration}"
4746
}
4847
```
4948

0 commit comments

Comments
 (0)