Target Extraction
The target extraction process is handled by the extract_targets
method, which prepares the target variables for training.
Target Type Identification
The method identifies each target as either numeric or categorical.
Ethereum Address Handling
Ethereum addresses are treated as categorical variables.
Numeric Target Scaling
For numeric targets:
Categorical Target Encoding
For categorical targets:
Multi-target Handling
The method can handle multiple targets, combining them into a single 2D numpy array.
Usage
Both methods are called during the model training process:
Advantages
Handles various data types automatically
Applies appropriate transformations for each data type
Supports multi-target scenarios
Preserves information about feature and target transformations for consistent prediction
Last updated