View source: R/CostSensRegrWrapper.R
makeCostSensRegrWrapper | R Documentation |
Creates a wrapper, which can be used like any other learner object. Models can easily be accessed via getLearnerModel.
For each class in the task, an individual regression model is fitted for the costs of that class. During prediction, the class with the lowest predicted costs is selected.
makeCostSensRegrWrapper(learner)
learner |
(Learner | |
Learner.
Other costsens:
makeCostSensClassifWrapper()
,
makeCostSensTask()
,
makeCostSensWeightedPairsWrapper()
Other wrapper:
makeBaggingWrapper()
,
makeClassificationViaRegressionWrapper()
,
makeConstantClassWrapper()
,
makeCostSensClassifWrapper()
,
makeDownsampleWrapper()
,
makeDummyFeaturesWrapper()
,
makeExtractFDAFeatsWrapper()
,
makeFeatSelWrapper()
,
makeFilterWrapper()
,
makeImputeWrapper()
,
makeMulticlassWrapper()
,
makeMultilabelBinaryRelevanceWrapper()
,
makeMultilabelClassifierChainsWrapper()
,
makeMultilabelDBRWrapper()
,
makeMultilabelNestedStackingWrapper()
,
makeMultilabelStackingWrapper()
,
makeOverBaggingWrapper()
,
makePreprocWrapper()
,
makePreprocWrapperCaret()
,
makeRemoveConstantFeaturesWrapper()
,
makeSMOTEWrapper()
,
makeTuneWrapper()
,
makeUndersampleWrapper()
,
makeWeightedClassesWrapper()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.