Skip to content

Commit

Permalink
added Python highlighter
Browse files Browse the repository at this point in the history
  • Loading branch information
JoKoum committed Oct 22, 2021
1 parent 13cb573 commit 64bbc8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Stochastic Gradient Trees - Python

### Usage:

```python
from StochasticGradientTree import StochasticGradientTreeClassifier

from sklearn.model_selection import train_test_split
Expand Down Expand Up @@ -49,6 +50,8 @@ Stochastic Gradient Trees - Python

tree, _ = train(X, y)

```

### Binary classification example:

python classification_breast.py
Expand Down
3 changes: 3 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Stochastic Gradient Trees - Python

### Usage:

```python
from StochasticGradientTree import StochasticGradientTreeClassifier

from sklearn.model_selection import train_test_split
Expand Down Expand Up @@ -49,6 +50,8 @@ Stochastic Gradient Trees - Python

tree, _ = train(X, y)

```

### Binary classification example:

python classification_breast.py
Expand Down

0 comments on commit 64bbc8b

Please sign in to comment.