v0.5.0
BetaML v0.5.0
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 BetaMLto access it - The Utils module has been split in different files
Stochasticity management
- Added the parameter
rngto all stochastic models to allow fine-tuning of the stochasticity/replicability trade-off - Added function
generateParallelRngsto allow repeteable results indipendently from the number of thread used - Extended
Random.shufflefunction to allow multiple matrices and specify the dimension over which to shuffle
Utilities (BetaML.Utils)
- Added
dimsandcopyparameters topartition - Added
crossValidation, with a user defined function/do block and configurable sampler (SamplerWithData{T <: AbstractDataSampler}) - Added
ConfusionMatrix - Added the
pool1dactivation function
Other
- Improved the
gridinitialisation 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])