Optimisation Cross Validation
PortfolioOptimisers.OptimisationCrossValidation — Type
struct OptimisationCrossValidation{__T_cv, __T_scorer} <: AbstractEstimatorWraps a cross-validation scheme and an optional scorer to form a complete optimisation cross-validation pipeline.
Fields
cv: Cross-validation estimator.
scorer: Scoring function. Given the orientation-normalised score matrix (rows = CV splits, columns = parameter sets), it returns the column index of the best parameter set. The matrix is normalised so that higher is always better, whatever the risk measure, so a scorer selects the largest aggregate score (seeCrossValidationSearchScorer).
Constructors
OptimisationCrossValidation(; cv::OptCVER = KFold(), scorer::Option{<:PredictionCrossValScorer} = nothing) -> OptimisationCrossValidationKeywords correspond to the struct's fields.
Related