Skip to content

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 19 Apr 21:03
· 355 commits to master since this release

BetaML v0.5.0

Diff since v0.4.1

What’s new in v0.5 (compared to 0.4.1):

Documentation

  • Extensive step-by-step tutorial to BetaML algorithms (and in a certain sense to ML and Julia in general), with comparisons with Clustering.jl, GaussianMixtures.jl, Flux.jl and DecisionTree.jl packages;
  • Added option to "preview" the documentation without running the code in the tutorial (push!(ARGS,"preview"); include("make.jl"))

MLJ API

  • Integration with the MLJ API. The following models have been made available to the MLJ framework : PerceptronClassifier, KernelPerceptronClassifier, PegasosClassifier, DecisionTreeClassifier, DecisionTreeRegressor, RandomForestClassifier, RandomForestRegressor, KMeans, KMedoids, GMMClusterer, MissingImputator

Package reorganisation

  • All the functionality of the different sub-modules is now re-exported at the root level, so the user needs just to using BetaML to access it
  • The Utils module has been split in different files

Stochasticity management

  • Added the parameter rng to all stochastic models to allow fine-tuning of the stochasticity/replicability trade-off
  • Added function generateParallelRngs to allow repeteable results indipendently from the number of thread used
  • Extended Random.shuffle function to allow multiple matrices and specify the dimension over which to shuffle

Utilities (BetaML.Utils)

  • Added dims and copy parameters to partition
  • Added crossValidation, with a user defined function/do block and configurable sampler (SamplerWithData{T <: AbstractDataSampler})
  • Added ConfusionMatrix
  • Added the pool1d activation function

Other

  • Improved the grid initialisation for clusters
  • Updated the JOSS paper
  • New package dependencies: StableRNGs and ForceImport
  • Several bugfixes, optimisations and updated dependencies (see the commit log for details)

Closed issues:

  • Avoid observation-by-observation construction of UnivariateFinite objects in MLJ interface (#19)
  • MLJ interface: fit should not mutate model fields (#20)

Merged pull requests:

  • CompatHelper: bump compat for "MLJModelInterface" to "1.0" (#21) (@github-actions[bot])