From 9f766945deabcc5cdca213dec2e6fb352550aee2 Mon Sep 17 00:00:00 2001 From: "Anthony Blaom, PhD" Date: Thu, 6 Jun 2024 14:54:05 +1200 Subject: [PATCH] commit review suggestion Co-authored-by: Essam --- examples/mnist/notebook.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mnist/notebook.jl b/examples/mnist/notebook.jl index e084b401..55a6fbdc 100644 --- a/examples/mnist/notebook.jl +++ b/examples/mnist/notebook.jl @@ -132,7 +132,7 @@ fit!(mach, rows=1:500); predicted_labels = predict(mach, rows=501:1000); cross_entropy(predicted_labels, labels[501:1000]) -# Or, in one line: +# Or to fit and predict, in one line: evaluate!(mach, resampling=Holdout(fraction_train=0.5),