FIR_Combined_years(10-18).xlsx
Missing file
bsts
module is not available in the current environment. We can proceed with ARIMA and Transformer models for now. If you have any specific requirements for the BSTS model, please let me know.transformers
module is also not available in the current environment. We can proceed with the ARIMA model for now. If you have any specific requirements for the Transformer model, please let me know.ATTEMPTTOCOMMITMURDER
). Here are the results:# Actual values
fig.add_trace(go.Scatter(x=test.index, y=test[column], mode='lines+markers', name='Actual'))
# Forecasted values
fig.add_trace(go.Scatter(x=test.index, y=results[column]['forecast'], mode='lines+markers', name='Forecast'))
# Update layout
fig.update_layout(title=f'Actual vs Forecasted Values for {column} (ARIMA)', xaxis_title='Date', yaxis_title='Count')
figures_arima.append(fig)
BSTS
model's fit
method does not accept the niter
argument. This might be due to a version mismatch or incorrect usage of the library.bsts
library to understand the correct usage of the fit
method.BSTS
model's fit
method does not accept the niter
argument. This might be due to a version mismatch or incorrect usage of the library.bsts
library to understand the correct usage of the fit
method.fit
method of the BSTS
class does not accept an niter
argument.BSTS
class and its methods. We will remove the niter
argument from the fit
method and proceed with fitting the model without it.