Changeset 4052

Ignore:
Timestamp:
Mar 26, 2021, 3:26:19 AM (21 months ago)
Message:

add description on what is optimised during the training.

Location:
trunk/yat/classifier
Files:
2 edited

Legend:

Unmodified
 r3709 \brief A Single-layer Perceptron Data are modeled as \f$y = \frac{1}{1 + \exp(-wx)} \f$ Data are modeled as \f$\mu = \frac{1}{1 + \exp(-wx)} \f$ \since New in yat 0.16 \brief train the model Model parameters, \f$w\f$, are calculated such that the log-likelihood, \f$\log \mathcal{L} = \sum y_i \log \left(\mu_i\right) + (1-y_i) \log \left(1 - \mu_i\right) \f$, is maximized. \param x each row corresponds to a data point and each column a feature.