Recent Releases of UncertainData.jl
UncertainData.jl - v0.16.0
UncertainData v0.16.0
Merged pull requests:
- allow current IntervalArithmetic version (#171) (@JeffreySarnoff)
Scientific Software - Peer-reviewed
- Julia
Published by github-actions[bot] over 4 years ago
UncertainData.jl - v0.15.0
UncertainData v0.15.0
Closed issues: - Tests sometimes fail? (#143) - Tag v0.14 (#168)
Merged pull requests: - CompatHelper: bump compat for "Distributions" to "0.25" (#170) (@github-actions[bot])
Scientific Software - Peer-reviewed
- Julia
Published by github-actions[bot] over 4 years ago
UncertainData.jl - v0.14.0
UncertainData v0.14.0
Closed issues: - Register v0.13.1 (#166)
Merged pull requests: - Fix stochastic bugs when sampling using StrictlyIncreasing constraints (#167) (@kahaaga)
Scientific Software - Peer-reviewed
- Julia
Published by github-actions[bot] almost 5 years ago
UncertainData.jl - v0.13.1
UncertainData v0.13.1
Closed issues: - Register v0.13 (#164)
Merged pull requests: - CompatHelper: bump compat for "IntervalArithmetic" to "0.18" (#165) (@github-actions[bot])
Scientific Software - Peer-reviewed
- Julia
Published by github-actions[bot] almost 5 years ago
UncertainData.jl - v0.13.0
UncertainData v0.13.0
Closed issues: - Register v0.12 (#162)
Merged pull requests: - Bug fix sequential resampling (#163) (@kahaaga)
Scientific Software - Peer-reviewed
- Julia
Published by github-actions[bot] almost 5 years ago
UncertainData.jl - v0.12.0
UncertainData v0.12.0
Closed issues: - Register v0.11.0 (#160)
Merged pull requests:
- Bugfix in resample UncertainIndexValueDataset (#161) (@kahaaga)
Scientific Software - Peer-reviewed
- Julia
Published by github-actions[bot] almost 5 years ago
UncertainData.jl - v0.11.0
UncertainData v0.11.0
Closed issues: - Register v0.10.4 (#157)
Merged pull requests:
- Newer version of Plots uses xerror/yerror instead of xerr/yerr (#159) (@kahaaga)
Scientific Software - Peer-reviewed
- Julia
Published by github-actions[bot] almost 5 years ago
UncertainData.jl - v0.10.4
UncertainData v0.10.4
Closed issues: - Register v0.10.3 (#141)
Merged pull requests: - CompatHelper: bump compat for "Unitful" to "0.18" (#142) (@github-actions[bot]) - CompatHelper: bump compat for "RecipesBase" to "0.8" (#147) (@github-actions[bot]) - Install TagBot as a GitHub Action (#148) (@JuliaTagBot) - CompatHelper: bump compat for "Distributions" to "0.23" (#149) (@github-actions[bot]) - CompatHelper: bump compat for "StatsBase" to "0.33" (#150) (@github-actions[bot]) - CompatHelper: bump compat for "IntervalArithmetic" to "0.17" (#151) (@github-actions[bot]) - CompatHelper: bump compat for "HypothesisTests" to "0.10" (#152) (@github-actions[bot]) - Tagbot update (#156) (@kahaaga)
Scientific Software - Peer-reviewed
- Julia
Published by github-actions[bot] about 5 years ago
UncertainData.jl - v0.10.3
v0.10.3 (2019-11-19)
Closed issues:
- Register v0.10.2 (#137)
- Control how bins are represented when using
BinnedResampling(#135) - Register v0.10.1 (#134)
Merged pull requests:
- Release 0.10.3 (#138) (kahaaga)
Scientific Software - Peer-reviewed
- Julia
Published by julia-tagbot[bot] over 6 years ago
UncertainData.jl - v0.10.2
UncertainData.jl v0.10.2
Improvements
- The user can now control how each bin is represented when using
BinnedResampling. One can now provideBinnedResampling{UncertainScalarKDE},BinnedResampling{UncertainScalarPopulaton}orBinnedResampling{RawValues}. - Explicit
binmethods for binning both scalar valued data and uncertain data.
Documentation
- Added documentation for binning methods.
- Improved documentation for
UncertainScalarKDE.
Scientific Software - Peer-reviewed
- Julia
Published by julia-tagbot[bot] over 6 years ago
UncertainData.jl - v0.10.1
v0.10.1 (2019-11-13)
Closed issues:
- Register v0.9.3 (#127)
Merged pull requests:
Scientific Software - Peer-reviewed
- Julia
Published by julia-tagbot[bot] over 6 years ago
UncertainData.jl - v0.10.0
UncertainData.jl v0.10.0
Improvements
- The
resamplefamily of methods for vectors now dispatches onAbstractVectors, which allows more flexibility. Now, for exampleLArrays fromLabelledArrays.jlalso can be resampled. - Relax
resample(x::Real)toresample(x::Number).
Scientific Software - Peer-reviewed
- Julia
Published by julia-tagbot[bot] over 6 years ago
UncertainData.jl - Release v0.9.3
UncertainData.jl v0.9.3
dimensionis no longer exported.
Scientific Software - Peer-reviewed
- Julia
Published by julia-tagbot[bot] over 6 years ago
UncertainData.jl - v0.9.2
UncertainData.jl v0.9.2
New features
- Added
SensitivityTestsmodule defining the abstract typeSensitivityTest.
Scientific Software - Peer-reviewed
- Julia
Published by julia-tagbot[bot] over 6 years ago
UncertainData.jl - v0.9.1
v0.9.1 (2019-11-05)
Closed issues:
- Register v0.8.2 (#118)
Merged pull requests:
- Release 0.9.1 (#122) (kahaaga)
Scientific Software - Peer-reviewed
- Julia
Published by julia-tagbot[bot] over 6 years ago
UncertainData.jl - v0.9.0
Release v0.9.0
New features
- Added
interpolate_and_binfunction. - Added
InterpolateAndBintype. - Added
resample(inds, vals, resampling::InterpolateAndBin{Linear})method, which interpolates and binsindsandvalsonto an interpolation grid, then bins and summarises the bins. Returns the binned values. - Added
resample(x::AbstractUncertainIndexValueDataset, resampling::InterpolateAndBin{Linear})method. Draws a single realisation of both the indices and values ofxand orders them sequentially according to the indices (assuming independent points). Then, interpolate, bin and summarise bins. - Added
binandbin!functions. - Added
bin_meanfunction. - Added
fill_nans,fill_nans!andinterpolate_nansfunctions for dealing with data containingNaNs. - Added
findall_nan_chunksfunction for identifying consecutiveNaNs in a dataset. - Added
RandomSequencesresampling scheme.
Scientific Software - Peer-reviewed
- Julia
Published by julia-tagbot[bot] over 6 years ago
UncertainData.jl - Release v0.8.4
Release v0.8.4
- Update DOI for paper for JOSS publication
Scientific Software - Peer-reviewed
- Julia
Published by kahaaga over 6 years ago
UncertainData.jl - Release v0.8.3
Release v0.8.3
- A release to trigger Zenodo archiving.
Scientific Software - Peer-reviewed
- Julia
Published by kahaaga over 6 years ago
UncertainData.jl - Release v0.8.2
Uncertaindata.jl v0.8.2
New features
- Added
resamplemethod forBinnedWeightedResamplingscheme. - Added
AbstractBinnedResamplingfor binned resamplings. - Added
AbstractBinnedUncertainValueResamplingabstract type for binnings where the values in each bin is represented by an uncertain value.BinnedResamplingandBinnedWeightedResamplingare subtypesAbstractBinnedUncertainValueResampling. - Added
AbstractBinnedSummarisedResamplingabstract type for binnings where the values in each bin are summarised to a single value.BinnedMeanResamplingandBinnedMeanWeightedResamplingare subtypesAbstractBinnedResampling.
Improvements
- Added more tests for binned resampling schemes.
Scientific Software - Peer-reviewed
- Julia
Published by julia-tagbot[bot] over 6 years ago
UncertainData.jl - Release v0.8.1
Uncertaindata.jl v0.8.1
New features
- Added
UncertainValueDataset,UncertainIndexDataset, andUncertainIndexValueDatasetconstructors for vectors of numbers (they get converted toCertainValues).
Bug fixes
rand(x::CertainValue, n::Int)now returns a length-narray withxrepeatedntimes.
Scientific Software - Peer-reviewed
- Julia
Published by julia-tagbot[bot] over 6 years ago
UncertainData.jl - Release v0.8.0
Uncertaindata.jl v0.8.0
New functionality
- Added binned resampling methods that uses
BinnedResamplingandBinnedMeanResamplingschemes.
Bug fixes
- Fixed bug where
resample!method for vectors and tuples of uncertain values didn't return the expected result.
Improvements
- Improved
resample!docs.
Scientific Software - Peer-reviewed
- Julia
Published by julia-tagbot[bot] over 6 years ago
UncertainData.jl - v0.7.0
v0.7.0 (2019-10-22)
Closed issues:
- Mathematical operations on uncertain value datasets should return uncertain value datasets (#110)
- Register v0.6.0 (#109)
- Add method
resample\(x::AbstractUncertainIndexValueDataset, resampling::SequentialResampling` (#107) - Add
SequentialResamplingtype (#106) - UncertainScalarKDE and UncertainValue constructors for
Vector{Array{\<:Real, 0}}(#105) - add
resample!for in-place resampling (#97) - Bug when resampling fitted distributions (#90)
- Mathematical operations (#28)
Merged pull requests:
- Release 0.7.0 (#111) (kahaaga)
Scientific Software - Peer-reviewed
- Julia
Published by julia-tagbot[bot] over 6 years ago
UncertainData.jl - v0.6.0
v0.6.0 (2019-10-13)
Closed issues:
- Register v0.5.1 (#104)
- Register v0.5.0 (#102)
Merged pull requests:
- Release 0.6.0 (#108) (kahaaga)
Scientific Software - Peer-reviewed
- Julia
Published by julia-tagbot[bot] over 6 years ago
UncertainData.jl - v0.5.1
UncertainData.jl v0.5.1
Bug fixes
- Strictly increasing or decreasing sequences were not always possible to construct
when using
CertainValues, becauseTruncateRangeinstances with equal minimum and maximum was constructed (not possible). It is now possible to resample with sequential constraints even with theStrictlyIncreasingandStrictlyDecreasingconstraints.
Details
v0.5.1 (2019-10-10)
Closed issues:
- Tutorial explaining the difference between point-estimates for a statistic and estimates of the statistic for uncertain datasets (#92)
- Allow population members to consist of distributions? (#54)
Merged pull requests:
- Release v0.5.1 (#103) (kahaaga)
Scientific Software - Peer-reviewed
- Julia
Published by julia-tagbot[bot] over 6 years ago
UncertainData.jl - Release v0.5.0
UncertainData.jl v0.5.0
Breaking changes
- To allow easier multiple dispatch, the
indicesfield of aUncertainIndexValueDatasetis now always an instance of a subtype ofAbstractUncertainIndexDataset. Thevaluesfield of aUncertainIndexValueDatasetis now always an instance of a subtype ofAbstractUncertainValueDataset.
New functionality
Experimental support for nested populations.
Added point-estimators for single uncertain values:
harmmean(x::AbstractUncertainValue, n::Int)geomean(x::AbstractUncertainValue, n::Int)kurtosis(x::AbstractUncertainValue, n::Int; m = mean(x))moment(x::AbstractUncertainValue, k, n::Int, m = mean(x))percentile(x::AbstractUncertainValue, p, n::Int)renyientropy(x::AbstractUncertainValue, α, n::Int)rle(x::AbstractUncertainValue, n::Int)sem(x::AbstractUncertainValue, n::Int)skewness(x::AbstractUncertainValue, n::Int; m = mean(x))span(x::AbstractUncertainValue, n::Int)summarystats(x::AbstractUncertainValue, n::Int)totalvar(x::AbstractUncertainValue, n::Int)
Added statistical estimators for pairs of uncertain values:
cov(x::AbstractUncertainValue, y::AbstractUncertainValue, n::Int; corrected::Bool = true)cor(x::AbstractUncertainValue, y::AbstractUncertainValue, n::Int)countne(x::AbstractUncertainValue, y::AbstractUncertainValue, n::Int)counteq(x::AbstractUncertainValue, y::AbstractUncertainValue, n::Int)corkendall(x::AbstractUncertainValue, y::AbstractUncertainValue, n::Int)corspearman(x::AbstractUncertainValue, y::AbstractUncertainValue, n::Int)maxad(x::AbstractUncertainValue, y::AbstractUncertainValue, n::Int)meanad(x::AbstractUncertainValue, y::AbstractUncertainValue, n::Int)msd(x::AbstractUncertainValue, y::AbstractUncertainValue, n::Int)psnr(x::AbstractUncertainValue, y::AbstractUncertainValue, maxv, n::Int)rmsd(x::AbstractUncertainValue, y::AbstractUncertainValue, n::Int; normalize = false)sqL2dist(x::AbstractUncertainValue, y::AbstractUncertainValue, n::Int)crosscor(x::AbstractUncertainValue, y::AbstractUncertainValue, n::Int; demean = true)crosscov(x::AbstractUncertainValue, y::AbstractUncertainValue, n::Int; demean = true)gkldiv(x::AbstractUncertainValue, y::AbstractUncertainValue, n::Int)kldivergence(x::AbstractUncertainValue, y::AbstractUncertainValue, n::Int)
Added
UncertainValueconstructor for distribution instances.Added
UncertainValueconstructor for (potentially nested) truncated distribution instances.Implemented
resamplemethods forNTuples of uncertain values.Added
resample(f::Function, n::Int, x::AbstractUncertainValue, args...; kwargs...)method for easy evaluation of point-estimates for single uncertain values.Added support for
Measurementinstances from Measurements.jl. These are treated as uncertain values represented by normal distibutions. Hence, they are given no extra treatment and error propagation is done by resampling, not by exact methods.The uncertain value type
UncertainScalarPopulationmay now not only have real-valued scalars as elements of the population. It can now have uncertain values as members of the population!Resampling implemented for
UncertainScalarPopulationso that we can also sample population members that are uncertain values.Implemented iteration for
UncertainScalarPopulation.
Improvements
- Improved subtyping for theoretical distributions.
- Removed redundant
resamplemethods for theUncertainDatasettype.UncertainDatasetis a subtype ofAbstractUncertainValueDatasetand has no special behaviour beyond that implemented for the abstract type, so now we just rely on multiple dispatch here.
Documentation
- Improved documentation statistical methods.
- Other minor documentation improvements.
- Improved documentation for
TruncateStd.
Bug fixes
- Fixed error in
showmethod forAbstractUncertainValue. Not subtypes ofAbstractUncertainValuehas thedistributionsfield, so that is now removed from theshowmethod.
Details
v0.5.0 (2019-10-09)
Closed issues:
- promotion when resampling (#99)
- Add single-estimate methods to
corandcovfor uncertain datasets (#95) - Improve docs for
corandcovfor uncertain datasets (#94) corandcovpoint-estimates (#93)corandcovforUncertainIndexValueDataset(#91)- resample n-tuples (#89)
- Promote scalar values to CertainValue (#88)
- Register v0.4.0 (#84)
- Register v0.3.0 (#81)
- identity
resamplefor real-valued vectors (#79) - Resample
Vector{AbstractUncertainValue}usingSamplingConstraints (#76)
Merged pull requests:
- Release 0.5.0 (#86) (kahaaga)
Scientific Software - Peer-reviewed
- Julia
Published by julia-tagbot[bot] over 6 years ago
UncertainData.jl - v0.4.0
UncertainData.jl v0.4.0
New functionality
Introduce an abstract resampling type
AbstractUncertainDataResamplingfor this package pending the implementation ofAbstractResamplingin StatsBase.jl.Added
ConstrainedResamplingresampling scheme.Resample vectors of uncertain values without constraints. Syntax:
resample(::Vector{<:AbstractUncertainValue}for single draws.resample(::Vector{<:AbstractUncertainValue}, ::Int}for multiple draws.
Resample vectors of uncertain values with constraint(s) multiple times. Syntax:
resample(::Vector{<:AbstractUncertainValue}, ::Union{SamplingConstraint, Vector{<:SamplingConstraint}}for single draws.resample(::Vector{<:AbstractUncertainValue}, ::Union{SamplingConstraint, Vector{<:SamplingConstraint}}, ::Intfor multiple draws.
Scientific Software - Peer-reviewed
- Julia
Published by julia-tagbot[bot] over 6 years ago
UncertainData.jl - v0.3.0
v0.3.0 (2019-09-12)
Closed issues:
- Register v0.2.3 (#73)
Merged pull requests:
- Update version (#82) (kahaaga)
- Release v0.3.0 (#80) (kahaaga)
- Removed manifest from repo and add to .gitignore (#78) (kahaaga)
- Update README.md (#77) (kahaaga)
Scientific Software - Peer-reviewed
- Julia
Published by julia-tagbot[bot] over 6 years ago
UncertainData.jl - v0.2.3
UncertainData.jl v0.2.3
Improvements
- Added input validation when initialising
TruncateQuantiles,TruncateRangeandTruncateStd. - Separate parameters types for
TruncateQuantilesandTruncateRange, so one can do for exampleTruncateRange(1, 8.0), instead of having to promote toFloat64. - Added validation for distribution truncation when resampling.
Scientific Software - Peer-reviewed
- Julia
Published by julia-tagbot[bot] over 6 years ago
UncertainData.jl - v0.2.2
UncertainData.jl v0.2.2
New functionality and syntax changes
Resampling vectors consisting of uncertain values (done in #61)
resample(uvals::Vector{AbstractUncertainValue}, n::Int)is now interpreted as "treatuvalsas a dataset and sample itntimes". Thus, it now behaves asresample(AbstractUncertainDataset, n::Int), returningnvectors of lengthlength(uvals), where the i-th element is a unique draw ofuvals[i].resample_elwise(uvals::Vector{AbstractUncertainValue}, n::Int)takes over the role as "sampleuvalselement-wise andntimes for each element". Returns a vector of lengthlength(uvals), where the i-th element is an-element vector of unique draws ofuvals[i].
Resampling with subtypes of AbstractUncertainValueDataset
Currently, this affects the generic UncertainDatasets, as well as the specialized
UncertainIndexDatasets and UncertainValueDatasets.
resample_elwise(uvd::AbstractUncertainValueDataset, n::Int)is now interpreted as "drawnrealisations of each value inuvd". Returns a vector of lengthlength(uvals)where the i-th element is an-element vector of unique draws ofuvals[i]. This works forUncertainDatasets,UncertainIndexDatasets, andUncertainValueDatasets.resample_elwise(uvd::AbstractUncertainValueDataset, constraint::Union{SamplingConstraint, Vector{SamplingConstraint}}, n::Int)is now interpreted as "drawnrealisations of each value inuvd, subjecting each value inuvdto some samplingconstraint(s) during resampling". Returns a vector of lengthlength(uvals)where the i-th element is an-element vector of unique draws ofuvals[i], where the support ofuvals[i]has been truncated by the providedconstraint(s).
Scientific Software - Peer-reviewed
- Julia
Published by julia-tagbot[bot] over 6 years ago
UncertainData.jl - Release v0.2.1
UncertainData.jl v0.2.1
New functionality
merge(uvals::Vector{<:AbstractUncertainValue}; n = 1000)now makes it possible to combine many uncertain values of different into one uncertain value represented by a kernel density estimate. This is achieved by resampling each of the valuesntimes, then pooling the draws and estimating a total distribution using KDE.merge(uvals::Vector{<:AbstractUncertainValue}; weights::Weights n = 1000),merge(uvals::Vector{<:AbstractUncertainValue}; weights::AnalyticalWeights n = 1000)andmerge(uvals::Vector{<:AbstractUncertainValue}; weights::ProbabilityWeights n = 1000)merges uncertain values by resampling them proportionally toweights, then pooling the draws and performing KDE. These are all functionally equivalent, but implementations for different weights are provided for compatibility with StatsBase.merge(uvals::Vector{<:AbstractUncertainValue}; weights::FrequencyWeights n = 1000)merges uncertain values by sampling them according to the number of samples provided withweights.
Bug fixes
resampledidn't work forUncertainIndexDatasets due to the data being stored in theindicesfield, not thevaluesfield as for other subtypes ofAbstractUncertainValueDataset. This is now fixed.
Scientific Software - Peer-reviewed
- Julia
Published by julia-tagbot[bot] over 6 years ago
UncertainData.jl - v0.2.0
v0.2.0 (2019-08-13)
Merged pull requests:
Scientific Software - Peer-reviewed
- Julia
Published by julia-tagbot[bot] over 6 years ago
UncertainData.jl - v0.1.8
UncertainData.jl v0.1.8
Bug fixes
- Added missing package dependencies which were not caught by CI. These caused installation of the package using Julia's package manager to fail.
Scientific Software - Peer-reviewed
- Julia
Published by kahaaga about 7 years ago
UncertainData.jl - v0.1.7
UncertainData.jl v0.1.7
New functionality
UncertainIndexValueDatasets can now be constructed from vectors of uncertain values. To do so, provide a vector of uncertain values for the indices, and the same for the values, e.g.UncertainIndexValueDataset([idx1, idx2], [val1, val2]).- Index-value dataset realizations can now be interpolated on a regular grid. To do so, provide
resamplewith aRegularGridinstance.
Improvements
minimaandmaximanow returns the global minimum for a dataset instead of a vector of elementwise minima and maxima.- Removed/merged redundant method definitions and multiple imports of the same files causing definitions to be overwritten and multiple warnings statements to be printed when loading the package.
Bug fixes
- Fixed non-critical indexing bug for uncertain index-value datasets.
- Changed package UUID because the old one did not work on CI when tagging the package.
Scientific Software - Peer-reviewed
- Julia
Published by kahaaga about 7 years ago
UncertainData.jl - v0.1.6
UncertainData.jl v0.1.6
New functionality
- Implemented sequential sampling constraints
StrictlyIncreasingandStrictlyDecreasingforUncertainIndexValueDatasets. - Added UncertainScalarPopulation type, representing vectors of values that should be sampled according to a vector of probabilities.
Improvements
- Improved documentation for
CertainValues. - Added documentation for
UncertainScalarPopulation. - Added
UncertainScalarPopulationto uncertain value overview list in the documentation. - Fixed duplicate docs for
cot,cotd,cothand added missingacot,acotd,acothdocs. - Shortened and updated main documentation page with more links.
Bug fixes
- Import
Basefunctions properly when definingCertainValue, so that no unexpected behaviour is introduced. - Fixed links in documentation that pointed to the wrong locations.
- Remove model resampling docs which was not supposed to be published until the functionality is properly implemented.
Scientific Software - Peer-reviewed
- Julia
Published by kahaaga about 7 years ago
UncertainData.jl - v0.1.5
UncertainData.jl v0.1.5
New functionality
- Added
CertainValue <: AbstractUncertainValuetype to represent scalars without any uncertainty. Even though a scalar is not uncertain, we'll define it as subtype ofAbstractUncertainValueto treat certain values alongside uncertain values in datasets. - Added plot recipe for
CertainValues. They are just plotted as regular points. - Added method
resample(Vector{AbstractUncertainValue})for resampling vectors of uncertain values. Operates element-wise, just as for an uncertain dataset. - Added an abstract type
SequentialSamplingConstraintto separate sequential constraints from general constraints that might be applied before resampling according to the sequential constraints. - Added abstract type (
OrderedSamplingAlgorithm) and composite types (StartToEnd,EndToStart,MidpointOutwards,ChunksForwards,ChunksBackwards) which indicates how to sample sequential realizations when resampling an uncertain dataset. OnlyStartToEndis used at the moment. - Added abstract type
SequentialSamplingConstraintwhich is the supertype for all sequential constraints. - Added function to check if strictly increasing sequences through an uncertain dataset
exist:
strictly_increasing_sequence_exists(udata::AbstractUncertainValueDataset. - Added function to check if strictly decreasing sequences through an uncertain dataset
exist:
strictly_increasing_sequence_exists(udata::AbstractUncertainValueDataset. - Added the
StrictlyIncreasing{T} where {T<:OrderedSamplingAlgorithm}sequential constraint for resampling uncertain datasets. - Added the
StrictlyDecreasing{T} where {T<:OrderedSamplingAlgorithm}sequential constraint for resampling uncertain datasets. - Added resampling methods
1. `resample(udata, sequential_constraint::StrictlyIncreasing{T} where {T <: StartToEnd}`
2. `resample(udata, sequential_constraint::StrictlyDecreasing{T} where {T <: StartToEnd}`
3. `resample(udata, constraint::SamplingConstraint, sequential_constraint::StrictlyIncreasing{T} where {T <: StartToEnd}`
4. `resample(udata, constraint::SamplingConstraint, sequential_constraint::StrictlyDecreasing{T} where {T <: StartToEnd}`
5. `resample(udata, constraint::Vector{SamplingConstraint}, sequential_constraint::StrictlyIncreasing{T} where {T <: StartToEnd}`
6. `resample(udata, constraint::Vector{SamplingConstraint}, sequential_constraint::StrictlyDecreasing{T} where {T <: StartToEnd}`
Improvements
- Added documentation on sequential constraints, clearly separating it from the general constraints.
Scientific Software - Peer-reviewed
- Julia
Published by kahaaga about 7 years ago
UncertainData.jl - v0.1.4
UncertainData.jl v0.1.4
Breaking changes
- Elementary operations for
(scalar, uncertain_value),(uncertain_value, scalar)and(uncertain_value, uncertain_value)pairs now returns an uncertain value instead of a vector of resampled realizations. The default behaviour is to perform a kernel density estimate over the vector of results of the element-wise operations (which was previously returned without representing it as an uncertain value).
New functionality
- Implemented constraints for datasets that have already been constrained.
constrain(udata::ConstrainedDataset, s::SamplingConstraint)will now return anotherConstrainedDataset. The same applies forConstrainedIndexDatasetandConstrainedValueDataset. - Added
maximum(Vector{AbstractUncertainValue})andminimum(Vector{AbstractUncertainValue})methods. - Added plot recipe for
Vector{AbstractUncertainValue}s. Behaves just as plotting an uncertain dataset, assuming an implicit indices1:length(v). Error bars may be tuned by providing a second argument of quantiles toplot, e.g.plot(v, [0.2, 0.8]gives error bars covering the 20th to 80th percentile range of the data.
Improvements
- Added documentation for
StrictlyIncreasingandStrictlyDecreasingsampling constraints. - Added
showfunction forAbstractUncertainIndexDataset.showerrored previously, because it assumed the default behaviour ofAbstractUncertainValueDataset, which does not have theindicesfield.
Bug fixes
- Fixed bug when resampling an uncertain dataset using the
NoConstraintconstraint, which did not work to due to a reference to a non-existing variable. - Fixed test bug where when resampling an uncertain value with the
TruncateStdsampling constraint, the test compared the result to a fixed scalar, not the standar deviation of the value. This sometimes made the travis build fail.
Scientific Software - Peer-reviewed
- Julia
Published by kahaaga about 7 years ago
UncertainData.jl - v0.1.3
UncertainData.jl v0.1.3
- Allow both the
indicesandvaluesfields ofUncertainIndexValueDatasetto be any subtype ofAbstractUncertainValueDataset. This way, you don't have to use an index dataset type for the indices if not necessary. - Improved documentation for
UncertainIndexDataset,UncertainValueDataset,UncertainDatasetandUncertainIndexValueDatasettypes and added an overview page in the documentation to explain the difference between these types. - Added an overview section for the resampling documentation.
- Cleaned and improved documentation for uncertain values.
- Added separate documentation for the uncertain index dataset type.
- Added separate documentation for the uncertain value dataset type.
- Improved documentation for the generic uncertain dataset type
- Merged documentation for sampling constraints and resampling.
- Added missing documentation for the
sinc,sincos,sinpi,coscandcospitrig functions.
Scientific Software - Peer-reviewed
- Julia
Published by kahaaga about 7 years ago
UncertainData.jl - v0.1.2
UncertainData.jl v0.1.2
- Support elementary mathematical operations (
+,-,*and/) between arbitrary uncertain values of different types. Also works with the combination of scalars and uncertain values. Because elementary operations should work on arbitrary uncertain values, a resampling approach is used to perform the mathematical operations. This means that all mathematical operations return a vector containing the results of repeated element-wise operations (where each element is a resampled draw from the furnishing distribution(s) of the uncertain value(s)). The default number of realizations is set to10000. This allows callinguval1 + uval2for two uncertain valuesuval1anduval2. If you need to tune the number of resample draws ton, you need to use the+(uval1, uval2, n)syntax (similar for the operators). In the future, elementary operations might be improved for certain combinations of uncertain values where exact expressions for error propagation are now, for example using the machinery inMeasurements.jlfor normally distributed values. - Support for trigonometric functions added (
sin,sind,sinh,cos,cosd,cosh,tan,tand,tanh,csc,cscd,csch,csc,cscd,csch,sec,secd,sech,cot,cotd,coth,sincos,sinc,sinpi,cosc,cospi). Inverses are also defined (asin,asind,asinh,acos,acosd,acosh,atan,atand,atanh,acsc,acscd,acsch,acsc,acscd,acsch,asec,asecd,asech,acot,acotd,acoth). Beware: if the support of the funishing distribution for an uncertain value lies partly outside the domain of the function, you risk encountering errors. These also use a resampling approach, using10000realizations by default. Use either thesin(uval)syntax for the default, andsin(uval, n::Int)to tune the number of samples. - Support non-integer multiples of the standard deviation in the
TruncateStdsampling constraint. - Fixed bug in resampling of index-value datasets, where the
narguments wasn't used. - Bugfix: due to
StatsBase.stdnot being defined forFittedDistributioninstances, uncertain values represented byUncertainScalarTheoreticalFitinstances were not compatible with theTruncateStdsampling constraint. Now fixed! - Improved documentation for resampling for
UncertainIndexValueDatasets. Now shows the documentation for the main methods, as well as examples of how to use different sampling constraints for each individual index and data value. - Improved documentation for resampling for
UncertainDatasets. Now shows the documentation for the main methods. - Added missing
resample(uv::AbstractUncertainValue, constraint::TruncateRange, n::Int)method.
Scientific Software - Peer-reviewed
- Julia
Published by kahaaga about 7 years ago
UncertainData.jl - v0.1.1
UncertainData.jl v0.1.1
- Indexing implemented for
UncertainIndexValueDataset. - Resampling implemented for
UncertainIndexValueDataset. - Uncertain values and uncertain datasets now support
minimumandmaximum. support(uv::AbstractUncertainValue)now always returns an interval from IntervalArithmetic.jlsupport_overlapnow computes overlaps also for fitted theoretical distributions.- Added more plotting recipes.
- All implemented uncertain data types now support resampling.
- Improved general documentation. Added a reference to Measurements.jl and an explanation for the differences between the packages.
- Improved resampling documentation with detailed explanation and plots.
Scientific Software - Peer-reviewed
- Julia
Published by kahaaga about 7 years ago
UncertainData.jl - Initial release
Scientific Software - Peer-reviewed
- Julia
Published by kahaaga about 7 years ago