JuliaAI / JuliaAI/MLJLinearModels.jl
Warning: f_tol is deprecated.
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 86
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
We are now getting a deprecation warning when using some of the linear models in this package, e.g. from the example:
n = 500
p = 5
X = randn(n, p)
y = 2 * (rand(n) .< 0.5) .- 1 # entries are +-1
λ = 0.5
logistic = LogisticRegression(λ)
theta = fit(logistic, X, y)
leads to:
Warning: f_tol is deprecated. Use f_abstol or f_reltol instead. The provided value (0.0001) will be used as f_reltol.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the LogisticRegression example with fit(logistic, X, y) to reproduce the f_tol deprecation warning. Trace where the linear-model fitting path supplies f_tol, then verify that the example runs without the warning while preserving the intended tolerance behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100