From 492b3463569435f6f1a941ab3fe5077ad7152a74 Mon Sep 17 00:00:00 2001 From: Sungho Park Date: Thu, 19 Oct 2023 00:14:02 +0900 Subject: [PATCH] Update 09_variational-inference.jmd `remove_names = filter(x -> !in(x, ["MPG"]), names(data))` --- tutorials/09-variational-inference/09_variational-inference.jmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/09-variational-inference/09_variational-inference.jmd b/tutorials/09-variational-inference/09_variational-inference.jmd index 45b50bf4c..127e9d47d 100644 --- a/tutorials/09-variational-inference/09_variational-inference.jmd +++ b/tutorials/09-variational-inference/09_variational-inference.jmd @@ -312,7 +312,7 @@ train_label = train_cut[:, :MPG] test_label = test_cut[:, :MPG] # Get the list of columns to keep. -remove_names = filter(x -> !in(x, [:MPG, :Model]), names(data)) +remove_names = filter(x -> !in(x, ["MPG"]), names(data)) # Filter the test and train sets. train = Matrix(train_cut[:, remove_names]);