Class GroupResamplerFactory
java.lang.Object
tech.nmfin.portfoliooptimization.lai2010.ceta.npeb.resampler.GroupResamplerFactory
- All Implemented Interfaces:
Seedable
,ReturnsResamplerFactory
Creates re-samplers that do re-sampling for the whole group of stocks
together.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewResampler
(Matrix returns) Constructs a new instance of a re-sampling mechanism.void
seed
(long... seeds) Seed the random number/vector/scenario generator to produce repeatable experiments.
-
Constructor Details
-
GroupResamplerFactory
public GroupResamplerFactory() -
GroupResamplerFactory
public GroupResamplerFactory(long seed)
-
-
Method Details
-
newResampler
Description copied from interface:ReturnsResamplerFactory
Constructs a new instance of a re-sampling mechanism.- Specified by:
newResampler
in interfaceReturnsResamplerFactory
- Parameters:
returns
- multivariate samples or multivariate time series- Returns:
- a new instance of a re-sampler
-
seed
public void seed(long... seeds) Description copied from interface:Seedable
Seed the random number/vector/scenario generator to produce repeatable experiments.
-