Skip to content

Instantly share code, notes, and snippets.

# Honest store
honest_f1_score_like = 2 * avg_honest_rating * avg_honest_helpful_rating / (
avg_honest_rating + avg_honest_helpful_rating
)
# Scam store
scam_f1_score_like = 2 * avg_scam_rating * avg_scam_helpful_rating / (
avg_scam_rating + avg_scam_helpful_rating
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment