Method

NumCosmoMathStatsDistset_cv_type

Declaration [src]

void
ncm_stats_dist_set_cv_type (
  NcmStatsDist* sd,
  const NcmStatsDistCV cv_type
)

Description [src]

Sets the cross-validation method to cv_type. If the selected method is none, all the sample points will be used to compute the interpolation. If the cv_type is the cv_split, a split fraction of the points are randomly excluded and the interpolation is computed to a best fit of the remaining sample points, which leads to a more point independent interpolation.

Parameters

cv_type

Type: NcmStatsDistCV

A NcmStatsDistCV.