Skip to content

Models ​

Index ​

Types ​

UncertaintyQuantification.UQModel Type

Abstract supertype for all model types

source
UncertaintyQuantification.Model Type
julia
Model(f::Function, name::Symbol; distributed::Bool = false)

By default the function f must accept a DataFrame and return the result of the model for each row in the DataFrame as a vector. The name is used to add the output to the DataFrame. When distributed is set to true a pmap will evaluate each row the the DataFrame in parallel, making use of any available workers. In this case f must accept a DataFrameRow.

source
UncertaintyQuantification.LinearBasisFunctionModel Type
julia
LinearBasisFunctionModel(
    df::DataFrame, out::Symbol, b:<AbstractBasis, inputs::Vector{Symbol}=propertynames(df[:, Not(out)])
)

Construct a linear basis function model for the data in df using the basis b.By default the input variables are assumed to be all columns of the DataFrame except for out.

source

Methods ​

UncertaintyQuantification.evaluate! Method
julia
evaluate!(m::Model, df::DataFrame)

Calls m.func with df and adds the result to the DataFrame as a column m.name If m.distributed is true a pmap evaluates m.func for each row of df in parallel.

source
UncertaintyQuantification.reliability Method
julia
reliability(ipm::IntervalPredictorModel, ϵ::Real)

Returns the confidence parameter β∈(0,1), such that the reliability of the IPM, that is the probability unobserved data points will fall in its bounds, is no less than 1−ϵ with confidence 1−β, with ϵ∈(0,1).

source
UncertaintyQuantification.isimprecise Method
julia
isimprecise(m::UQModel)

Returns true if model m is imprecise.

source
UncertaintyQuantification.isimprecise Method
julia
isimprecise(models::AbstractVector{<:UQModel})

Returns true if any of the models is imprecise.

source
UncertaintyQuantification.isimprecise Method
julia
isimprecise(inputs::AbstractVector{<:UQInput}, models::AbstractVector{<:UQModel})

Returns true if any of the inputs or models is imprecise.

source