For simulated data demo, try:
cd examples/
python sim_demo.py
For DIGITS data demo, try:
cd examples/
python real_demo.py
To compare with Scikit-Learn, try:
cd examples/
python sklearn_compare.py
Python 3 or 2.7 with the following packages installed:
- Numpy
- Scipy
- Scikit-learn
- Pandas
- Matplotlib
- tqdm
The loss function is as below:
The gradient is as below: