public class CreateFrameV3 extends RequestSchemaV3<CreateFrame,CreateFrameV3>
SchemaV3.Meta
Modifier and Type | Field and Description |
---|---|
double |
binary_fraction |
double |
binary_ones_fraction |
double |
categorical_fraction |
int |
cols |
KeyV3.FrameKeyV3 |
dest |
int |
factors |
boolean |
has_response |
double |
integer_fraction |
long |
integer_range |
KeyV3.JobKeyV3 |
key |
double |
missing_fraction |
boolean |
positive_response |
boolean |
randomize |
long |
real_range |
int |
response_factors |
long |
rows |
long |
seed |
long |
seed_for_column_types |
double |
string_fraction |
double |
time_fraction |
long |
value |
_exclude_fields
Constructor and Description |
---|
CreateFrameV3() |
Modifier and Type | Method and Description |
---|---|
CreateFrame |
createImpl()
Create an appropriate implementation object and any child objects but does not fill them.
|
createAndFillImpl, extractVersionFromSchemaName, fillFromImpl, fillFromImpl, fillFromImpl, 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, toJsonString, write, writeExternal
@API(help="destination key", direction=INOUT) public KeyV3.FrameKeyV3 dest
@API(help="Number of data columns (in addition to the first response column)", direction=INOUT) public int cols
@API(help="Random number seed that determines the random values", direction=INOUT) public long seed
@API(help="Random number seed for setting the column types", direction=INOUT) public long seed_for_column_types
@API(help="Range for real variables (-range ... range)", direction=INOUT) public long real_range
@API(help="Fraction of categorical columns (for randomize=true)", direction=INOUT) public double categorical_fraction
@API(help="Fraction of integer columns (for randomize=true)", direction=INOUT) public double integer_fraction
@API(help="Range for integer variables (-range ... range)", direction=INOUT) public long integer_range
@API(help="Fraction of binary columns (for randomize=true)", direction=INOUT) public double binary_fraction
@API(help="Fraction of 1\'s in binary columns", direction=INOUT) public double binary_ones_fraction
@API(help="Fraction of date/time columns (for randomize=true)", direction=INOUT) public double time_fraction
@API(help="Fraction of string columns (for randomize=true)", direction=INOUT) public double string_fraction
@API(help="Fraction of missing values", direction=INOUT) public double missing_fraction
@API(help="Whether an additional response column should be generated", direction=INOUT) public boolean has_response
@API(help="Number of factor levels of the first column (1=real, 2=binomial, N=multinomial)", direction=INOUT) public int response_factors
@API(help="For real-valued response variable: Whether the response should be positive only.", direction=INOUT) public boolean positive_response
@API(help="Job Key", direction=OUTPUT) public KeyV3.JobKeyV3 key
public CreateFrame 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<CreateFrame,CreateFrameV3>