Skip to content

Commit

Permalink
Bumped poetry version
Browse files Browse the repository at this point in the history
  • Loading branch information
MatsMoll committed Dec 27, 2021
1 parent 9d3c53f commit 884fdab
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,25 @@ await (DataImporters.data_set(DataSets.IRIS)
.export_model(Exporters.aws_s3(...))
```

## Predict
```python
ModelLoaders
.aws_s3("path/to/model", s3_config)
.import_data(
DataImporters.sql(sql_url, sql_query)
)
.predict()
```

## Extract result
```python
ModelLoaders
.aws_s3(...)
.import_data(...)
.predict()
.extract(prediction_as="target", metadata=['entry_id'], exporter=DataExporters.disk("predictions.csv"))
```

## Examples
An example of the IRIS data set which trains a model to perfection

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "benderml"
version = "0.1.4"
version = "0.1.5"
description = "A Python package that makes ML processes easier, faster and less error prone"
authors = ["Mats E. Mollestad <[email protected]>"]
license = "Apache-2.0"
Expand Down

0 comments on commit 884fdab

Please sign in to comment.