We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38b095c commit b31b752Copy full SHA for b31b752
src/linear_perceptron.jl
@@ -26,7 +26,7 @@ function trainer(model::LinearPerceptron{T},
26
# stops when error is equal to zero or grater than last_error or reached max iterations
27
# shuffle dataset
28
if shuffle_epoch
29
- sind = shuffle(1:n)
+ sind = Random.shuffle(1:n)
30
x = X[sind,:]
31
y = Y[sind]
32
end
0 commit comments