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

Add MLJ.{un,}supervisedtask methods #115

Closed
wants to merge 3 commits into from

Conversation

giordano
Copy link
Member

Address second part of #109. This is based on #114. No tests yet.

In addition:
* fix output type of `coerce(types, X)`
* do not convert `AbstractVector{<:Integer}` to `Vector{Int}`
* add more tests
* check if a vector already has the requested scitype in the discrete case
@ablaom ablaom marked this pull request as ready for review April 30, 2019 23:37
@ablaom
Copy link
Member

ablaom commented May 1, 2019

This looks good.

Can we call supervisedtask just supervised and unsupervisedtask just unsupervised to save typing and avoid composite names. A bit a code that reads task = supervised(...) is sufficiently suggestive, I think, no?

@ablaom
Copy link
Member

ablaom commented May 2, 2019

@giordano Sorry, I just pushed these small changes directly from my local branch to finish this off today. Many thanks.

@ablaom ablaom closed this May 2, 2019
@giordano giordano deleted the type-coercion-tasks branch May 2, 2019 08:39
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