Commit 4607ce8d authored by Artur Costa Pazo's avatar Artur Costa Pazo

Fix error on OC-SVM documentation using py 3.4

parent d5db3476
...@@ -160,8 +160,8 @@ On the other hand, the package allows you to train a One Class Support Vector Ma ...@@ -160,8 +160,8 @@ On the other hand, the package allows you to train a One Class Support Vector Ma
.. doctest:: .. doctest::
:options: +NORMALIZE_WHITESPACE :options: +NORMALIZE_WHITESPACE
>>> pos = 0.4 * numpy.random.randn(100, 2).astype(numpy.float64) >>> oc_pos = 0.4 * numpy.random.randn(100, 2).astype(numpy.float64)
>>> data = [pos] >>> data = [oc_pos]
>>> print(data) # doctest: +SKIP >>> print(data) # doctest: +SKIP
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment