Skip to content

Commit b31b752

Browse files
committed
minor fix in module call
1 parent 38b095c commit b31b752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linear_perceptron.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function trainer(model::LinearPerceptron{T},
2626
# stops when error is equal to zero or grater than last_error or reached max iterations
2727
# shuffle dataset
2828
if shuffle_epoch
29-
sind = shuffle(1:n)
29+
sind = Random.shuffle(1:n)
3030
x = X[sind,:]
3131
y = Y[sind]
3232
end

0 commit comments

Comments
 (0)