v0.5.0
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 toinfo_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
, andimplemented_operations
(fit
,predict
,inverse_transform
, etc)
(#36,
#37,
#38) -
(Enhancement) The
MLJBase.table
andMLJBase.matrix
operations
are now direct wraps of the correspondingTables.jl
operations for
improved performance. In particular
MLJBase.matrix(MLJBase.table(A))
is essentially a non-operation,
and one can passMLJBase.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 anMLJTask
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 vectory
, 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
==
forMLJType
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 makecoerce
more convenient. -
(Enhancement) Add new method
unpack
for splitting tables, as iny, X = unpack(df,==(:target),!=(:dummy))
. See doc-string for details. -
(Bug fix) Remove type piracy in get/setproperty! (#30)