Skip to content

v0.20.0

Compare
Choose a tag to compare
@github-actions github-actions released this 06 Apr 01:02
e66b877

MLJBase v0.20.0

Diff since v0.19.8

  • Relax and simplify scitype checks when constructing machines. The existing fit_data_scitype model trait encodes all allowed fit "scitype" signatures, and scitype checks now only consider this trait. In particular, an appropriately implemented transformer can now be passed a training target without tripping the type checker. (#699, #732) @pazzo83 @ablaom
  • (enhancement, breaking) Redesign the serialization API to: (i) Allow use of arbitrary serialization packages for core serialization; (ii) Ensure serialization plays nicely with model composition and meta-algorithms like tuning; (iii) Ensure all traces of training data are absent in serialised models (not previously true for all composite models or if cache=true in machine constructor). Models with non-persistent learned parameters (fitresult) implement a modified model API that is documented here. The new user workflow will shortly appear in the MLJ manual under "Machines". (JuliaAI/MLJSerialization.jl#15, #733, JuliaAI/MLJSerialization.jl#16) @olivierlabayle

Closed issues:

  • Relax any checks that block transformers needing to see target in training. (#699)

Merged pull requests: