What's Changed
Added
to_jsonandfrom_jsonmethods now also natively support (de)serialization to/from
files and file-like objects
Changed
- Instead of requiring already read string representations of json files,
.from_json
now also supports file paths as argument and will read the file itself from_jsonnow strictly expects the source as a positional argumentto_jsonnow acceptskwargsand passes them tojson.dumps
Fixed
- Crash in
simulate_experimentwhen calculating cumulative best values for
batch_size>1 Campaign.allow_*flags now properly take into account recommendation caching- The campaign recommendation cache is now properly invalidated during context changes
Merges Pull Requests
- Fix Numerical Test Failures by @Scienfitz in #639
- Fix cumulative best in simulation by @Scienfitz in #643
- Delete backtesting Transfer Learning example by @AVHopp in #647
- Make
allow_*flags work with caching by @AdrianSosic in #655 - Post-Release 0.14.0 Fixes by @Scienfitz in #646
- Make
.from_jsonAccept File Paths by @Scienfitz in #653 - Add generic parameters to
to_json()method to be funneled tojson.dumps()by @dasmy in #656 - Release 0.14.1 by @Scienfitz in #659
Full Changelog: 0.14.0...0.14.1