Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump sklearn2pmml from 0.110.0 to 0.111.1 in /pmml #36

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 29, 2024

Bumps sklearn2pmml from 0.110.0 to 0.111.1.

Changelog

Sourced from sklearn2pmml's changelog.

0.111.0

Breaking changes

  • Assume re as the default regular expression (RE) flavour.

  • Removed support for multi-column mode from StrngNormalizer class. String transformations are unique and rare enough, so that they should be specified on a column-by-column basis.

New features

  • Added MatchesTransformer.re_flavour and ReplaceTransformer.re_flavour attributes. The Python environment allows to choose between different RE engines, which vary by RE syntax to a material degree. Unambiguous identification of the RE engine improves the portability of RE transformers between applications (train vs. deployment) and environments.

Supported RE flavours:

RE flavour Implementation
pcre PCRE package
pcre2 PCRE2 package
re Built-in re module

PMML only supports Perl Compatible Regular Expression (PCRE) syntax.

It is recommended to use some PCRE-based RE engine on Python side as well to minimize the chance of "communication errors" between Python and PMML environments.

  • Added sklearn2pmml.preprocessing.regex.make_regex_engine(pattern, re_flavour) utility function.

This utility function pre-compiles and wraps the specified RE pattern into a sklearn2pmml.preprocessing.regex.RegExEngine object.

The RegExEngine class provides matches(x) and replace(replacement, x) methods, which correspond to PMML's matches and replace built-in functions, respectively.

For example, unit testing a RE engine:

from sklearn2pmml.preprocessing.regex import make_regex_engine
regex_engine = make_regex_engine("B+", re_flavour = "pcre2")
assert regex_engine.matches("ABBA") == True
assert regex_engine.replace("c", "ABBA") == "AcA"

See SkLearn2PMML-228

  • Refactored StringNormalizer.transform(X) and SubstringTransformer.transform(X) methods to support Pandas' Series input and output.

See SkLearn2PMML-434

... (truncated)

Commits
  • a4dbb6f Updated version information
  • 4ca21ff Added logging configuration
  • 8ca1d9f Fixed evaluation environments
  • 0d5c489 Reordered classes
  • 0c23138 Updated JPMML-SkLearn dependency
  • a03e848 Updated documentation
  • f975d7c Updated JPMML-SkLearn dependency
  • 694d829 Updated test resources
  • 954a62c Fixed commit 2e583e9ac0
  • 2e583e9 Set the default regular expression flavour to 're'
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [sklearn2pmml](https://github.com/jpmml/sklearn2pmml) from 0.110.0 to 0.111.1.
- [Changelog](https://github.com/jpmml/sklearn2pmml/blob/master/NEWS.md)
- [Commits](jpmml/sklearn2pmml@0.110.0...0.111.1)

---
updated-dependencies:
- dependency-name: sklearn2pmml
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner October 29, 2024 18:11
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 29, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 5, 2024

Superseded by #41.

@dependabot dependabot bot closed this Dec 5, 2024
@dependabot dependabot bot deleted the dependabot/pip/pmml/sklearn2pmml-0.111.1 branch December 5, 2024 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants