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

Update to MLJBase 0.4.0 #212

Merged
merged 12 commits into from
Aug 21, 2019
Merged

Update to MLJBase 0.4.0 #212

merged 12 commits into from
Aug 21, 2019

Conversation

ablaom
Copy link
Member

@ablaom ablaom commented Aug 21, 2019

The changes are mostly concerned with adjusting model trait definitions, as described in this MLJBase PR. Changes relevant to the general user:

  • Doc strings and the manual have been revised and updated. The manual includes a new section "Tuning models", and extra material under "Learning networks" explaining how to export learning networks as stand-alone models using the @from_network macro.

  • Improved checks and error-reporting for binding models to data in machines.

  • (Breaking) CSV is now an optional dependency, which means you now need to import CSV before you can load tasks with load_boston(), load_iris(), load_crabs(), load_ames(), load_reduced_ames()

  • Added schema method for tables (re-exported from ScientificTypes.jl). Returns a named tuple with keys :names, :types and :scitypes.

  • (Breaking) Eliminate scitypes method. The scientific types of a table are returned as part of ScientificTypes schema method (see above)

@ablaom
Copy link
Member Author

ablaom commented Aug 21, 2019

Once MLJModels 0.3.0 is registered, this PR should pass travis and be ready to merge.

@codecov-io
Copy link

codecov-io commented Aug 21, 2019

Codecov Report

Merging #212 into master will decrease coverage by 0.27%.
The diff coverage is 63.85%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #212      +/-   ##
==========================================
- Coverage   69.67%   69.39%   -0.28%     
==========================================
  Files          20       20              
  Lines        1596     1552      -44     
==========================================
- Hits         1112     1077      -35     
+ Misses        484      475       -9
Impacted Files Coverage Δ
src/networks.jl 57.14% <ø> (ø) ⬆️
src/loading.jl 78.08% <ø> (-1.09%) ⬇️
src/parameters.jl 92.15% <ø> (ø) ⬆️
src/loss_functions_interface.jl 47.05% <0%> (ø) ⬆️
src/tasks.jl 95.23% <100%> (-1.38%) ⬇️
src/ensembles.jl 73.07% <100%> (+0.94%) ⬆️
src/tuning.jl 71.42% <25%> (+0.37%) ⬆️
src/MLJ.jl 71.42% <33.33%> (-28.58%) ⬇️
src/measures.jl 53.89% <35.71%> (-2.52%) ⬇️
src/builtins/ridge.jl 56% <50%> (-4%) ⬇️
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2b28a2d...3cb9417. Read the comment docs.

@ablaom ablaom merged commit b64d2b0 into master Aug 21, 2019
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