rust-ml / rust-ml/linfa

gradient tolerance and alpha

Open
#344 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
4.7k
Forks
334
Avg merge
39m
Merged PRs (30d)
1

Description

Hi,
who can kindly tell the meaning of "gradient_tolerance" and "alpha" parameters ? what's the default value for them ? which one is the learning rate ? I cannot not find the usage from linfa-logistic documentation.

let model = LogisticRegression::default()
        .max_iterations(max_iterations)
        .gradient_tolerance(0.0001)
        .alpha(0.001)
        .fit(&train)
        .expect("Cannot train model");

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start with the linfa-logistic documentation and the LogisticRegression builder methods shown in the issue. Document the meanings and default values of gradient_tolerance and alpha, and clearly identify which parameter controls the learning rate.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation, machine-learning
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.