| CPOConstructor | R Documentation |
CPO objects are created by calling CPOConstructors, which are
R functions that have some parameters in common, use a convenient print.CPOConstructor generic,
and always return a CPO object. The mlrCPO package provides many CPOConstructor
functions, which can be listed using listCPO. It is also possible to
create custom CPOConstructors using makeCPO, makeCPORetrafoless,
link{makeCPOTargetOp}, and makeCPOExtendedTrafo.
id |
[ | ||||||||||||||
export |
[
Default is “export.default”. | ||||||||||||||
affect.type |
[ | ||||||||||||||
affect.index |
[ | ||||||||||||||
affect.names |
[ | ||||||||||||||
affect.pattern |
[ | ||||||||||||||
affect.invert |
[ | ||||||||||||||
affect.pattern.ignore.case |
[ | ||||||||||||||
affect.pattern.perl |
[ | ||||||||||||||
affect.pattern.fixed |
[ |
[CPO] the constructed CPO.
CPOConstructors can be called like any R function, with any parameters given. Besides parameters that are
common to most CPOConstructors (listed below), it is possible to set CPO-specific hyperparameters in the
construction. Parameters that are being exported can also be modified later using the CPO
object, see the documentation there.
affect.* parametersWhen creating a CPO, it is possible to choose which columns of the given data the CPO operates
on, and which columns it will ignore. This is done using the affect.* parameters. It is possible to
choose columns by types, indices, names, or a regular expression matching names.
print.CPOConstructor for possibly verbose printing.
Other CPO lifecycle related:
CPO,
CPOLearner,
CPOTrained,
NULLCPO,
%>>%(),
attachCPO(),
composeCPO(),
getCPOClass(),
getCPOConstructor(),
getCPOTrainedCPO(),
identicalCPO(),
makeCPO()
Other CPOConstructor related:
getCPOClass(),
getCPOConstructor(),
getCPOName(),
identicalCPO(),
makeCPO(),
print.CPOConstructor()
class(cpoPca) # c("CPOConstructor", "function")
print(cpoPca) # default printer
print(cpoPca, verbose = TRUE) # shows the trafo / retrafo functions
cpoPca() # creating a CPO
class(cpoPca()) # c("CPOPrimitive", "CPO")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.