Base Cross Validation (b)
PortfolioOptimisers.fit_predict — Method
fit_predict(opt::OptE_Opt, rd::ReturnsResult)Fit optimisation estimator opt on returns data rd, and predict over the same data.
The prediction is in-sample, so it measures the fit and not a backtest. Use fit_and_predict or cross_val_predict for an out-of-sample series.
Algorithm
Arguments
opt: Optimisation estimator or result.rd::ReturnsResult: Returns data.
Returns
Related