Skip to content

Commit fa78bb5

Browse files
authored
Update 09_variational-inference.jmd (#426)
`remove_names = filter(x -> !in(x, ["MPG"]), names(data))`
1 parent e8dc563 commit fa78bb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/09-variational-inference/09_variational-inference.jmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ train_label = train_cut[:, :MPG]
312312
test_label = test_cut[:, :MPG]
313313

314314
# Get the list of columns to keep.
315-
remove_names = filter(x -> !in(x, [:MPG, :Model]), names(data))
315+
remove_names = filter(x -> !in(x, ["MPG"]), names(data))
316316

317317
# Filter the test and train sets.
318318
train = Matrix(train_cut[:, remove_names]);

0 commit comments

Comments
 (0)