Skip to content

v0.5.0

Compare
Choose a tag to compare
@julia-tagbot julia-tagbot released this 10 Sep 08:15
· 2253 commits to master since this release
v0.5.0
3634e1b

v0.5.0

  • Bump ScientificTypes requirement to v0.2.0

  • (Enhancement) The performance measures API (built-in measures +
    adaptor for external measures) from MLJ has been migrated to MLJBase.
    MLJ.

  • (Breaking) info, which returns a dictionary (needed for TOML
    serialization) is renamed to info_dic. In this way "info" is
    reserved for a method in MLJModels/MLJ that returns a
    more-convenient named-tuple

  • (Breaking) The is_probabilistic model trait is replaced with
    prediction_type, which can have the values :deterministic,
    :probabilistic or :interval, to allow for models predicting real
    intervals, and for consistency with measures API.

  • (Bug fix, mildly breaking) The package_license model trait is now included in
    info_dict in the case of unsupervisd models.

  • (Enhancement, mildly breaking) Add new model traits hyperparameters,
    hyperparameter_types, docstring, and implemented_operations (fit, predict, inverse_transform, etc)
    (#36,
    #37,
    #38)

  • (Enhancement) The MLJBase.table and MLJBase.matrix operations
    are now direct wraps of the corresponding Tables.jl operations for
    improved performance. In particular
    MLJBase.matrix(MLJBase.table(A)) is essentially a non-operation,
    and one can pass MLJBase.matrix the keyword argument
    transpose=... .

  • (Breaking) The built-in dataset methods load_iris, load_boston,
    load_ames, load_reduced_ames, load_crabs return a raw
    DataFrame, instead of an MLJTask object, and continue to require
    import CSV to become available. However, macro versions
    @load_iris, etc, are always available, automatically triggering
    import CSV; these macros return a tuple (X, y) of input
    DataFrame and target vector y, with scitypes appropriately
    coerced. (MLJ
    #224)

  • (Enhancement) selectrows now works for matrices. Needed to allow
    matrices as "node type" in MLJ learning networks; see MLJ
    #209
    .

  • (Bug) Fix problem with == for MLJType objects
    (#35)

  • (Breaking) Update requirement on ScientficTypes.jl to v0.2.0 to
    mitigate bug with coercion of column scitypes for tables that are
    also AbstractVectors, and to make coerce more convenient.

  • (Enhancement) Add new method unpack for splitting tables, as in y, X = unpack(df,==(:target),!=(:dummy)). See doc-string for details.

  • (Bug fix) Remove type piracy in get/setproperty! (#30)