Skip to content

Commit

Permalink
#3132: model_generate.rst, adjust code block syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff1evesque committed Dec 10, 2017
1 parent b3f1bd3 commit d7ccd74
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions doc/programmatic_interface/model/model_generate.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ session. The required attributes, for the corresponding session, is sent to the
**Note:** the content of each of the above examples, can be substituted for
the ``data`` attribute, in a given ``POST`` request:

.. code-block:: python
.. code:: python
import requests
Expand Down Expand Up @@ -56,7 +56,8 @@ The following properties define the above ``data`` attribute:
Penalty=1
---------

.. code-block:: python
.. code:: python
# create SVC classifier
svm = SVC(kernel='rbf', random_state=0, gamma=.01, C=1)
Expand All @@ -75,7 +76,8 @@ Penalty=1
Penalty=10
----------

.. code-block:: python
.. code:: python
# create SVC classifier
svm = SVC(kernel='rbf', random_state=0, gamma=.01, C=10)
Expand All @@ -94,7 +96,8 @@ Penalty=10
Penalty=10000
-------------

.. code-block:: python
.. code:: python
# create SVC classifier
svm = SVC(kernel='rbf', random_state=0, gamma=.01, C=10000)
Expand Down

0 comments on commit d7ccd74

Please sign in to comment.