Permutations can be addressed by using two approaches:
Using an AnalysisWrapper in which you give the Analyzer as a parameter and then the fit performs the loop by calling analysis fit method on the permuted dataset.
Using a Transformer which transforms the dataset in a permuted dataset.
This can be achieved in both ways by:
[ ] Constructing the PermutationTransformer or Permutator as a python generator
[ ] Implementing a Wrapper that uses the Transformer to obtain a new dataset.
Permutations can be addressed by using two approaches:
AnalysisWrapper
in which you give theAnalyzer
as a parameter and then thefit
performs the loop by calling analysisfit
method on the permuted dataset.Transformer
which transforms the dataset in a permuted dataset.This can be achieved in both ways by:
PermutationTransformer
orPermutator
as a pythongenerator
Wrapper
that uses theTransformer
to obtain a new dataset.