
BLEU = exp(Σ(w_t * log(p_t)))
Image: The original uploader was Palmiped at English Wikipedia., CC BY 3.0, via Wikimedia Commons
BLEU = exp(Σ(w_t * log(p_t)))
Expected value
Expected value formula: E[X] = Σ [x * P(x)]
Precision and recall
Precision = Relevant retrieved instances / All retrieved instances
TF-IDF scoring
TF-IDF = (Term Frequency) * (Inverse Document Frequency)
Mean squared error
Mean squared error (MSE) formula: MSE = (1/n) * Σ(y_i - ŷ_i)²
Cross-entropy
Cross-entropy loss equation: H(p, q) = -Σ(p(x) * log(q(x)))
Logistic regression
Logistic regression probability formula: P(Y=1) = 1 / (1 + exp(-z))
One email a day: 5 concepts + the 5 stories that matter →
Swipe through 100 ML concepts daily
Open TickerNews