Skip to content

Commit

Permalink
Fixed col in predict output
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed May 6, 2024
1 parent b46a827 commit c395e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/prophet/forecaster.rb
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ def predict_seasonal_components(df)

x = seasonal_features.to_numo
data = {}
component_cols.vector_names.each do |component|
(component_cols.vector_names - ["col"]).each do |component|
beta_c = @params["beta"] * component_cols[component].to_numo

comp = x.dot(beta_c.transpose)
Expand Down

0 comments on commit c395e5a

Please sign in to comment.