recommenders-team/recommenders
Vedi su GitHub[ASK] TypeError: '>=' not supported between instances of 'list' and 'float'
Open
#1113 aperta il 27 mag 2020
help wanted
Metriche repository
- Star
- (17.706 star)
- Metriche merge PR
- (Merge medio 6g 16h) (10 PR mergiate in 30 g)
Descrizione
Description
regarding deeprec_utils.py, i have following error" “>=not supported between instances of 'list' and 'float” ``` below is the code snippet metric == "acc": pred = np.asarray(preds) pred[pred >= 0.5] = 1 pred[pred < 0.5] = 0 acc = accuracy_score(np.asarray(labels), pred) res["acc"] = round(acc, 4)
### Other Comments