SciML / SciML/LabelledArrays.jl
Create subsets with labels
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 125
- Forks
- 20
- Avg merge
- 6h 3m
- Merged PRs (30d)
- 10
Description
When working with parameter sets, often a subset of parameters are optimized, or studied in a sensitivity analysis. Extracting subsets is currently difficult with LabelledArrays.
Therefore, a subset function would be nice.
julia> zs = SLVector(a=1.0,b=2.0,c=3.0);
julia> zsSub = subset(zs, (:c,:a))
2-element SLArray{Tuple{2},Float64,1,2,(:c, :a)}:
3.0
1.0
Contributor guide
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
No file or test is named. Start by locating the existing LabelledArrays APIs for labelled arrays and parameter selection, then reproduce the Julia example in the issue. Done means a subset function can select labels such as (:c, :a), preserve that requested order, and return the corresponding labelled array.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100