grid search - Python - ARIMA parameters auto-tuning -


i trying adapt this example case, aim obtain similar auto.arima():

at_tuples = tuple(train['averagetemperature'].values) endog = at_tuples  def objfunc(order, endog):     fit = arima(endog, order).fit()     return fit.aic()  grid = (slice(1, 3, 1), slice(1, 3, 1), slice(1, 3, 1)) brute(objfunc, grid, args=(endog), finish=none) 

when run code get:

typeerror: objfunc() takes 2 positional arguments 45 given

i'm not sure it, suppose concern type of format of at_tuples.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -