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
I was implementing AFHMM algorithm in REDD dataset using nilmtk-contrib but am stack since the algorithm is showing the following error: "Index 2 is out of bounds for axis 0 with size 2." For the line of code in the disaggregate thread of Afhmm algorithm : for t in range(len(test_mains)):
term_4+= .5 * ((test_mains[t][0] - total_observed_reading[t][0])*2 / (sigma[t]*2))
term_3+= .5 * (np.log(sigma[t]**2))
expression = term_1 + term_2 + term_3 + term_4
expression = cvx.Minimize(expression)
prob = cvx.Problem(expression, constraints,)
prob.solve(solver=cvx.SCS,verbose=False,warm_start=True)
s_ = [i.value for i in cvx_state_vectors] Can anyone help how to solve this?
The text was updated successfully, but these errors were encountered:
I was implementing AFHMM algorithm in REDD dataset using nilmtk-contrib but am stack since the algorithm is showing the following error: "Index 2 is out of bounds for axis 0 with size 2." For the line of code in the disaggregate thread of Afhmm algorithm : for t in range(len(test_mains)):
term_4+= .5 * ((test_mains[t][0] - total_observed_reading[t][0])*2 / (sigma[t]*2))
term_3+= .5 * (np.log(sigma[t]**2))
expression = term_1 + term_2 + term_3 + term_4
expression = cvx.Minimize(expression)
prob = cvx.Problem(expression, constraints,)
prob.solve(solver=cvx.SCS,verbose=False,warm_start=True)
s_ = [i.value for i in cvx_state_vectors] Can anyone help how to solve this?
The text was updated successfully, but these errors were encountered: