Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
davideklund committed Jan 8, 2025
1 parent e23ad06 commit 31a2d0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/regression.rst
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ It is interesting to animate the predictions during the training of the neural n
anim = @animate for epoch in 1:n_epochs
train!(loss, ps, data, opt)
train!(loss, model, data, opt_state)
ltrain = sqrt(loss(X_train, y_train))
ltest = sqrt(loss(X_test, y_test))
push!(train_loss, ltrain)
Expand Down Expand Up @@ -753,7 +753,7 @@ Let us also check how well a linear model is doing in this case. It turns out it
using MLJ: shuffle, partition
using Flux: train!
# data_path = "C:/Users/davidek/julia_kurser/DailyDelhiClimateTrain.csv"
# data_path = "C:/Users/davidek/julia_kurser/2025-02/DailyDelhiClimateTrain.csv"
df = CSV.read(data_path, DataFrame)
# clean up data
Expand Down

0 comments on commit 31a2d0b

Please sign in to comment.