Skip to content

Releases: VowpalWabbit/py-vowpal-wabbit-next

v0.7.0

05 Oct 22:20
a70182f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.0...v0.7.0

v0.6.0

24 Jul 01:06
89c4424
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.5.0...v0.6.0

v0.5.0

13 Jun 20:26
8a8ba49
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.1...v0.5.0

v0.4.1

09 Jun 20:35
3e25f27
Compare
Choose a tag to compare

The purpose of this release was to address a performance issue when serializing models. I observed an improvement from 60s to 2s for a 190MB model.

What's Changed

Full Changelog: v0.4.0...v0.4.1

0.4.0

14 Apr 16:07
e7bd23d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v0.4.0

0.3.0

20 Mar 18:02
e1fa1ba
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.0...v0.3.0

0.2.0

02 Mar 18:55
7f8728c
Compare
Choose a tag to compare

What's Changed

VowpalWabbit Version

The internal VowpalWabbit commit used has been updated to commit 18d33aa which is includes these changes.

Features

  • Some labels can now be created, extracted, and updated, in the Example object. The label types available are: SimpleLabel, CBLabel, CSLabel, and MulticlassLabel. (#48, #55)

    import vowpal_wabbit_next as vw
    workspace = vw.Workspace()
    parser = vw.TextFormatParser(workspace)
    example = parser.parse_line("1 | a b c")
    print(type(example.get_label()))
    print(example.get_label().label)

    Output:

    <class 'vowpal_wabbit_next._core.SimpleLabel'>
    1.0
    
  • Metrics are now accessible via Workspace.metrics (#53)

    import vowpal_wabbit_next as vw
    workspace = vw.Workspace(record_metrics=True)
    print(workspace.metrics)

    Output:

    {'total_learn_calls': 0, 'total_log_calls': 0, 'total_predict_calls': 0}
    
  • Exposing feature names in the Workspace.json_weights() can now be configured easier in the Workspace constructor. (#53)

    import vowpal_wabbit_next as vw
    workspace = vw.Workspace(record_feature_names=True)
    parser = vw.TextFormatParser(workspace)
    workspace.learn_one(parser.parse_line("1 | a b c"))
    print(workspace.json_weights(include_feature_names=True))
  • The readable model format from VW is now accessible via Workspace.readable_model (#54)

  • JSON format parsing is now accessible, see JsonFormatParser and JsonFormatReader (#64)

Fixes

  • fix: enable audit in dsjson when required flags are passed (#49)
  • fix: ensure label that was passed in remains on the example after learn (#58)
  • fix: merging deltas correctly uses adaptive weights, update submodule (#61)

Other changes

  • docs: Add how-to for integrating with vw-estimators (#50)

  • docs: add link to vw-estimators (#52)

  • docs: fix label constructor docs, globally collpase init into class doc (#51)

  • build: single source of truth for version (#57)

  • docs: Update docs around label types (#59)

  • feat: add hidden accessor for tag (#60)

  • refactor: make args default to an empty list in Workspace constructor (#62)

    import vowpal_wabbit_next as vw
    # Before
    workspace = vw.Workspace([])
    # After
    workspace = vw.Workspace()
  • test: fix warnings in test_delta_aggregate_check_all test (#63)

  • docs: fix edit button (#65)

  • chore: Update version and readme with example (#67)

Full Changelog: v0.1.1...v0.2.0

0.1.1

07 Feb 16:37
f572740
Compare
Choose a tag to compare

This release fixes the MacOS ARM wheels.

What's Changed

Full Changelog: v0.1.0...v0.1.1

0.1.0

05 Feb 21:54
e11894d
Compare
Choose a tag to compare

This is the first release of a new set of VowpalWabbit Python bindings. The goal of these is to supersede the existing set of bindings and give an opportunity to improve or fix API issues. This initial release is already quite useful, but is still missing a number of things that planned to be added.

Install

pip install vowpal-wabbit-next

Features