Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For a 0.14.0 release #362

Merged
merged 51 commits into from
Feb 8, 2021
Merged

For a 0.14.0 release #362

merged 51 commits into from
Feb 8, 2021

Conversation

ablaom
Copy link
Member

@ablaom ablaom commented Feb 8, 2021

  • (breaking) Change @load to return a model type, instead of
    model instance. New usage example: Tree = @load DecisionTreeClassifier; tree = Tree() or, in one line, tree = (@load DecisionTreeClassifier)(). Improve the reliability of
    @load when called outside global scope (e.g., from function) and
    eliminate need for scope=... flag. Drop experimental @loadcode
    macro as essentially redundant (Change @load to return a type instead of instance. Addition of interactive version, @iload #358 @ablaom)

  • (experimental) Add interactive version @load, called @iload,
    to prompt user for permission to automatically add packages to
    user's current environment (automatic in non-interactive version
    with add=true flag) and to display choices for models with
    ambiguous names (resolved with pkg=... flag in non-interactive
    case) (Add an interactive version of @load #348 Change @load to return a type instead of instance. Addition of interactive version, @iload #358 @ablaom)

  • (new models) Add MultitargetLinearRegressor and
    MultitargetRidgeRegressor from MultivariatStats to the registry
    (multitarget functionality was previously bundled into the models
    LinearRegressor and RidgeRegressor in versions of
    MLJMultivariateStatsInterface preceding 0.2). This will be
    breaking for existing users who use LinearRegressor and
    RidgeRegressor on multitarget problems.

  • (new models) Add the new models MultitargetKNNClassifier and
    MultitargetKNNRegressor provided by NearestNeighborModels to the
    model registry (see below)

  • (code re-organization) Drop NearestNeighbors interface (last
    Requires.jl-lazily loaded interface) in favour of registration of
    new package
    NearestNeighborModels.jl. This
    is mildly breaking for general users who refer explicitly to the
    package_name or load_path traits of KNNRegressor or
    KNNClassifier (or corresponding entries in the model registry) as
    these have changed to reflect the change. It will also break some
    users' environments, generally resolved by adding
    NearestNeighborModels (Disintegration of MLJModels #244, @OkonSamuel @ablaom).

  • (improvement) Have OneHotEncoder check that each categorical
    column in the input passed to transform has a pool matching that
    encountered during fit (Check onehotencoding category level #360 @i-aki-y)

ablaom and others added 30 commits January 20, 2021 10:12
forgotten
forgotten
Tweak behaviour of localmodeltypes to resolve #356
finish moving appropriate @load code into macro's expression object
ablaom and others added 21 commits January 28, 2021 14:36
* Add a check to enuser that fitted and transforming features have the same category levels in OneHotEncoder
* Add a test case to check transform function throw error when detect
level mismatch
* Add a test case for `ingore` parameter that was missin
Code re-organization and registry improvements
Change @load to return a type instead of instance. Addition of interactive version, @iload
@ablaom ablaom merged commit efcafff into master Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants