public class TabulateV3 extends JobV3<Tabulate,TabulateV3>
Schema.Meta
Modifier and Type | Field and Description |
---|---|
TwoDimTableBase |
count_table |
KeyV3.FrameKeyV3 |
dataset |
int |
nbins_predictor |
int |
nbins_response |
FrameV3.ColSpecifierV3 |
predictor |
FrameV3.ColSpecifierV3 |
response |
TwoDimTableBase |
response_table |
FrameV3.ColSpecifierV3 |
weight |
description, dest, error_count, exception, key, messages, msec, progress, progress_msg, start_time, status
Constructor and Description |
---|
TabulateV3() |
Modifier and Type | Method and Description |
---|---|
Tabulate |
createImpl()
Create an appropriate implementation object and any child objects but does not fill them.
|
TabulateV3 |
fillFromImpl(Tabulate impl)
Fill this Schema from the given implementation object.
|
fillFromImpl, link
createAndFillImpl, fillFromParms, fillFromParms, fillImpl, get__meta, getExperimentalVersion, getHighestSupportedVersion, getImplClass, getImplClass, getLatestVersion, getSchemaVersion, markdown, markdown, markdown, newInstance, newInstance, registerAllSchemasIfNecessary, schema, schema, schemaClass, schemas, setField
clone, frozenType, read_impl, read, readExternal, readJSON_impl, readJSON, toJsonString, write_impl, write, writeExternal, writeJSON_impl, writeJSON
@API(help="Dataset", required=true) public KeyV3.FrameKeyV3 dataset
@API(help="Predictor", required=true, level=critical, is_member_of_frames="dataset", is_mutually_exclusive_with="col_y", direction=INOUT) public FrameV3.ColSpecifierV3 predictor
@API(help="Response", required=true, level=critical, is_member_of_frames="dataset", is_mutually_exclusive_with="col_x", direction=INOUT) public FrameV3.ColSpecifierV3 response
@API(help="Observation weights (optional)", required=false, level=critical, is_member_of_frames="dataset", is_mutually_exclusive_with="col_x", direction=INOUT) public FrameV3.ColSpecifierV3 weight
@API(help="Counts table", direction=OUTPUT) public TwoDimTableBase count_table
@API(help="Response table", direction=OUTPUT) public TwoDimTableBase response_table
public TabulateV3 fillFromImpl(Tabulate impl)
Schema
fillFromImpl
in class Schema<Tabulate,TabulateV3>
public Tabulate 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 JobV3<Tabulate,TabulateV3>