madeleineudell / madeleineudell/ParallelSparseRegression.jl
Making params optional broke examples
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 12
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
```
m,n,p = 100,20,.1
A = sprand(m,n,p)
x0 = Base.shmem_randn(n)
b = A*x0
rho = 1
quiet = false
maxiters = 100
params = Params(rho,quiet,maxiters)
z = nnlsq(A,b; params=params)
```
Running the above file returns now:
```
ERROR: params not defined
```
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
Reproduce the displayed Julia example, then inspect the nnlsq and Params entry points to trace why params is reported undefined. Done when the example runs without that error and the regression behavior is covered by a test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100