- Given the symptoms, identify the medical condtions of the patient.
- Online transaction fraud using IP address, past transaction history etc.
- Detection of DNA mutations as deleterious using data of DNA sequences with and without disease.
Ahsan Ijaz
Using training data to learn weights for each word.
Words | Coefficients |
---|---|
Good | 0.5 |
great | 1 |
Exceptional | 1.5 |
Awesome | 2.3 |
bad | -1 |
terrible | -1.5 |
hideous | -2.5 |
awful | -3 |
we,are,the,where,how,restaurant | 0 |
For linear classifier:
$\hat{P}(y=+1|x) = $ estimate of 1 vs all model for each class
max_prob = 0; \(\hat{y} = 0\)
For c = 1,...C:
\[ l(w_0,w_1,w_2) = \prod_{i = 0}^{n}P(y_i|x_i,\mathbf{w}) \]