Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pplonski authored Apr 9, 2019
1 parent 4946e9c commit ff1957f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,22 @@ In the current version only binary classification is supported with optimization

## Example

```
import pandas as pd
from supervised.automl import AutoML
df = pd.read_csv("https://raw.githubusercontent.com/pplonski/datasets-for-start/master/adult/data.csv", skipinitialspace=True)
print(df.head())
X = df[df.columns[:-1]]
y = df["income"]
automl = AutoML()
automl.fit(X, y)
predictions = automl.predict(X)
```

## The tuning algorithm

Expand Down

0 comments on commit ff1957f

Please sign in to comment.