Skip to content

Commit

Permalink
Fix duplicated parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
YAY-C committed May 27, 2024
1 parent 6017da4 commit 28bd6f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qstack/regression/cross_validate_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ def cv_results(X, y,
mae, stdev, eta, sigma = zip(*error)
maes_all = regression(X, y, read_kernel=False, sigma=sigma[-1], eta=eta[-1],
akernel=akernel, test_size=test_size, train_size=train_size,
n_rep=1, debug=None, save_pred=save_pred, #what about debug ?
sparse=sparse, random_state=seed, debug=debug)
n_rep=1, debug=debug, save_pred=save_pred, #what about debug ?
sparse=sparse, random_state=seed)
if save_pred:
res, pred = maes_all[1]
maes_all = maes_all[0]
Expand Down

0 comments on commit 28bd6f4

Please sign in to comment.