-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Difficulty: IntermediateHackathon projects with intermediate difficultyHackathon projects with intermediate difficultyFsLab Hackathon 2023Implementation projects for the 2023 FsLab HackathonImplementation projects for the 2023 FsLab HackathonStatus: Available
Description
Description
This is a 'glue' function that reduces friction between usage of FSharp.Stats and Plotly.NET.
When working with distributions, it is quite common to visualize either properties (e.g. PDF, CDF) or a sample. This would ideally work in a smooth pipeline, where a Distribution.toChart function transforms the input distribution to a chart, which can then further be used in the pipeline for additional styling, etc. before display
(the following is just a rough draft, might be not directly possible to implement it like this)
Distributions.Continuous.Normal.Init 500. 20.
|> Distribution.toPDFChart(
Range = [400. .. 600.]
)
|> Chart.withXAxisStyle(...)
|> Chart.withYAxisStyle(...)Pointers
- The FSharp.Stats documentation has many examples where plots are created for distributions manually.
Metadata
Metadata
Assignees
Labels
Difficulty: IntermediateHackathon projects with intermediate difficultyHackathon projects with intermediate difficultyFsLab Hackathon 2023Implementation projects for the 2023 FsLab HackathonImplementation projects for the 2023 FsLab HackathonStatus: Available
Type
Projects
Status
Status: Available
