Skip to content

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
yuezhao@cs.toronto.edu authored and yuezhao@cs.toronto.edu committed Nov 26, 2018
1 parent 767e217 commit c87beb3
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions README_11262018.rst
Original file line number Diff line number Diff line change
Expand Up @@ -299,20 +299,21 @@ More detailed instruction of running examples can be found `here. <https://githu
#. See a sample output & visualization

.. code-block:: python

.. code-block:: python
On Training Data:
KNN ROC:1.0, precision @ rank n:1.0
On Training Data:
KNN ROC:1.0, precision @ rank n:1.0
On Test Data:
KNN ROC:0.9989, precision @ rank n:0.9
On Test Data:
KNN ROC:0.9989, precision @ rank n:0.9
.. code-block:: python
.. code-block:: python
visualize(clf_name, X_train, y_train, X_test, y_test, y_train_pred,
y_test_pred, show_figure=True, save_figure=False)
visualize(clf_name, X_train, y_train, X_test, y_test, y_train_pred,
y_test_pred, show_figure=True, save_figure=False)
Visualization (\ `knn_figure <https://raw.githubusercontent.com/yzhao062/Pyod/master/examples/KNN.png>`_\ ):

Expand Down

0 comments on commit c87beb3

Please sign in to comment.