Allow `Holdout(0.8)` instead of `Holdout(fraction_train=0.8)`, etc

Open
#1,085 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
58/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
julia

Research direction

Start by reading the resampling strategy definitions and their constructor tests to see how Holdout and the other strategies currently accept keyword arguments. Update the constructors to support the shorthand positional form while retaining the existing form. Done when Holdout(0.8) and equivalent shorthand forms for the other strategies are covered by tests.

Written by the indexing model from the issue text.

Description

Ditto the other resampling strategies.

Dominant language
Julia
Stars
164
Forks
46
Avg merge
23h 18m
Merged PRs (30d)
3

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JuliaAI/MLJBase.jl

All issues in JuliaAI/MLJBase.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.