public final class MixedTypeMetadataHelper extends Object implements Serializable
Constructor and Description |
---|
MixedTypeMetadataHelper(RecordTokenType unfilteredType,
List<String> includedColumns,
String targetColumn,
int maxDistinctNominalValues) |
Modifier and Type | Method and Description |
---|---|
static MixedTypeMetadataHelper |
ensureHelper(IterativeExecutionContext ctx,
RecordPort input,
List<String> includedColumns,
String targetColumn,
int maxDistinctNominalValues)
Discovers the metadata helper within an iterative context
|
RecordTokenType |
getAllLearningColumns() |
RecordTokenType |
getContinuousLearningColumns() |
RecordTokenType |
getDiscreteLearningColumns() |
List<String> |
getIncludedColumns() |
int |
getMaxDistinctNominalValues() |
PMMLModelSpec |
getPmmlSpec() |
String |
getTargetColumn() |
DynamicEnum |
getTargetType() |
RecordTokenType |
getUnfilteredType() |
boolean |
hasContinuousAttributes() |
boolean |
hasDiscreteAttributes() |
static boolean |
hasDomain(RecordTokenType unfilteredType,
List<String> includedColumns,
String targetColumn) |
boolean |
isContinuous(String attribute) |
public MixedTypeMetadataHelper(RecordTokenType unfilteredType, List<String> includedColumns, String targetColumn, int maxDistinctNominalValues)
public static MixedTypeMetadataHelper ensureHelper(IterativeExecutionContext ctx, RecordPort input, List<String> includedColumns, String targetColumn, int maxDistinctNominalValues)
ctx
- the iterative contextsinput
- the inputincludedColumns
- the included columnstargetColumn
- the target columnsmaxDistinctNominalValues
- max disctinct nominal valuespublic static boolean hasDomain(RecordTokenType unfilteredType, List<String> includedColumns, String targetColumn)
public RecordTokenType getUnfilteredType()
public int getMaxDistinctNominalValues()
public boolean isContinuous(String attribute)
public boolean hasContinuousAttributes()
public boolean hasDiscreteAttributes()
public RecordTokenType getContinuousLearningColumns()
public RecordTokenType getDiscreteLearningColumns()
public RecordTokenType getAllLearningColumns()
public String getTargetColumn()
public DynamicEnum getTargetType()
public PMMLModelSpec getPmmlSpec()
Copyright © 2024 Actian Corporation. All rights reserved.