mlr_pipeops_extract_interactions: PipeOpExtractInteractions

mlr_pipeops_extract_interactionsR Documentation

PipeOpExtractInteractions

Description

PipeOperator to extract interactions gained by an rpart model.

Format

Abstract R6Class inheriting from PipeOp.

Construction

PipeOpExtractInteractions$new(id = "extract_interactions", param_vals = list())
  • id :: character(1)
    Identifier of resulting object, default "encode".

  • param_vals :: named list
    List of hyperparameter settings, overwriting the hyperparameter settings that would otherwise be set during construction. Default list().

Input and Output Channels

Input and output channels are inherited from PipeOp.

Based on the input Task, a tree model is trained. The output contains interactions as list().

State

The ⁠$state⁠ is a named list with the ⁠$state⁠ elements inherited from PipeOp.

Parameters

The parameters are the parameters inherited from PipeOp, as well as:

  • degree :: integer(1)
    Degree of interactions. Initialized to 2L.

Methods

Only methods inherited from PipeOp.


Coorsaa/autocompboost documentation built on March 19, 2023, 12:08 p.m.