Skip to content

Commit

Permalink
Merge pull request #553 from qiboteam/fix-classifier
Browse files Browse the repository at this point in the history
Fix variable name in classifier fitting
  • Loading branch information
andrea-pasquale authored Oct 13, 2023
2 parents cea9d85 + b381353 commit 7d4fef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qibocal/fitting/classifier/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def train_qubit(
x_train, y_train.astype(np.int64), classifier.savedir
)
else:
hyperpars = cls_data.hpars[qubit][classifier.name]
hyperpars = cls_data.classifiers_hpars[qubit][classifier.name]
hpars_list.append(hyperpars)
classifier.dump_hyper(hyperpars)
model = classifier.create_model(hyperpars)
Expand Down

0 comments on commit 7d4fef0

Please sign in to comment.