Skip to content

Commit

Permalink
Update 09_variational-inference.jmd (#426)
Browse files Browse the repository at this point in the history
`remove_names = filter(x -> !in(x, ["MPG"]), names(data))`
  • Loading branch information
mrchaos authored Oct 19, 2023
1 parent e8dc563 commit fa78bb5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit fa78bb5

Please sign in to comment.