Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
vruusmann committed Aug 5, 2024
1 parent e85eb76 commit 3ab1489
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 3 deletions.
34 changes: 34 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,37 @@
# 0.110.0 #

## Breaking changes

None.

## New features

* Added `pmml_schema` parameter to the `sklearn2pmml.sklearn2pmml(estimator, pmml_path)` utility function.

This parameter allows downgrading PMML schema version from the default 4.4 version to any 3.X or 4.X version.
However, the downgrade is "soft", meaning that it only succeeds if the in-memory PMML document is naturally compatible with the requested PMML schema version.
The downgrade fails if there are structural changes needed.

Exprting a pipeline into a PMML schema version 4.3 document:

``` python
from sklearn2pmml import sklearn2pmml

pipeline = Pipeline([...])
pipeline.fit(X, y)

sklearn2pmml(pipeline, "Pipeline-v43.pmml", pmml_schema = "4.3")
```

See [SkLearn2PMML-423](https://github.com/jpmml/sklearn2pmml/issues/423#issuecomment-2264552688)

Complex downgrades will be implemented based on customer needs.

## Minor improvements and fixes

None.


# 0.109.0 #

## Breaking changes
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ This package is a thin Python wrapper around the [JPMML-SkLearn](https://github.

# News and Updates #

The current version is **0.109.0** (19 June, 2024):
The current version is **0.110.0** (5 August, 2024):

```
pip install sklearn2pmml==0.109.0
pip install sklearn2pmml==0.110.0
```

See the [NEWS.md](https://github.com/jpmml/sklearn2pmml/blob/master/NEWS.md#01090) file.
See the [NEWS.md](https://github.com/jpmml/sklearn2pmml/blob/master/NEWS.md#01100) file.

# Prerequisites #

Expand Down

0 comments on commit 3ab1489

Please sign in to comment.