Class used by CDFt and QM to facilitate fit, do not use
dist[ROOPSD distribution] name of class
law[ROOPSD distribution] class set
kwargs[list] arguments of dist
new()Create a new DistHelper object.
DistHelper$new(dist, kwargs)dist[ROOPSD distribution or list] statistical law
kwargs[list] arguments passed to dist
A new `DistHelper` object.
set_features()set the number of features
DistHelper$set_features(n_features)n_features[integer] numbers of features
NULL
fit()fit the laws
DistHelper$fit(X, i)X[matrix] dataset to fit
i[integer] margins to fit
NULL
is_frozen()Test if margins i is frozen
DistHelper$is_frozen(i)i[integer] margins to fit
[bool]
is_parametric()Test if margins i is parametric
DistHelper$is_parametric(i)i[integer] margins to fit
[bool]
clone()The objects of this class are cloneable with this method.
DistHelper$clone(deep = FALSE)deepWhether to make a deep clone.
Used to parallel work for margins