Changeset 4052 for trunk/yat/classifier/Perceptron.h
 Timestamp:
 Mar 26, 2021, 3:26:19 AM (8 months ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/yat/classifier/Perceptron.h
r3709 r4052 35 35 \brief A Singlelayer Perceptron 36 36 37 Data are modeled as \f$ y= \frac{1}{1 + \exp(wx)} \f$37 Data are modeled as \f$ \mu = \frac{1}{1 + \exp(wx)} \f$ 38 38 39 39 \since New in yat 0.16 … … 86 86 \brief train the model 87 87 88 Model parameters, \f$w\f$, are calculated such that the 89 loglikelihood, 90 \f$ \log \mathcal{L} = \sum y_i \log \left(\mu_i\right) + 91 (1y_i) \log \left(1  \mu_i\right) \f$, 92 is maximized. 93 88 94 \param x each row corresponds to a data point and each column a 89 95 feature.
Note: See TracChangeset
for help on using the changeset viewer.