You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/models/sarima.jl
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -576,7 +576,7 @@ function fit!(
576
576
Fl =typeofModelElements(model)
577
577
isFitted(model) &&
578
578
@info("The model has already been fitted. Overwriting the previous results")
579
-
@assert objectiveFunction ∈ ["mae", "mse", "ml", "bilevel", "elastic_net"] "The objective function $objectiveFunction is not supported. Please use 'mae', 'mse', 'ml', 'bilevel'or 'elastic_net'"
579
+
@assert objectiveFunction ∈ ["mae", "mse", "ml", "bilevel", "elastic_net", "stable"] "The objective function $objectiveFunction is not supported. Please use 'mae', 'mse', 'ml', 'bilevel', 'elastic_net' or 'stable'"
580
580
if objectiveFunction =="elastic_net"
581
581
@assert (!isnothing(alpha) ||!isnothing(model.alpha)) "In elastic net objective function, alpha must be specified"
582
582
end
@@ -808,6 +808,8 @@ function includeSolverParameters!(model::Model, isSilent::Bool = true)
0 commit comments