public class PartialDependenceV3 extends SchemaV3<PartialDependence,PartialDependenceV3>
SchemaV3.Meta
Schema.AutoParseable
Modifier and Type | Field and Description |
---|---|
boolean |
add_missing_na |
java.lang.String[][] |
col_pairs_2dpdp |
java.lang.String[] |
cols |
KeyV3.PartialDependenceKeyV3 |
destination_key |
KeyV3.FrameKeyV3 |
frame_id |
KeyV3.ModelKeyV3 |
model_id |
int |
nbins |
int[] |
num_user_splits |
TwoDimTableV3[] |
partial_dependence_data |
long |
row_index |
java.lang.String[] |
targets |
java.lang.String[] |
user_cols |
double[] |
user_splits |
int |
weight_column_index |
Constructor and Description |
---|
PartialDependenceV3() |
Modifier and Type | Method and Description |
---|---|
PartialDependence |
createImpl()
Create an appropriate implementation object and any child objects but does not fill them.
|
createAndFillImpl, extractVersionFromSchemaName, fillFromAny, fillFromBody, fillFromImpl, fillFromImpl, fillFromImpl, fillFromParms, fillFromParms, fillFromParms, fillImpl, fillImpl, getImplClass, getImplClass, getSchemaName, getSchemaType, getSchemaVersion, init_meta, markdown, markdown, newInstance, newInstance, setField, setSchemaType_doNotCall
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonBytes, toJsonString, write, writeExternal
@API(help="Model", direction=INOUT) public KeyV3.ModelKeyV3 model_id
@API(help="Frame", direction=INOUT) public KeyV3.FrameKeyV3 frame_id
@API(help="weight_column_index", direction=INOUT) public int weight_column_index
@API(help="Column(s) of user defined splits", direction=INOUT) public java.lang.String[] user_cols
@API(help="Number of user defined splits per column", direction=INOUT) public int[] num_user_splits
@API(help="Partial Dependence Data", direction=OUTPUT) public TwoDimTableV3[] partial_dependence_data
@API(help="lists of column name pairs to plot 2D pdp for", direction=INOUT) public java.lang.String[][] col_pairs_2dpdp
@API(help="Key to store the destination", direction=INPUT) public KeyV3.PartialDependenceKeyV3 destination_key
public PartialDependence createImpl()
Schema
For objects without children this method does all the required work. For objects with children the subclass will need to override, e.g. by calling super.createImpl() and then calling createImpl() on its children.
Note that impl objects for schemas which override this method don't need to have a default constructor (e.g., a Keyed object constructor can still create and set the Key), but they must not fill any fields which can be filled later from the schema.
TODO: We could handle the common case of children with the same field names here by finding all of our fields that are themselves Schemas.
createImpl
in class Schema<PartialDependence,PartialDependenceV3>