1%feature("docstring") OT::KFold 2"K-fold. 3 4Parameters 5---------- 6k : positive integer 7 Number of folds in which the sample is splitted. If not provided, default is 8 :math:`k = 10`. 9 10See also 11-------- 12FittingAlgorithm, CorrectedLeaveOneOut 13 14Notes 15----- 16KFold inherits from :class:`~openturns.FittingAlgorithm`. 17 18This class is not usable on its own because it has sense only within the 19:class:`~openturns.FunctionalChaosAlgorithm`." 20 21// --------------------------------------------------------------------- 22 23%feature("docstring") OT::KFold::getK 24"Accessor to the number of folds. 25 26Returns 27------- 28k : integer 29 Number of folds in which the sample is splitted." 30 31// --------------------------------------------------------------------- 32 33%feature("docstring") OT::KFold::setK 34"Accessor to the number of folds. 35 36Parameters 37---------- 38k : integer 39 Number of folds in which the sample is splitted." 40