Skip to content

Commit

Permalink
Add Jupyter notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhao062 committed Aug 1, 2019
1 parent 83dbed3 commit 48a06da
Show file tree
Hide file tree
Showing 6 changed files with 265 additions and 9 deletions.
11 changes: 8 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ combo: A Python Toolbox for Machine Learning Model Combination
:alt: Documentation Status


.. image:: https://mybinder.org/badge_logo.svg
:target: https://mybinder.org/v2/gh/yzhao062/combo/master
:alt: Binder


.. image:: https://img.shields.io/github/stars/yzhao062/combo.svg
:target: https://github.com/yzhao062/combo/stargazers
:alt: GitHub stars
Expand Down Expand Up @@ -234,12 +239,12 @@ Anomaly Detection Locally Selective Combination (LSCP)


**The comparison among selected implemented models** is made available below
(\ `Figure <https://raw.githubusercontent.com/yzhao062/combo/master/examples/ALL.png>`_\ ,
(\ `Figure <https://raw.githubusercontent.com/yzhao062/combo/master/examples/compare_selected_classifiers.png>`_\ ,
`compare_selected_classifiers.py <https://github.com/yzhao062/combo/blob/master/examples/compare_selected_classifiers.py>`_\).


.. image:: https://raw.githubusercontent.com/yzhao062/combo/master/examples/ALL.png
:target: https://raw.githubusercontent.com/yzhao062/combo/master/examples/ALL.png
.. image:: https://raw.githubusercontent.com/yzhao062/combo/master/examples/compare_selected_classifiers.png
:target: https://raw.githubusercontent.com/yzhao062/combo/master/examples/compare_selected_classifiers.png
:alt: Comparison of Selected Models


Expand Down
Binary file removed docs/figs/ALL.png
Binary file not shown.
10 changes: 7 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ Welcome to combo's documentation!
:alt: Documentation Status


.. image:: https://mybinder.org/badge_logo.svg
:target: https://mybinder.org/v2/gh/yzhao062/combo/master
:alt: Binder

.. image:: https://img.shields.io/github/stars/yzhao062/combo.svg
:target: https://github.com/yzhao062/combo/stargazers
:alt: GitHub stars
Expand Down Expand Up @@ -179,12 +183,12 @@ Anomaly Detection Locally Selective Combination (LSCP)


**The comparison among selected implemented models** is made available below
(\ `Figure <https://raw.githubusercontent.com/yzhao062/combo/master/examples/ALL.png>`_\ ,
(\ `Figure <https://raw.githubusercontent.com/yzhao062/combo/master/examples/compare_selected_classifiers.png>`_\ ,
`compare_selected_classifiers.py <https://github.com/yzhao062/combo/blob/master/examples/compare_selected_classifiers.py>`_\).


.. image:: https://raw.githubusercontent.com/yzhao062/combo/master/examples/ALL.png
:target: https://raw.githubusercontent.com/yzhao062/combo/master/examples/ALL.png
.. image:: https://raw.githubusercontent.com/yzhao062/combo/master/examples/compare_selected_classifiers.png
:target: https://raw.githubusercontent.com/yzhao062/combo/master/examples/compare_selected_classifiers.png
:alt: Comparison of Selected Models


Expand Down
File renamed without changes
4 changes: 1 addition & 3 deletions examples/compare_selected_classifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
# Author: Yue Zhao <zhaoy@cmu.edu>
# License: BSD 2 clause

from __future__ import division
from __future__ import print_function

import os
import sys
Expand Down Expand Up @@ -131,5 +129,5 @@
subplot.set_ylim((-7, 7))
plt.subplots_adjust(0.04, 0.1, 0.96, 0.94, 0.1, 0.26)
plt.suptitle("Model Combination")
plt.savefig('ALL.png', dpi=300)
plt.savefig('compare_selected_classifiers.png', dpi=300)
plt.show()
249 changes: 249 additions & 0 deletions notebooks/compare_selected_classifiers.ipynb

Large diffs are not rendered by default.

0 comments on commit 48a06da

Please sign in to comment.