index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/ModelsV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class ModelsV3 extends ModelsBase {
/* INHERITED: Name of Model of interest
* public ModelKeyV3 model_id;
*/
/* INHERITED: Return potentially abridged model suitable for viewing in a browser
* public boolean preview;
*/
/* INHERITED: Find and return compatible frames?
* public boolean find_compatible_frames;
*/
/* INHERITED: Models
* public ModelSchemaBase[] models;
*/
/* INHERITED: Compatible frames
* public FrameV3[] compatible_frames;
*/
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/NaiveBayesModelOutputV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
import java.util.Map;
public class NaiveBayesModelOutputV3 extends ModelOutputSchema {
/** Categorical levels of the response */
public String[] levels;
/** A-priori probabilities of the response */
public TwoDimTableV3 apriori;
/** Conditional probabilities of the predictors */
public TwoDimTableV3[] pcond;
/* INHERITED: Column names
* public String[] names;
*/
/* INHERITED: Domains for categorical columns
* public String[][] domains;
*/
/* INHERITED: Cross-validation models (model ids)
* public ModelKeyV3[] cross_validation_models;
*/
/* INHERITED: Cross-validation predictions, one per cv model (deprecated, use cross_validation_holdout_predictions_frame_id instead)
* public FrameKeyV3[] cross_validation_predictions;
*/
/* INHERITED: Cross-validation holdout predictions (full out-of-sample predictions on training data)
* public FrameKeyV3 cross_validation_holdout_predictions_frame_id;
*/
/* INHERITED: Cross-validation fold assignment (each row is assigned to one holdout fold)
* public FrameKeyV3 cross_validation_fold_assignment_frame_id;
*/
/* INHERITED: Category of the model (e.g., Binomial)
* public ModelCategory model_category;
*/
/* INHERITED: Model summary
* public TwoDimTableV3 model_summary;
*/
/* INHERITED: Scoring history
* public TwoDimTableV3 scoring_history;
*/
/* INHERITED: Training data model metrics
* public ModelMetricsBase training_metrics;
*/
/* INHERITED: Validation data model metrics
* public ModelMetricsBase validation_metrics;
*/
/* INHERITED: Cross-validation model metrics
* public ModelMetricsBase cross_validation_metrics;
*/
/* INHERITED: Cross-validation model metrics summary
* public TwoDimTableV3 cross_validation_metrics_summary;
*/
/* INHERITED: Job status
* public String status;
*/
/* INHERITED: Start time in milliseconds
* public long start_time;
*/
/* INHERITED: End time in milliseconds
* public long end_time;
*/
/* INHERITED: Runtime in milliseconds
* public long run_time;
*/
/* INHERITED: Help information for output fields
* public Map<String,String> help;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/NaiveBayesModelV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class NaiveBayesModelV3 extends ModelSchema {
/* INHERITED: The build parameters for the model (e.g. K for KMeans).
* public NaiveBayesParametersV3 parameters;
*/
/* INHERITED: The build output for the model (e.g. the cluster centers for KMeans).
* public NaiveBayesModelOutputV3 output;
*/
/* INHERITED: Compatible frames, if requested
* public String[] compatible_frames;
*/
/* INHERITED: Checksum for all the things that go into building the Model.
* public long checksum;
*/
/* INHERITED: Model key
* public ModelKeyV3 model_id;
*/
/* INHERITED: The algo name for this Model.
* public String algo;
*/
/* INHERITED: The pretty algo name for this Model (e.g., Generalized Linear Model, rather than GLM).
* public String algo_full_name;
*/
/* INHERITED: The response column name for this Model (if applicable). Is null otherwise.
* public String response_column_name;
*/
/* INHERITED: The Model's training frame key
* public FrameKeyV3 data_frame;
*/
/* INHERITED: Timestamp for when this model was completed
* public long timestamp;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/NaiveBayesParametersV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class NaiveBayesParametersV3 extends ModelParametersSchema {
/** Balance training data class counts via over/under-sampling (for imbalanced data). */
public boolean balance_classes;
/** Desired over/under-sampling ratios per class (in lexicographic order). If not specified, sampling factors will be automatically computed to obtain class balance during training. Requires balance_classes. */
public float[] class_sampling_factors;
/** Maximum relative size of the training data after balancing class counts (can be less than 1.0). Requires balance_classes. */
public float max_after_balance_size;
/** Maximum size (# classes) for confusion matrices to be printed in the Logs */
public int max_confusion_matrix_size;
/** Max. number (top K) of predictions to use for hit ratio computation (for multi-class only, 0 to disable) */
public int max_hit_ratio_k;
/** Laplace smoothing parameter */
public double laplace;
/** Min. standard deviation to use for observations with not enough data */
public double min_sdev;
/** Cutoff below which standard deviation is replaced with min_sdev */
public double eps_sdev;
/** Min. probability to use for observations with not enough data */
public double min_prob;
/** Cutoff below which probability is replaced with min_prob */
public double eps_prob;
/** Compute metrics on training data */
public boolean compute_metrics;
/** Seed for pseudo random number generator (only used for cross-validation and fold_assignment="Random" or "AUTO") */
public long seed;
/* INHERITED: Destination id for this model; auto-generated if not specified
* public ModelKeyV3 model_id;
*/
/* INHERITED: Training frame
* public FrameKeyV3 training_frame;
*/
/* INHERITED: Validation frame
* public FrameKeyV3 validation_frame;
*/
/* INHERITED: Number of folds for N-fold cross-validation
* public int nfolds;
*/
/* INHERITED: Keep cross-validation model predictions
* public boolean keep_cross_validation_predictions;
*/
/* INHERITED: Keep cross-validation fold assignment
* public boolean keep_cross_validation_fold_assignment;
*/
/* INHERITED: Allow parallel training of cross-validation models
* public boolean parallelize_cross_validation;
*/
/* INHERITED: Response column
* public ColSpecifierV3 response_column;
*/
/* INHERITED: Column with observation weights
* public ColSpecifierV3 weights_column;
*/
/* INHERITED: Offset column
* public ColSpecifierV3 offset_column;
*/
/* INHERITED: Column with cross-validation fold index assignment per observation
* public ColSpecifierV3 fold_column;
*/
/* INHERITED: Cross-validation fold assignment scheme, if fold_column is not specified
* public FoldAssignmentScheme fold_assignment;
*/
/* INHERITED: Ignored columns
* public String[] ignored_columns;
*/
/* INHERITED: Ignore constant columns
* public boolean ignore_const_cols;
*/
/* INHERITED: Whether to score during each iteration of model training
* public boolean score_each_iteration;
*/
/* INHERITED: Model checkpoint to resume training with
* public ModelKeyV3 checkpoint;
*/
/* INHERITED: Early stopping based on convergence of stopping_metric. Stop if simple moving average of length k of the stopping_metric does not improve for k:=stopping_rounds scoring events (0 to disable)
* public int stopping_rounds;
*/
/* INHERITED: Maximum allowed runtime in seconds for model training. Use 0 to disable.
* public double max_runtime_secs;
*/
/* INHERITED: Metric to use for early stopping (AUTO: logloss for classification, deviance for regression)
* public StoppingMetric stopping_metric;
*/
/* INHERITED: Relative tolerance for metric-based stopping criterion (stop if relative improvement is not at least this much)
* public double stopping_tolerance;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/NaiveBayesV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class NaiveBayesV3 extends ModelBuilderSchema {
/* INHERITED: Model builder parameters.
* public NaiveBayesParametersV3 parameters;
*/
/* INHERITED: The algo name for this ModelBuilder.
* public String algo;
*/
/* INHERITED: The pretty algo name for this ModelBuilder (e.g., Generalized Linear Model, rather than GLM).
* public String algo_full_name;
*/
/* INHERITED: Model categories this ModelBuilder can build.
* public ModelCategory[] can_build;
*/
/* INHERITED: Should the builder always be visible, be marked as beta, or only visible if the user starts up with the experimental flag?
* public BuilderVisibility visibility;
*/
/* INHERITED: Job Key
* public JobV3 job;
*/
/* INHERITED: Parameter validation messages
* public ValidationMessageV3[] messages;
*/
/* INHERITED: Count of parameter validation errors
* public int error_count;
*/
/* INHERITED: HTTP status to return for this build.
* public int __http_status;
*/
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/NetworkBenchV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class NetworkBenchV3 extends RequestSchema {
/** NetworkBenchResults */
public TwoDimTableV3[] results;
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/NetworkEvent.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class NetworkEvent extends EventV3 {
/** Boolean flag distinguishing between sends (true) and receives(false) */
public boolean is_send;
/** network protocol (UDP/TCP) */
public String protocol;
/** UDP type (exec,ack, ackack,... */
public String msg_type;
/** Sending node */
public String from;
/** Receiving node */
public String to;
/** Pretty print of the first few bytes of the msg payload. Contains class name for tasks. */
public String data;
/* INHERITED: Time when the event was recorded. Format is hh:mm:ss:ms
* public String date;
*/
/* INHERITED: Time in nanos
* public long nanos;
*/
/* INHERITED: type of recorded event
* public EventType type;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/NetworkTestV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class NetworkTestV3 extends RequestSchema {
/** Collective broadcast/reduce times in microseconds (for each message size) */
public double[] microseconds_collective;
/** Collective bandwidths in Bytes/sec (for each message size, for each node) */
public double[] bandwidths_collective;
/** Round-trip times in microseconds (for each message size, for each node) */
public double[][] microseconds;
/** Bi-directional bandwidths in Bytes/sec (for each message size, for each node) */
public double[][] bandwidths;
/** Nodes */
public String[] nodes;
/** NetworkTestResults */
public TwoDimTableV3 table;
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/NodePersistentStorageEntryV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class NodePersistentStorageEntryV3 extends Schema {
/** Category name */
public String category;
/** Key name */
public String name;
/** Size in bytes of value */
public long size;
/** Epoch time in milliseconds of when the value was written */
public long timestamp_millis;
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/NodePersistentStorageV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class NodePersistentStorageV3 extends RequestSchema {
/** Category name */
public String category;
/** Key name */
public String name;
/** Value */
public String value;
/** Configured */
public boolean configured;
/** Exists */
public boolean exists;
/** List of entries */
public NodePersistentStorageEntryV3[] entries;
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/NodeV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class NodeV3 extends Schema {
/** IP */
public String h2o;
/** IP address and port in the form a.b.c.d:e */
public String ip_port;
/** (now-last_ping)<HeartbeatThread.TIMEOUT */
public boolean healthy;
/** Time (in msec) of last ping */
public long last_ping;
/** PID */
public int pid;
/** num_cpus */
public int num_cpus;
/** cpus_allowed */
public int cpus_allowed;
/** nthreads */
public int nthreads;
/** System load; average #runnables/#cores */
public float sys_load;
/** System CPU percentage used by this H2O process in last interval */
public int my_cpu_pct;
/** System CPU percentage used by everything in last interval */
public int sys_cpu_pct;
/** Data on Node memory */
public long mem_value_size;
/** Temp (non Data) memory */
public long pojo_mem;
/** Free heap */
public long free_mem;
/** Maximum memory size for node */
public long max_mem;
/** Size of data on node's disk */
public long swap_mem;
/** #local keys */
public int num_keys;
/** Free disk */
public long free_disk;
/** Max disk */
public long max_disk;
/** Active Remote Procedure Calls */
public int rpcs_active;
/** F/J Thread count, by priority */
public short[] fjthrds;
/** F/J Task count, by priority */
public short[] fjqueue;
/** Open TCP connections */
public int tcps_active;
/** Open File Descripters */
public int open_fds;
/** Linpack GFlops */
public double gflops;
/** Memory Bandwidth */
public double mem_bw;
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/NormModel.java
|
package water.bindings.pojos;
public enum NormModel {
HSM,
NegSampling,
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/PCAModelOutputV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
import java.util.Map;
public class PCAModelOutputV3 extends ModelOutputSchema {
/** Standard deviation and importance of each principal component */
public TwoDimTableV3 importance;
/** Principal components matrix */
public TwoDimTableV3 eigenvectors;
/** Final value of GLRM squared loss function */
public double objective;
/* INHERITED: Column names
* public String[] names;
*/
/* INHERITED: Domains for categorical columns
* public String[][] domains;
*/
/* INHERITED: Cross-validation models (model ids)
* public ModelKeyV3[] cross_validation_models;
*/
/* INHERITED: Cross-validation predictions, one per cv model (deprecated, use cross_validation_holdout_predictions_frame_id instead)
* public FrameKeyV3[] cross_validation_predictions;
*/
/* INHERITED: Cross-validation holdout predictions (full out-of-sample predictions on training data)
* public FrameKeyV3 cross_validation_holdout_predictions_frame_id;
*/
/* INHERITED: Cross-validation fold assignment (each row is assigned to one holdout fold)
* public FrameKeyV3 cross_validation_fold_assignment_frame_id;
*/
/* INHERITED: Category of the model (e.g., Binomial)
* public ModelCategory model_category;
*/
/* INHERITED: Model summary
* public TwoDimTableV3 model_summary;
*/
/* INHERITED: Scoring history
* public TwoDimTableV3 scoring_history;
*/
/* INHERITED: Training data model metrics
* public ModelMetricsBase training_metrics;
*/
/* INHERITED: Validation data model metrics
* public ModelMetricsBase validation_metrics;
*/
/* INHERITED: Cross-validation model metrics
* public ModelMetricsBase cross_validation_metrics;
*/
/* INHERITED: Cross-validation model metrics summary
* public TwoDimTableV3 cross_validation_metrics_summary;
*/
/* INHERITED: Job status
* public String status;
*/
/* INHERITED: Start time in milliseconds
* public long start_time;
*/
/* INHERITED: End time in milliseconds
* public long end_time;
*/
/* INHERITED: Runtime in milliseconds
* public long run_time;
*/
/* INHERITED: Help information for output fields
* public Map<String,String> help;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/PCAModelV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class PCAModelV3 extends ModelSchema {
/* INHERITED: The build parameters for the model (e.g. K for KMeans).
* public PCAParametersV3 parameters;
*/
/* INHERITED: The build output for the model (e.g. the cluster centers for KMeans).
* public PCAModelOutputV3 output;
*/
/* INHERITED: Compatible frames, if requested
* public String[] compatible_frames;
*/
/* INHERITED: Checksum for all the things that go into building the Model.
* public long checksum;
*/
/* INHERITED: Model key
* public ModelKeyV3 model_id;
*/
/* INHERITED: The algo name for this Model.
* public String algo;
*/
/* INHERITED: The pretty algo name for this Model (e.g., Generalized Linear Model, rather than GLM).
* public String algo_full_name;
*/
/* INHERITED: The response column name for this Model (if applicable). Is null otherwise.
* public String response_column_name;
*/
/* INHERITED: The Model's training frame key
* public FrameKeyV3 data_frame;
*/
/* INHERITED: Timestamp for when this model was completed
* public long timestamp;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/PCAParametersV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class PCAParametersV3 extends ModelParametersSchema {
/** Transformation of training data */
public TransformType transform;
/** Method for computing PCA (Caution: Power and GLRM are currently experimental and unstable) */
public Method pca_method;
/** Rank of matrix approximation */
public int k;
/** Maximum training iterations */
public int max_iterations;
/** RNG seed for initialization */
public long seed;
/** Whether first factor level is included in each categorical expansion */
public boolean use_all_factor_levels;
/** Whether to compute metrics on the training data */
public boolean compute_metrics;
/** Whether to impute missing entries with the column mean */
public boolean impute_missing;
/* INHERITED: Destination id for this model; auto-generated if not specified
* public ModelKeyV3 model_id;
*/
/* INHERITED: Training frame
* public FrameKeyV3 training_frame;
*/
/* INHERITED: Validation frame
* public FrameKeyV3 validation_frame;
*/
/* INHERITED: Number of folds for N-fold cross-validation
* public int nfolds;
*/
/* INHERITED: Keep cross-validation model predictions
* public boolean keep_cross_validation_predictions;
*/
/* INHERITED: Keep cross-validation fold assignment
* public boolean keep_cross_validation_fold_assignment;
*/
/* INHERITED: Allow parallel training of cross-validation models
* public boolean parallelize_cross_validation;
*/
/* INHERITED: Response column
* public ColSpecifierV3 response_column;
*/
/* INHERITED: Column with observation weights
* public ColSpecifierV3 weights_column;
*/
/* INHERITED: Offset column
* public ColSpecifierV3 offset_column;
*/
/* INHERITED: Column with cross-validation fold index assignment per observation
* public ColSpecifierV3 fold_column;
*/
/* INHERITED: Cross-validation fold assignment scheme, if fold_column is not specified
* public FoldAssignmentScheme fold_assignment;
*/
/* INHERITED: Ignored columns
* public String[] ignored_columns;
*/
/* INHERITED: Ignore constant columns
* public boolean ignore_const_cols;
*/
/* INHERITED: Whether to score during each iteration of model training
* public boolean score_each_iteration;
*/
/* INHERITED: Model checkpoint to resume training with
* public ModelKeyV3 checkpoint;
*/
/* INHERITED: Early stopping based on convergence of stopping_metric. Stop if simple moving average of length k of the stopping_metric does not improve for k:=stopping_rounds scoring events (0 to disable)
* public int stopping_rounds;
*/
/* INHERITED: Maximum allowed runtime in seconds for model training. Use 0 to disable.
* public double max_runtime_secs;
*/
/* INHERITED: Metric to use for early stopping (AUTO: logloss for classification, deviance for regression)
* public StoppingMetric stopping_metric;
*/
/* INHERITED: Relative tolerance for metric-based stopping criterion (stop if relative improvement is not at least this much)
* public double stopping_tolerance;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/PCAV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class PCAV3 extends ModelBuilderSchema {
/* INHERITED: Model builder parameters.
* public PCAParametersV3 parameters;
*/
/* INHERITED: The algo name for this ModelBuilder.
* public String algo;
*/
/* INHERITED: The pretty algo name for this ModelBuilder (e.g., Generalized Linear Model, rather than GLM).
* public String algo_full_name;
*/
/* INHERITED: Model categories this ModelBuilder can build.
* public ModelCategory[] can_build;
*/
/* INHERITED: Should the builder always be visible, be marked as beta, or only visible if the user starts up with the experimental flag?
* public BuilderVisibility visibility;
*/
/* INHERITED: Job Key
* public JobV3 job;
*/
/* INHERITED: Parameter validation messages
* public ValidationMessageV3[] messages;
*/
/* INHERITED: Count of parameter validation errors
* public int error_count;
*/
/* INHERITED: HTTP status to return for this build.
* public int __http_status;
*/
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/ParseSetupV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class ParseSetupV3 extends RequestSchema {
/** Source frames */
public FrameKeyV3[] source_frames;
/** Parser type */
public ParserType parse_type;
/** Field separator */
public byte separator;
/** Single quotes */
public boolean single_quotes;
/** Check header: 0 means guess, +1 means 1st line is header not data, -1 means 1st line is data not header */
public int check_header;
/** Column names */
public String[] column_names;
/** Value types for columns */
public String[] column_types;
/** NA strings for columns */
public String[][] na_strings;
/** Regex for names of columns to return */
public String column_name_filter;
/** Column offset to return */
public int column_offset;
/** Number of columns to return */
public int column_count;
/** Suggested name */
public String destination_frame;
/** Number of header lines found */
public long header_lines;
/** Number of columns */
public int number_columns;
/** Sample data */
public String[][] data;
/** Warnings */
public String[] warnings;
/** Size of individual parse tasks */
public int chunk_size;
/** Total number of columns we would return with no column pagination */
public int total_filtered_column_count;
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/ParseV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class ParseV3 extends RequestSchema {
/** Final frame name */
public FrameKeyV3 destination_frame;
/** Source frames */
public FrameKeyV3[] source_frames;
/** Parser type */
public ParserType parse_type;
/** Field separator */
public byte separator;
/** Single Quotes */
public boolean single_quotes;
/** Check header: 0 means guess, +1 means 1st line is header not data, -1 means 1st line is data not header */
public int check_header;
/** Number of columns */
public int number_columns;
/** Column names */
public String[] column_names;
/** Value types for columns */
public String[] column_types;
/** Domains for categorical columns */
public String[][] domains;
/** NA strings for columns */
public String[][] na_strings;
/** Size of individual parse tasks */
public int chunk_size;
/** Delete input key after parse */
public boolean delete_on_done;
/** Block until the parse completes (as opposed to returning early and requiring polling */
public boolean blocking;
/** Parse job */
public JobV3 job;
/** Rows */
public long rows;
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/ParserType.java
|
package water.bindings.pojos;
public enum ParserType {
GUESS,
ARFF,
XLS,
XLSX,
CSV,
SVMLight,
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/ProfilerNodeEntryV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class ProfilerNodeEntryV3 extends Schema {
/** Stack trace */
public String stacktrace;
/** Profile Count */
public int count;
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/ProfilerNodeV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class ProfilerNodeV3 extends Schema {
/** Node names */
public String node_name;
/** Timestamp (millis since epoch) */
public long timestamp;
/** Profile entry list */
public ProfilerNodeEntryV3[] entries;
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/ProfilerV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class ProfilerV3 extends RequestSchema {
/** Stack trace depth */
public int depth;
/** */
public ProfilerNodeV3[] nodes;
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/QuantileParametersV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class QuantileParametersV3 extends ModelParametersSchema {
/** Probabilities for quantiles */
public double[] probs;
/** How to combine quantiles for even sample sizes */
public CombineMethod combine_method;
/* INHERITED: Destination id for this model; auto-generated if not specified
* public ModelKeyV3 model_id;
*/
/* INHERITED: Training frame
* public FrameKeyV3 training_frame;
*/
/* INHERITED: Validation frame
* public FrameKeyV3 validation_frame;
*/
/* INHERITED: Number of folds for N-fold cross-validation
* public int nfolds;
*/
/* INHERITED: Keep cross-validation model predictions
* public boolean keep_cross_validation_predictions;
*/
/* INHERITED: Keep cross-validation fold assignment
* public boolean keep_cross_validation_fold_assignment;
*/
/* INHERITED: Allow parallel training of cross-validation models
* public boolean parallelize_cross_validation;
*/
/* INHERITED: Response column
* public ColSpecifierV3 response_column;
*/
/* INHERITED: Column with observation weights
* public ColSpecifierV3 weights_column;
*/
/* INHERITED: Offset column
* public ColSpecifierV3 offset_column;
*/
/* INHERITED: Column with cross-validation fold index assignment per observation
* public ColSpecifierV3 fold_column;
*/
/* INHERITED: Cross-validation fold assignment scheme, if fold_column is not specified
* public FoldAssignmentScheme fold_assignment;
*/
/* INHERITED: Ignored columns
* public String[] ignored_columns;
*/
/* INHERITED: Ignore constant columns
* public boolean ignore_const_cols;
*/
/* INHERITED: Whether to score during each iteration of model training
* public boolean score_each_iteration;
*/
/* INHERITED: Model checkpoint to resume training with
* public ModelKeyV3 checkpoint;
*/
/* INHERITED: Early stopping based on convergence of stopping_metric. Stop if simple moving average of length k of the stopping_metric does not improve for k:=stopping_rounds scoring events (0 to disable)
* public int stopping_rounds;
*/
/* INHERITED: Maximum allowed runtime in seconds for model training. Use 0 to disable.
* public double max_runtime_secs;
*/
/* INHERITED: Metric to use for early stopping (AUTO: logloss for classification, deviance for regression)
* public StoppingMetric stopping_metric;
*/
/* INHERITED: Relative tolerance for metric-based stopping criterion (stop if relative improvement is not at least this much)
* public double stopping_tolerance;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/QuantileV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class QuantileV3 extends ModelBuilderSchema {
/* INHERITED: Model builder parameters.
* public QuantileParametersV3 parameters;
*/
/* INHERITED: The algo name for this ModelBuilder.
* public String algo;
*/
/* INHERITED: The pretty algo name for this ModelBuilder (e.g., Generalized Linear Model, rather than GLM).
* public String algo_full_name;
*/
/* INHERITED: Model categories this ModelBuilder can build.
* public ModelCategory[] can_build;
*/
/* INHERITED: Should the builder always be visible, be marked as beta, or only visible if the user starts up with the experimental flag?
* public BuilderVisibility visibility;
*/
/* INHERITED: Job Key
* public JobV3 job;
*/
/* INHERITED: Parameter validation messages
* public ValidationMessageV3[] messages;
*/
/* INHERITED: Count of parameter validation errors
* public int error_count;
*/
/* INHERITED: HTTP status to return for this build.
* public int __http_status;
*/
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/RandomDiscreteValueSearchCriteriaV99.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class RandomDiscreteValueSearchCriteriaV99 extends HyperSpaceSearchCriteriaV99 {
/** Seed for random number generator; set to a value other than -1 for reproducibility. */
public long seed;
/** Maximum number of models to build (optional). */
public int max_models;
/** Maximum time to spend building models (optional). */
public double max_runtime_secs;
/** Early stopping based on convergence of stopping_metric. Stop if simple moving average of length k of the stopping_metric does not improve for k:=stopping_rounds scoring events (0 to disable) */
public int stopping_rounds;
/** Metric to use for early stopping (AUTO: logloss for classification, deviance for regression) */
public StoppingMetric stopping_metric;
/** Relative tolerance for metric-based stopping criterion Relative tolerance for metric-based stopping criterion (stop if relative improvement is not at least this much) */
public double stopping_tolerance;
/* INHERITED: Hyperparameter space search strategy.
* public Strategy strategy;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/RapidsFrameV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class RapidsFrameV3 extends RapidsSchema {
/** Frame result */
public FrameKeyV3 key;
/** Rows in Frame result */
public long num_rows;
/** Columns in Frame result */
public int num_cols;
/* INHERITED: An Abstract Syntax Tree.
* public String ast;
*/
/* INHERITED: Key name to assign Frame results
* public String id;
*/
/* INHERITED: Session key
* public String session_id;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/RapidsFunctionV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class RapidsFunctionV3 extends RapidsSchema {
/** Function result */
public String funstr;
/* INHERITED: An Abstract Syntax Tree.
* public String ast;
*/
/* INHERITED: Key name to assign Frame results
* public String id;
*/
/* INHERITED: Session key
* public String session_id;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/RapidsNumberV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class RapidsNumberV3 extends RapidsSchema {
/** Number result */
public double scalar;
/* INHERITED: An Abstract Syntax Tree.
* public String ast;
*/
/* INHERITED: Key name to assign Frame results
* public String id;
*/
/* INHERITED: Session key
* public String session_id;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/RapidsNumbersV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class RapidsNumbersV3 extends RapidsSchema {
/** Number array result */
public double[] scalar;
/* INHERITED: An Abstract Syntax Tree.
* public String ast;
*/
/* INHERITED: Key name to assign Frame results
* public String id;
*/
/* INHERITED: Session key
* public String session_id;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/RapidsSchema.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class RapidsSchema extends Schema {
/** An Abstract Syntax Tree. */
public String ast;
/** Key name to assign Frame results */
public String id;
/** Session key */
public String session_id;
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/RapidsStringV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class RapidsStringV3 extends RapidsSchema {
/** String result */
public String string;
/* INHERITED: An Abstract Syntax Tree.
* public String ast;
*/
/* INHERITED: Key name to assign Frame results
* public String id;
*/
/* INHERITED: Session key
* public String session_id;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/RapidsStringsV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class RapidsStringsV3 extends RapidsSchema {
/** String array result */
public String[] string;
/* INHERITED: An Abstract Syntax Tree.
* public String ast;
*/
/* INHERITED: Key name to assign Frame results
* public String id;
*/
/* INHERITED: Session key
* public String session_id;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/RapidsV99.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class RapidsV99 extends RequestSchema {
/** An Abstract Syntax Tree. */
public String ast;
/** Parsing error, if any */
public String error;
/** Scalar result */
public double scalar;
/** Function result */
public String funstr;
/** String result */
public String string;
/** Result key */
public FrameKeyV3 key;
/** Rows in Frame result */
public long num_rows;
/** Columns in Frame result */
public int num_cols;
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/Regularizer.java
|
package water.bindings.pojos;
public enum Regularizer {
None,
Quadratic,
L2,
L1,
NonNegative,
OneSparse,
UnitOneSparse,
Simplex,
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/RemoveAllV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class RemoveAllV3 extends RequestSchema {
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/RemoveV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class RemoveV3 extends RequestSchema {
/** Object to be removed. */
public KeyV3 key;
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/RequestSchema.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class RequestSchema extends Schema {
/** Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta" */
public String _exclude_fields;
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/RouteBase.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class RouteBase extends Schema {
/** */
public String http_method;
/** */
public String url_pattern;
/** */
public String summary;
/** */
public String handler_class;
/** */
public String handler_method;
/** */
public String input_schema;
/** */
public String output_schema;
/** */
public String doc_method;
/** */
public String[] path_params;
/** */
public String markdown;
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/RouteV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class RouteV3 extends RouteBase {
/* INHERITED:
* public String http_method;
*/
/* INHERITED:
* public String url_pattern;
*/
/* INHERITED:
* public String summary;
*/
/* INHERITED:
* public String handler_class;
*/
/* INHERITED:
* public String handler_method;
*/
/* INHERITED:
* public String input_schema;
*/
/* INHERITED:
* public String output_schema;
*/
/* INHERITED:
* public String doc_method;
*/
/* INHERITED:
* public String[] path_params;
*/
/* INHERITED:
* public String markdown;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/SVDModelOutputV99.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
import java.util.Map;
public class SVDModelOutputV99 extends ModelOutputSchema {
/** Frame key of right singular vectors */
public FrameKeyV3 v_key;
/** Singular values */
public double[] d;
/** Frame key of left singular vectors */
public FrameKeyV3 u_key;
/* INHERITED: Column names
* public String[] names;
*/
/* INHERITED: Domains for categorical columns
* public String[][] domains;
*/
/* INHERITED: Cross-validation models (model ids)
* public ModelKeyV3[] cross_validation_models;
*/
/* INHERITED: Cross-validation predictions, one per cv model (deprecated, use cross_validation_holdout_predictions_frame_id instead)
* public FrameKeyV3[] cross_validation_predictions;
*/
/* INHERITED: Cross-validation holdout predictions (full out-of-sample predictions on training data)
* public FrameKeyV3 cross_validation_holdout_predictions_frame_id;
*/
/* INHERITED: Cross-validation fold assignment (each row is assigned to one holdout fold)
* public FrameKeyV3 cross_validation_fold_assignment_frame_id;
*/
/* INHERITED: Category of the model (e.g., Binomial)
* public ModelCategory model_category;
*/
/* INHERITED: Model summary
* public TwoDimTableV3 model_summary;
*/
/* INHERITED: Scoring history
* public TwoDimTableV3 scoring_history;
*/
/* INHERITED: Training data model metrics
* public ModelMetricsBase training_metrics;
*/
/* INHERITED: Validation data model metrics
* public ModelMetricsBase validation_metrics;
*/
/* INHERITED: Cross-validation model metrics
* public ModelMetricsBase cross_validation_metrics;
*/
/* INHERITED: Cross-validation model metrics summary
* public TwoDimTableV3 cross_validation_metrics_summary;
*/
/* INHERITED: Job status
* public String status;
*/
/* INHERITED: Start time in milliseconds
* public long start_time;
*/
/* INHERITED: End time in milliseconds
* public long end_time;
*/
/* INHERITED: Runtime in milliseconds
* public long run_time;
*/
/* INHERITED: Help information for output fields
* public Map<String,String> help;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/SVDModelV99.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class SVDModelV99 extends ModelSchema {
/* INHERITED: The build parameters for the model (e.g. K for KMeans).
* public SVDParametersV99 parameters;
*/
/* INHERITED: The build output for the model (e.g. the cluster centers for KMeans).
* public SVDModelOutputV99 output;
*/
/* INHERITED: Compatible frames, if requested
* public String[] compatible_frames;
*/
/* INHERITED: Checksum for all the things that go into building the Model.
* public long checksum;
*/
/* INHERITED: Model key
* public ModelKeyV3 model_id;
*/
/* INHERITED: The algo name for this Model.
* public String algo;
*/
/* INHERITED: The pretty algo name for this Model (e.g., Generalized Linear Model, rather than GLM).
* public String algo_full_name;
*/
/* INHERITED: The response column name for this Model (if applicable). Is null otherwise.
* public String response_column_name;
*/
/* INHERITED: The Model's training frame key
* public FrameKeyV3 data_frame;
*/
/* INHERITED: Timestamp for when this model was completed
* public long timestamp;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/SVDParametersV99.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class SVDParametersV99 extends ModelParametersSchema {
/** Transformation of training data */
public TransformType transform;
/** Method for computing SVD (Caution: Power and Randomized are currently experimental and unstable) */
public Method svd_method;
/** Number of right singular vectors */
public int nv;
/** Maximum iterations */
public int max_iterations;
/** RNG seed for k-means++ initialization */
public long seed;
/** Save left singular vectors? */
public boolean keep_u;
/** Frame key to save left singular vectors */
public String u_name;
/** Whether first factor level is included in each categorical expansion */
public boolean use_all_factor_levels;
/* INHERITED: Destination id for this model; auto-generated if not specified
* public ModelKeyV3 model_id;
*/
/* INHERITED: Training frame
* public FrameKeyV3 training_frame;
*/
/* INHERITED: Validation frame
* public FrameKeyV3 validation_frame;
*/
/* INHERITED: Number of folds for N-fold cross-validation
* public int nfolds;
*/
/* INHERITED: Keep cross-validation model predictions
* public boolean keep_cross_validation_predictions;
*/
/* INHERITED: Keep cross-validation fold assignment
* public boolean keep_cross_validation_fold_assignment;
*/
/* INHERITED: Allow parallel training of cross-validation models
* public boolean parallelize_cross_validation;
*/
/* INHERITED: Response column
* public ColSpecifierV3 response_column;
*/
/* INHERITED: Column with observation weights
* public ColSpecifierV3 weights_column;
*/
/* INHERITED: Offset column
* public ColSpecifierV3 offset_column;
*/
/* INHERITED: Column with cross-validation fold index assignment per observation
* public ColSpecifierV3 fold_column;
*/
/* INHERITED: Cross-validation fold assignment scheme, if fold_column is not specified
* public FoldAssignmentScheme fold_assignment;
*/
/* INHERITED: Ignored columns
* public String[] ignored_columns;
*/
/* INHERITED: Ignore constant columns
* public boolean ignore_const_cols;
*/
/* INHERITED: Whether to score during each iteration of model training
* public boolean score_each_iteration;
*/
/* INHERITED: Model checkpoint to resume training with
* public ModelKeyV3 checkpoint;
*/
/* INHERITED: Early stopping based on convergence of stopping_metric. Stop if simple moving average of length k of the stopping_metric does not improve for k:=stopping_rounds scoring events (0 to disable)
* public int stopping_rounds;
*/
/* INHERITED: Maximum allowed runtime in seconds for model training. Use 0 to disable.
* public double max_runtime_secs;
*/
/* INHERITED: Metric to use for early stopping (AUTO: logloss for classification, deviance for regression)
* public StoppingMetric stopping_metric;
*/
/* INHERITED: Relative tolerance for metric-based stopping criterion (stop if relative improvement is not at least this much)
* public double stopping_tolerance;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/SVDV99.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class SVDV99 extends ModelBuilderSchema {
/* INHERITED: Model builder parameters.
* public SVDParametersV99 parameters;
*/
/* INHERITED: The algo name for this ModelBuilder.
* public String algo;
*/
/* INHERITED: The pretty algo name for this ModelBuilder (e.g., Generalized Linear Model, rather than GLM).
* public String algo_full_name;
*/
/* INHERITED: Model categories this ModelBuilder can build.
* public ModelCategory[] can_build;
*/
/* INHERITED: Should the builder always be visible, be marked as beta, or only visible if the user starts up with the experimental flag?
* public BuilderVisibility visibility;
*/
/* INHERITED: Job Key
* public JobV3 job;
*/
/* INHERITED: Parameter validation messages
* public ValidationMessageV3[] messages;
*/
/* INHERITED: Count of parameter validation errors
* public int error_count;
*/
/* INHERITED: HTTP status to return for this build.
* public int __http_status;
*/
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/Schema.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class Schema extends Object {
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/SchemaMetadataBase.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class SchemaMetadataBase extends Schema {
/** Version number of the Schema. */
public int version;
/** Simple name of the Schema. NOTE: the schema_names form a single namespace. */
public String name;
/** Simple name of the superclass of the Schema. NOTE: the schema_names form a single namespace. */
public String superclass;
/** Simple name of H2O type that this Schema represents. Must not be changed after creation (treat as final). */
public String type;
/** All the public fields of the schema */
public FieldMetadataBase[] fields;
/** Documentation for the schema in Markdown format with GitHub extensions */
public String markdown;
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/SchemaMetadataV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class SchemaMetadataV3 extends SchemaMetadataBase {
/* INHERITED: Version number of the Schema.
* public int version;
*/
/* INHERITED: Simple name of the Schema. NOTE: the schema_names form a single namespace.
* public String name;
*/
/* INHERITED: Simple name of the superclass of the Schema. NOTE: the schema_names form a single namespace.
* public String superclass;
*/
/* INHERITED: Simple name of H2O type that this Schema represents. Must not be changed after creation (treat as final).
* public String type;
*/
/* INHERITED: All the public fields of the schema
* public FieldMetadataV3[] fields;
*/
/* INHERITED: Documentation for the schema in Markdown format with GitHub extensions
* public String markdown;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/SharedTreeModelOutputV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
import java.util.Map;
public class SharedTreeModelOutputV3 extends ModelOutputSchema {
/** Variable Importances */
public TwoDimTableV3 variable_importances;
/** The Intercept term, the initial model function value to which trees make adjustments */
public double init_f;
/* INHERITED: Column names
* public String[] names;
*/
/* INHERITED: Domains for categorical columns
* public String[][] domains;
*/
/* INHERITED: Cross-validation models (model ids)
* public ModelKeyV3[] cross_validation_models;
*/
/* INHERITED: Cross-validation predictions, one per cv model (deprecated, use cross_validation_holdout_predictions_frame_id instead)
* public FrameKeyV3[] cross_validation_predictions;
*/
/* INHERITED: Cross-validation holdout predictions (full out-of-sample predictions on training data)
* public FrameKeyV3 cross_validation_holdout_predictions_frame_id;
*/
/* INHERITED: Cross-validation fold assignment (each row is assigned to one holdout fold)
* public FrameKeyV3 cross_validation_fold_assignment_frame_id;
*/
/* INHERITED: Category of the model (e.g., Binomial)
* public ModelCategory model_category;
*/
/* INHERITED: Model summary
* public TwoDimTableV3 model_summary;
*/
/* INHERITED: Scoring history
* public TwoDimTableV3 scoring_history;
*/
/* INHERITED: Training data model metrics
* public ModelMetricsBase training_metrics;
*/
/* INHERITED: Validation data model metrics
* public ModelMetricsBase validation_metrics;
*/
/* INHERITED: Cross-validation model metrics
* public ModelMetricsBase cross_validation_metrics;
*/
/* INHERITED: Cross-validation model metrics summary
* public TwoDimTableV3 cross_validation_metrics_summary;
*/
/* INHERITED: Job status
* public String status;
*/
/* INHERITED: Start time in milliseconds
* public long start_time;
*/
/* INHERITED: End time in milliseconds
* public long end_time;
*/
/* INHERITED: Runtime in milliseconds
* public long run_time;
*/
/* INHERITED: Help information for output fields
* public Map<String,String> help;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/SharedTreeModelV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class SharedTreeModelV3 extends ModelSchema {
/* INHERITED: The build parameters for the model (e.g. K for KMeans).
* public ModelParametersSchema parameters;
*/
/* INHERITED: The build output for the model (e.g. the cluster centers for KMeans).
* public ModelOutputSchema output;
*/
/* INHERITED: Compatible frames, if requested
* public String[] compatible_frames;
*/
/* INHERITED: Checksum for all the things that go into building the Model.
* public long checksum;
*/
/* INHERITED: Model key
* public ModelKeyV3 model_id;
*/
/* INHERITED: The algo name for this Model.
* public String algo;
*/
/* INHERITED: The pretty algo name for this Model (e.g., Generalized Linear Model, rather than GLM).
* public String algo_full_name;
*/
/* INHERITED: The response column name for this Model (if applicable). Is null otherwise.
* public String response_column_name;
*/
/* INHERITED: The Model's training frame key
* public FrameKeyV3 data_frame;
*/
/* INHERITED: Timestamp for when this model was completed
* public long timestamp;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/SharedTreeParametersV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class SharedTreeParametersV3 extends ModelParametersSchema {
/** Balance training data class counts via over/under-sampling (for imbalanced data). */
public boolean balance_classes;
/** Desired over/under-sampling ratios per class (in lexicographic order). If not specified, sampling factors will be automatically computed to obtain class balance during training. Requires balance_classes. */
public float[] class_sampling_factors;
/** Maximum relative size of the training data after balancing class counts (can be less than 1.0). Requires balance_classes. */
public float max_after_balance_size;
/** Maximum size (# classes) for confusion matrices to be printed in the Logs */
public int max_confusion_matrix_size;
/** Max. number (top K) of predictions to use for hit ratio computation (for multi-class only, 0 to disable) */
public int max_hit_ratio_k;
/** Number of trees. */
public int ntrees;
/** Maximum tree depth. */
public int max_depth;
/** Fewest allowed (weighted) observations in a leaf (in R called 'nodesize'). */
public double min_rows;
/** For numerical columns (real/int), build a histogram of (at least) this many bins, then split at the best point */
public int nbins;
/** For numerical columns (real/int), build a histogram of (at most) this many bins at the root level, then decrease by factor of two per level */
public int nbins_top_level;
/** For categorical columns (factors), build a histogram of this many bins, then split at the best point. Higher values can lead to more overfitting. */
public int nbins_cats;
/** Stop making trees when the R^2 metric equals or exceeds this */
public double r2_stopping;
/** Seed for pseudo random number generator (if applicable) */
public long seed;
/** Run on one node only; no network overhead but fewer cpus used. Suitable for small datasets. */
public boolean build_tree_one_node;
/** Row sample rate per tree (from 0.0 to 1.0) */
public float sample_rate;
/** Row sample rate per tree per class (from 0.0 to 1.0) */
public float[] sample_rate_per_class;
/** Column sample rate per tree (from 0.0 to 1.0) */
public float col_sample_rate_per_tree;
/** Score the model after every so many trees. Disabled if set to 0. */
public int score_tree_interval;
/** Minimum relative improvement in squared error reduction for a split to happen. */
public double min_split_improvement;
/* INHERITED: Destination id for this model; auto-generated if not specified
* public ModelKeyV3 model_id;
*/
/* INHERITED: Training frame
* public FrameKeyV3 training_frame;
*/
/* INHERITED: Validation frame
* public FrameKeyV3 validation_frame;
*/
/* INHERITED: Number of folds for N-fold cross-validation
* public int nfolds;
*/
/* INHERITED: Keep cross-validation model predictions
* public boolean keep_cross_validation_predictions;
*/
/* INHERITED: Keep cross-validation fold assignment
* public boolean keep_cross_validation_fold_assignment;
*/
/* INHERITED: Allow parallel training of cross-validation models
* public boolean parallelize_cross_validation;
*/
/* INHERITED: Response column
* public ColSpecifierV3 response_column;
*/
/* INHERITED: Column with observation weights
* public ColSpecifierV3 weights_column;
*/
/* INHERITED: Offset column
* public ColSpecifierV3 offset_column;
*/
/* INHERITED: Column with cross-validation fold index assignment per observation
* public ColSpecifierV3 fold_column;
*/
/* INHERITED: Cross-validation fold assignment scheme, if fold_column is not specified
* public FoldAssignmentScheme fold_assignment;
*/
/* INHERITED: Ignored columns
* public String[] ignored_columns;
*/
/* INHERITED: Ignore constant columns
* public boolean ignore_const_cols;
*/
/* INHERITED: Whether to score during each iteration of model training
* public boolean score_each_iteration;
*/
/* INHERITED: Model checkpoint to resume training with
* public ModelKeyV3 checkpoint;
*/
/* INHERITED: Early stopping based on convergence of stopping_metric. Stop if simple moving average of length k of the stopping_metric does not improve for k:=stopping_rounds scoring events (0 to disable)
* public int stopping_rounds;
*/
/* INHERITED: Maximum allowed runtime in seconds for model training. Use 0 to disable.
* public double max_runtime_secs;
*/
/* INHERITED: Metric to use for early stopping (AUTO: logloss for classification, deviance for regression)
* public StoppingMetric stopping_metric;
*/
/* INHERITED: Relative tolerance for metric-based stopping criterion (stop if relative improvement is not at least this much)
* public double stopping_tolerance;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/SharedTreeV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class SharedTreeV3 extends ModelBuilderSchema {
/* INHERITED: Model builder parameters.
* public ModelParametersSchema parameters;
*/
/* INHERITED: The algo name for this ModelBuilder.
* public String algo;
*/
/* INHERITED: The pretty algo name for this ModelBuilder (e.g., Generalized Linear Model, rather than GLM).
* public String algo_full_name;
*/
/* INHERITED: Model categories this ModelBuilder can build.
* public ModelCategory[] can_build;
*/
/* INHERITED: Should the builder always be visible, be marked as beta, or only visible if the user starts up with the experimental flag?
* public BuilderVisibility visibility;
*/
/* INHERITED: Job Key
* public JobV3 job;
*/
/* INHERITED: Parameter validation messages
* public ValidationMessageV3[] messages;
*/
/* INHERITED: Count of parameter validation errors
* public int error_count;
*/
/* INHERITED: HTTP status to return for this build.
* public int __http_status;
*/
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/ShutdownV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class ShutdownV3 extends RequestSchema {
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/Solver.java
|
package water.bindings.pojos;
public enum Solver {
AUTO,
IRLSM,
L_BFGS,
COORDINATE_DESCENT_NAIVE,
COORDINATE_DESCENT,
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/SplitFrameV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class SplitFrameV3 extends RequestSchema {
/** Job Key */
public JobKeyV3 key;
/** Dataset */
public FrameKeyV3 dataset;
/** Split ratios - resulting number of split is ratios.length+1 */
public double[] ratios;
/** Destination keys for each output frame split. */
public FrameKeyV3[] destination_frames;
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/StoppingMetric.java
|
package water.bindings.pojos;
public enum StoppingMetric {
AUTO,
deviance,
logloss,
MSE,
AUC,
lift_top_group,
r2,
misclassification,
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/Strategy.java
|
package water.bindings.pojos;
public enum Strategy {
Unknown,
Cartesian,
RandomDiscrete,
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/StreamingSchema.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class StreamingSchema extends Schema {
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/SynonymV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class SynonymV3 extends Schema {
/** A word2vec model key. */
public ModelKeyV3 key;
/** The target string to find synonyms. */
public String target;
/** Find the top `cnt` synonyms of the target word. */
public int cnt;
/** The synonyms. */
public String[] synonyms;
/** The cosine similarities. */
public float[] cos_sim;
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/TabulateV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class TabulateV3 extends RequestSchema {
/** Dataset */
public FrameKeyV3 dataset;
/** Predictor */
public ColSpecifierV3 predictor;
/** Response */
public ColSpecifierV3 response;
/** Observation weights (optional) */
public ColSpecifierV3 weight;
/** Number of bins for predictor column */
public int nbins_predictor;
/** Number of bins for response column */
public int nbins_response;
/** Counts table */
public TwoDimTableV3 count_table;
/** Response table */
public TwoDimTableV3 response_table;
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/TimelineV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class TimelineV3 extends RequestSchema {
/** Current time in millis. */
public long now;
/** This node */
public String self;
/** recorded timeline events */
public EventV3[] events;
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/TransformType.java
|
package water.bindings.pojos;
public enum TransformType {
NONE,
STANDARDIZE,
NORMALIZE,
DEMEAN,
DESCALE,
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/TreeStatsV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class TreeStatsV3 extends Schema {
/** minDepth */
public int min_depth;
/** maxDepth */
public int max_depth;
/** meanDepth */
public float mean_depth;
/** minLeaves */
public int min_leaves;
/** maxLeaves */
public int max_leaves;
/** meanLeaves */
public float mean_leaves;
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/TwoDimTableBase.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class TwoDimTableBase extends Schema {
/** Table Name */
public String name;
/** Table Description */
public String description;
/** Column Specification */
public ColumnSpecsBase[] columns;
/** Number of Rows */
public int rowcount;
/** Table Data (col-major) */
public Object data;
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/TwoDimTableV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class TwoDimTableV3 extends TwoDimTableBase {
/* INHERITED: Table Name
* public String name;
*/
/* INHERITED: Table Description
* public String description;
*/
/* INHERITED: Column Specification
* public ColumnSpecsBase[] columns;
*/
/* INHERITED: Number of Rows
* public int rowcount;
*/
/* INHERITED: Table Data (col-major)
* public Object data;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/TypeaheadV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class TypeaheadV3 extends RequestSchema {
/** training_frame */
public String src;
/** limit */
public int limit;
/** matches */
public String[] matches;
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/UnlockKeysV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class UnlockKeysV3 extends RequestSchema {
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/ValidationMessageBase.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class ValidationMessageBase extends Schema {
/** Type of validation message (ERROR, WARN, INFO, HIDE) */
public String message_type;
/** Field to which the message applies */
public String field_name;
/** Message text */
public String message;
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/ValidationMessageV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class ValidationMessageV3 extends ValidationMessageBase {
/* INHERITED: Type of validation message (ERROR, WARN, INFO, HIDE)
* public String message_type;
*/
/* INHERITED: Field to which the message applies
* public String field_name;
*/
/* INHERITED: Message text
* public String message;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/VarImpBase.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class VarImpBase extends Schema {
/** Variable importance of individual variables */
public float[] varimp;
/** Names of variables */
public String[] names;
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/VarImpV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class VarImpV3 extends VarImpBase {
/* INHERITED: Variable importance of individual variables
* public float[] varimp;
*/
/* INHERITED: Names of variables
* public String[] names;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/WaterMeterCpuTicksV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class WaterMeterCpuTicksV3 extends RequestSchema {
/** Index of node to query ticks for (0-based) */
public int nodeidx;
/** array of tick counts per core */
public long[][] cpu_ticks;
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/WaterMeterIoV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class WaterMeterIoV3 extends RequestSchema {
/** Index of node to query ticks for (0-based) */
public int nodeidx;
/** array of IO info */
public IoStatsEntry[] persist_stats;
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/Word2VecModelOutputV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
import java.util.Map;
public class Word2VecModelOutputV3 extends ModelOutputSchema {
/* INHERITED: Column names
* public String[] names;
*/
/* INHERITED: Domains for categorical columns
* public String[][] domains;
*/
/* INHERITED: Cross-validation models (model ids)
* public ModelKeyV3[] cross_validation_models;
*/
/* INHERITED: Cross-validation predictions, one per cv model (deprecated, use cross_validation_holdout_predictions_frame_id instead)
* public FrameKeyV3[] cross_validation_predictions;
*/
/* INHERITED: Cross-validation holdout predictions (full out-of-sample predictions on training data)
* public FrameKeyV3 cross_validation_holdout_predictions_frame_id;
*/
/* INHERITED: Cross-validation fold assignment (each row is assigned to one holdout fold)
* public FrameKeyV3 cross_validation_fold_assignment_frame_id;
*/
/* INHERITED: Category of the model (e.g., Binomial)
* public ModelCategory model_category;
*/
/* INHERITED: Model summary
* public TwoDimTableV3 model_summary;
*/
/* INHERITED: Scoring history
* public TwoDimTableV3 scoring_history;
*/
/* INHERITED: Training data model metrics
* public ModelMetricsBase training_metrics;
*/
/* INHERITED: Validation data model metrics
* public ModelMetricsBase validation_metrics;
*/
/* INHERITED: Cross-validation model metrics
* public ModelMetricsBase cross_validation_metrics;
*/
/* INHERITED: Cross-validation model metrics summary
* public TwoDimTableV3 cross_validation_metrics_summary;
*/
/* INHERITED: Job status
* public String status;
*/
/* INHERITED: Start time in milliseconds
* public long start_time;
*/
/* INHERITED: End time in milliseconds
* public long end_time;
*/
/* INHERITED: Runtime in milliseconds
* public long run_time;
*/
/* INHERITED: Help information for output fields
* public Map<String,String> help;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/Word2VecModelV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class Word2VecModelV3 extends ModelSchema {
/* INHERITED: The build parameters for the model (e.g. K for KMeans).
* public Word2VecParametersV3 parameters;
*/
/* INHERITED: The build output for the model (e.g. the cluster centers for KMeans).
* public Word2VecModelOutputV3 output;
*/
/* INHERITED: Compatible frames, if requested
* public String[] compatible_frames;
*/
/* INHERITED: Checksum for all the things that go into building the Model.
* public long checksum;
*/
/* INHERITED: Model key
* public ModelKeyV3 model_id;
*/
/* INHERITED: The algo name for this Model.
* public String algo;
*/
/* INHERITED: The pretty algo name for this Model (e.g., Generalized Linear Model, rather than GLM).
* public String algo_full_name;
*/
/* INHERITED: The response column name for this Model (if applicable). Is null otherwise.
* public String response_column_name;
*/
/* INHERITED: The Model's training frame key
* public FrameKeyV3 data_frame;
*/
/* INHERITED: Timestamp for when this model was completed
* public long timestamp;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/Word2VecParametersV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class Word2VecParametersV3 extends ModelParametersSchema {
/** Set size of word vectors */
public int vecSize;
/** Set max skip length between words */
public int windowSize;
/** Set threshold for occurrence of words. Those that appear with higher frequency in the training data
will be randomly down-sampled; useful range is (0, 1e-5) */
public float sentSampleRate;
/** Use Hierarchical Softmax or Negative Sampling */
public NormModel normModel;
/** Number of negative examples, common values are 3 - 10 (0 = not used) */
public int negSampleCnt;
/** Number of training iterations to run */
public int epochs;
/** This will discard words that appear less than <int> times */
public int minWordFreq;
/** Set the starting learning rate */
public float initLearningRate;
/** Use the continuous bag of words model or the Skip-Gram model */
public WordModel wordModel;
/* INHERITED: Destination id for this model; auto-generated if not specified
* public ModelKeyV3 model_id;
*/
/* INHERITED: Training frame
* public FrameKeyV3 training_frame;
*/
/* INHERITED: Validation frame
* public FrameKeyV3 validation_frame;
*/
/* INHERITED: Number of folds for N-fold cross-validation
* public int nfolds;
*/
/* INHERITED: Keep cross-validation model predictions
* public boolean keep_cross_validation_predictions;
*/
/* INHERITED: Keep cross-validation fold assignment
* public boolean keep_cross_validation_fold_assignment;
*/
/* INHERITED: Allow parallel training of cross-validation models
* public boolean parallelize_cross_validation;
*/
/* INHERITED: Response column
* public ColSpecifierV3 response_column;
*/
/* INHERITED: Column with observation weights
* public ColSpecifierV3 weights_column;
*/
/* INHERITED: Offset column
* public ColSpecifierV3 offset_column;
*/
/* INHERITED: Column with cross-validation fold index assignment per observation
* public ColSpecifierV3 fold_column;
*/
/* INHERITED: Cross-validation fold assignment scheme, if fold_column is not specified
* public FoldAssignmentScheme fold_assignment;
*/
/* INHERITED: Ignored columns
* public String[] ignored_columns;
*/
/* INHERITED: Ignore constant columns
* public boolean ignore_const_cols;
*/
/* INHERITED: Whether to score during each iteration of model training
* public boolean score_each_iteration;
*/
/* INHERITED: Model checkpoint to resume training with
* public ModelKeyV3 checkpoint;
*/
/* INHERITED: Early stopping based on convergence of stopping_metric. Stop if simple moving average of length k of the stopping_metric does not improve for k:=stopping_rounds scoring events (0 to disable)
* public int stopping_rounds;
*/
/* INHERITED: Maximum allowed runtime in seconds for model training. Use 0 to disable.
* public double max_runtime_secs;
*/
/* INHERITED: Metric to use for early stopping (AUTO: logloss for classification, deviance for regression)
* public StoppingMetric stopping_metric;
*/
/* INHERITED: Relative tolerance for metric-based stopping criterion (stop if relative improvement is not at least this much)
* public double stopping_tolerance;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/Word2VecV3.java
|
package water.bindings.pojos;
import com.google.gson.Gson;
public class Word2VecV3 extends ModelBuilderSchema {
/* INHERITED: Model builder parameters.
* public Word2VecParametersV3 parameters;
*/
/* INHERITED: The algo name for this ModelBuilder.
* public String algo;
*/
/* INHERITED: The pretty algo name for this ModelBuilder (e.g., Generalized Linear Model, rather than GLM).
* public String algo_full_name;
*/
/* INHERITED: Model categories this ModelBuilder can build.
* public ModelCategory[] can_build;
*/
/* INHERITED: Should the builder always be visible, be marked as beta, or only visible if the user starts up with the experimental flag?
* public BuilderVisibility visibility;
*/
/* INHERITED: Job Key
* public JobV3 job;
*/
/* INHERITED: Parameter validation messages
* public ValidationMessageV3[] messages;
*/
/* INHERITED: Count of parameter validation errors
* public int error_count;
*/
/* INHERITED: HTTP status to return for this build.
* public int __http_status;
*/
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
* public String _exclude_fields;
*/
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/pojos/WordModel.java
|
package water.bindings.pojos;
public enum WordModel {
CBOW,
SkipGram,
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/About.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface About {
/** Return information about this H2O cluster. */
@GET("/3/About")
Call<AboutV3> get();
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/Assembly.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface Assembly {
/** Generate a Java POJO from the Assembly */
@GET("/99/Assembly.java/{assembly_id}/{pojo_name}")
Call<AssemblyV99> toJava(@Path("assembly_id") String assembly_id,
@Path("pojo_name") String pojo_name);
/** Fit an assembly to an input frame */
@FormUrlEncoded
@POST("/99/Assembly")
Call<AssemblyV99> fit(@Field("steps") String[] steps,
@Field("frame") String frame,
@Field("pojo_name") String pojo_name,
@Field("assembly_id") String assembly_id,
@Field("result") String result,
@Field("assembly") String assembly,
@Field("_exclude_fields") String _exclude_fields);
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/Cloud.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface Cloud {
/** Determine the status of the nodes in the H2O cloud. */
@GET("/3/Cloud")
Call<CloudV3> status();
/** Determine the status of the nodes in the H2O cloud. */
@HEAD("/3/Cloud")
Call<CloudV3> head();
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/CreateFrame.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface CreateFrame {
/** Create a synthetic H2O Frame. */
@FormUrlEncoded
@POST("/3/CreateFrame")
Call<JobV3> run(@Field("dest") String dest,
@Field("rows") long rows,
@Field("cols") int cols,
@Field("seed") long seed,
@Field("seed_for_column_types") long seed_for_column_types,
@Field("randomize") boolean randomize,
@Field("value") long value,
@Field("real_range") long real_range,
@Field("categorical_fraction") double categorical_fraction,
@Field("factors") int factors,
@Field("integer_fraction") double integer_fraction,
@Field("integer_range") long integer_range,
@Field("binary_fraction") double binary_fraction,
@Field("binary_ones_fraction") double binary_ones_fraction,
@Field("time_fraction") double time_fraction,
@Field("string_fraction") double string_fraction,
@Field("missing_fraction") double missing_fraction,
@Field("response_factors") int response_factors,
@Field("has_response") boolean has_response,
@Field("_exclude_fields") String _exclude_fields);
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/DCTTransformer.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface DCTTransformer {
/** Row-by-Row discrete cosine transforms in 1D, 2D and 3D. */
@FormUrlEncoded
@POST("/99/DCTTransformer")
Call<JobV3> run(@Field("dataset") String dataset,
@Field("destination_frame") String destination_frame,
@Field("dimensions") int[] dimensions,
@Field("inverse") boolean inverse,
@Field("_exclude_fields") String _exclude_fields);
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/DKV.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface DKV {
/** Remove an arbitrary key from the H2O distributed K/V store. */
@DELETE("/3/DKV/{key}")
Call<RemoveV3> remove(@Path("key") String key);
/** Remove all keys from the H2O distributed K/V store. */
@DELETE("/3/DKV")
Call<RemoveAllV3> remove();
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/DataInfoFrame.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface DataInfoFrame {
/** test only */
@FormUrlEncoded
@POST("/3/DataInfoFrame")
Call<DataInfoFrameV3> getDataInfoFrame(@Field("frame") String frame,
@Field("interactions") String[] interactions,
@Field("use_all") boolean use_all,
@Field("standardize") boolean standardize,
@Field("interactions_only") boolean interactions_only);
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/DownloadDataset.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface DownloadDataset {
/** Download dataset as a CSV. */
@GET("/3/DownloadDataset")
Call<DownloadDataV3> fetch();
/** Download dataset as a CSV. */
@GET("/3/DownloadDataset.bin")
Call<DownloadDataV3> fetchStreaming();
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/Example.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import com.google.gson.*;
import retrofit2.*;
import retrofit2.http.*;
import retrofit2.converter.gson.GsonConverterFactory;
import retrofit2.Call;
import java.io.IOException;
import java.lang.reflect.Type;
public class Example {
/**
* Keys get sent as Strings and returned as objects also containing the type and URL,
* so they need a custom GSON serializer.
*/
private static class KeySerializer implements JsonSerializer<KeyV3> {
public JsonElement serialize(KeyV3 key, Type typeOfKey, JsonSerializationContext context) {
return new JsonPrimitive(key.name);
}
}
public static JobV3 poll(Retrofit retrofit, String job_id) {
Jobs jobsService = retrofit.create(Jobs.class);
Response<JobsV3> jobs_response = null;
int retries = 3;
JobsV3 jobs = null;
do {
try {
jobs_response = jobsService.fetch(job_id).execute();
}
catch (IOException e) {
System.err.println("Caught exception: " + e);
}
if (! jobs_response.isSuccessful())
if (retries-- > 0)
continue;
else
throw new RuntimeException("/3/Jobs/{job_id} failed 3 times.");
jobs = jobs_response.body();
if (null == jobs.jobs || jobs.jobs.length != 1)
throw new RuntimeException("Failed to find Job: " + job_id);
if (! "RUNNING".equals(jobs.jobs[0].status)) try { Thread.sleep(100); } catch (InterruptedException e) {} // wait 100mS
} while ("RUNNING".equals(jobs.jobs[0].status));
return jobs.jobs[0];
}
public static void main (String[] args) {
Gson gson = new GsonBuilder().registerTypeAdapter(KeyV3.class, new KeySerializer()).create();
Retrofit retrofit = new Retrofit.Builder()
.baseUrl("http://localhost:54321/") // note trailing slash for Retrofit 2
.addConverterFactory(GsonConverterFactory.create(gson))
.build();
CreateFrame createFrameService = retrofit.create(CreateFrame.class);
Frames framesService = retrofit.create(Frames.class);
Models modelsService = retrofit.create(Models.class);
try {
// NOTE: the Call objects returned by the service can't be reused, but they can be cloned.
Response<FramesV3> all_frames_response = framesService.list().execute();
Response<ModelsV3> all_models_response = modelsService.list().execute();
if (all_frames_response.isSuccessful()) {
FramesV3 all_frames = all_frames_response.body();
System.out.println("All Frames: ");
System.out.println(all_frames);
} else {
System.err.println("framesService.list() failed");
}
if (all_models_response.isSuccessful()) {
ModelsV3 all_models = all_models_response.body();
System.out.println("All Models: ");
System.out.println(all_models);
} else {
System.err.println("modelsService.list() failed");
}
Response<JobV3> create_frame_response = createFrameService.run(null, 1000, 100, 42, 42, true, 0, 100000, 0.2, 100, 0.2, 32767, 0.2, 0.5, 0.2, 0, 0.2, 2, true, null).execute();
if (create_frame_response.isSuccessful()) {
JobV3 job = create_frame_response.body();
if (null == job || null == job.key)
throw new RuntimeException("CreateFrame returned a bad Job: " + job);
job = poll(retrofit, job.key.name);
KeyV3 new_frame = job.dest;
System.out.println("Created frame: " + new_frame);
all_frames_response = framesService.list().execute();
if (all_frames_response.isSuccessful()) {
FramesV3 all_frames = all_frames_response.body();
System.out.println("All Frames (after createFrame): ");
System.out.println(all_frames);
} else {
System.err.println("framesService.list() failed");
}
Response<FramesV3> one_frame_response = framesService.fetch(new_frame.name).execute();
if (one_frame_response.isSuccessful()) {
FramesV3 one_frames = one_frame_response.body();
System.out.println("One Frame (after createFrame): ");
System.out.println(one_frames);
} else {
System.err.println("framesService.fetch() failed");
}
} else {
System.err.println("createFrameService.run() failed");
}
}
catch (IOException e) {
System.err.println("Caught exception: " + e);
}
}
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/Find.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface Find {
/** Find a value within a Frame. */
@GET("/3/Find")
Call<FindV3> find();
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/Frames.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface Frames {
/** Export a Frame to the given path with optional overwrite. */
@GET("/3/Frames/{frame_id}/export/{path}/overwrite/{force}")
Call<FramesV3> export(@Path("frame_id") String frame_id,
@Path("path") String path,
@Path("force") boolean force);
/** Export a Frame to the given path with optional overwrite. */
@FormUrlEncoded
@POST("/3/Frames/{frame_id}/export")
Call<FramesV3> export(@Path("frame_id") String frame_id,
@Field("column") String column,
@Field("row_offset") long row_offset,
@Field("row_count") int row_count,
@Field("column_offset") int column_offset,
@Field("column_count") int column_count,
@Field("find_compatible_models") boolean find_compatible_models,
@Field("path") String path,
@Field("force") boolean force,
@Field("_exclude_fields") String _exclude_fields);
/** Return the summary metrics for a column, e.g. mins, maxes, mean, sigma, percentiles, etc. */
@GET("/3/Frames/{frame_id}/columns/{column}/summary")
Call<FramesV3> columnSummary(@Path("frame_id") String frame_id,
@Path("column") String column);
/** Return the domains for the specified column. "null" if the column is not a categorical. */
@GET("/3/Frames/{frame_id}/columns/{column}/domain")
Call<FramesV3> columnDomain(@Path("frame_id") String frame_id,
@Path("column") String column);
/** Return the specified column from a Frame. */
@GET("/3/Frames/{frame_id}/columns/{column}")
Call<FramesV3> column(@Path("frame_id") String frame_id,
@Path("column") String column);
/** Return all the columns from a Frame. */
@GET("/3/Frames/{frame_id}/columns")
Call<FramesV3> columns(@Path("frame_id") String frame_id);
/** Return a Frame, including the histograms, after forcing computation of rollups. */
@GET("/3/Frames/{frame_id}/summary")
Call<FramesV3> summary(@Path("frame_id") String frame_id);
/** Return the specified Frame. */
@GET("/3/Frames/{frame_id}")
Call<FramesV3> fetch(@Path("frame_id") String frame_id);
/** Return all Frames in the H2O distributed K/V store. */
@GET("/3/Frames")
Call<FramesV3> list();
/** Delete the specified Frame from the H2O distributed K/V store. */
@DELETE("/3/Frames/{frame_id}")
Call<FramesV3> delete(@Path("frame_id") String frame_id);
/** Delete all Frames from the H2O distributed K/V store. */
@DELETE("/3/Frames")
Call<FramesV3> deleteAll();
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/GarbageCollect.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface GarbageCollect {
/** Explicitly call System.gc(). */
@FormUrlEncoded
@POST("/3/GarbageCollect")
Call<GarbageCollectV3> gc();
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/Grid.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface Grid {
/** Run grid search for DeepLearning model. */
@FormUrlEncoded
@POST("/99/Grid/deeplearning")
Call<GridSearchSchema> train_deeplearning(@Field("parameters") ModelParametersSchema parameters,
@Field("hyper_parameters") Map<Object,Object> hyper_parameters,
@Field("grid_id") String grid_id,
@Field("search_criteria") HyperSpaceSearchCriteriaV99 search_criteria);
/** Run grid search for GLM model. */
@FormUrlEncoded
@POST("/99/Grid/glm")
Call<GridSearchSchema> train_glm(@Field("parameters") ModelParametersSchema parameters,
@Field("hyper_parameters") Map<Object,Object> hyper_parameters,
@Field("grid_id") String grid_id,
@Field("search_criteria") HyperSpaceSearchCriteriaV99 search_criteria);
/** Run grid search for GLRM model. */
@FormUrlEncoded
@POST("/99/Grid/glrm")
Call<GridSearchSchema> train_glrm(@Field("parameters") ModelParametersSchema parameters,
@Field("hyper_parameters") Map<Object,Object> hyper_parameters,
@Field("grid_id") String grid_id,
@Field("search_criteria") HyperSpaceSearchCriteriaV99 search_criteria);
/** Run grid search for KMeans model. */
@FormUrlEncoded
@POST("/99/Grid/kmeans")
Call<GridSearchSchema> train_kmeans(@Field("parameters") ModelParametersSchema parameters,
@Field("hyper_parameters") Map<Object,Object> hyper_parameters,
@Field("grid_id") String grid_id,
@Field("search_criteria") HyperSpaceSearchCriteriaV99 search_criteria);
/** Run grid search for NaiveBayes model. */
@FormUrlEncoded
@POST("/99/Grid/naivebayes")
Call<GridSearchSchema> train_naivebayes(@Field("parameters") ModelParametersSchema parameters,
@Field("hyper_parameters") Map<Object,Object> hyper_parameters,
@Field("grid_id") String grid_id,
@Field("search_criteria") HyperSpaceSearchCriteriaV99 search_criteria);
/** Run grid search for PCA model. */
@FormUrlEncoded
@POST("/99/Grid/pca")
Call<GridSearchSchema> train_pca(@Field("parameters") ModelParametersSchema parameters,
@Field("hyper_parameters") Map<Object,Object> hyper_parameters,
@Field("grid_id") String grid_id,
@Field("search_criteria") HyperSpaceSearchCriteriaV99 search_criteria);
/** Run grid search for SVD model. */
@FormUrlEncoded
@POST("/99/Grid/svd")
Call<GridSearchSchema> train_svd(@Field("parameters") ModelParametersSchema parameters,
@Field("hyper_parameters") Map<Object,Object> hyper_parameters,
@Field("grid_id") String grid_id,
@Field("search_criteria") HyperSpaceSearchCriteriaV99 search_criteria);
/** Run grid search for DRF model. */
@FormUrlEncoded
@POST("/99/Grid/drf")
Call<GridSearchSchema> train_drf(@Field("parameters") ModelParametersSchema parameters,
@Field("hyper_parameters") Map<Object,Object> hyper_parameters,
@Field("grid_id") String grid_id,
@Field("search_criteria") HyperSpaceSearchCriteriaV99 search_criteria);
/** Run grid search for GBM model. */
@FormUrlEncoded
@POST("/99/Grid/gbm")
Call<GridSearchSchema> train_gbm(@Field("parameters") ModelParametersSchema parameters,
@Field("hyper_parameters") Map<Object,Object> hyper_parameters,
@Field("grid_id") String grid_id,
@Field("search_criteria") HyperSpaceSearchCriteriaV99 search_criteria);
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/Grids.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface Grids {
/** Return the specified grid search result. */
@GET("/99/Grids/{grid_id}")
Call<GridSchemaV99> fetch(@Path("grid_id") String grid_id);
/** Return all grids from H2O distributed K/V store. */
@GET("/99/Grids")
Call<GridsV99> list();
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/ImportFiles.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface ImportFiles {
/** Import raw data files into a single-column H2O Frame. */
@GET("/3/ImportFiles")
Call<ImportFilesV3> importFiles();
/** Import raw data files into a single-column H2O Frame. */
@FormUrlEncoded
@POST("/3/ImportFiles")
Call<ImportFilesV3> importFiles(@Field("path") String path,
@Field("_exclude_fields") String _exclude_fields);
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/ImportSQLTable.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface ImportSQLTable {
/** Import SQL table into an H2O Frame. */
@FormUrlEncoded
@POST("/99/ImportSQLTable")
Call<JobV3> importSQLTable(@Field("database_sys") String database_sys,
@Field("database") String database,
@Field("table") String table,
@Field("username") String username,
@Field("password") String password,
@Field("host") String host,
@Field("port") String port,
@Field("optimize") boolean optimize,
@Field("_exclude_fields") String _exclude_fields);
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/InitID.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface InitID {
/** Issue a new session ID. */
@GET("/3/InitID")
Call<InitIDV3> issue();
/** End a session. */
@DELETE("/3/InitID")
Call<InitIDV3> endSession();
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/Interaction.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface Interaction {
/** Create interactions between categorical columns. */
@FormUrlEncoded
@POST("/3/Interaction")
Call<JobV3> run(@Field("dest") String dest,
@Field("source_frame") String source_frame,
@Field("factor_columns") String[] factor_columns,
@Field("pairwise") boolean pairwise,
@Field("max_factors") int max_factors,
@Field("min_occurrence") int min_occurrence,
@Field("_exclude_fields") String _exclude_fields);
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/JStack.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface JStack {
/** Report stack traces for all threads on all nodes. */
@GET("/3/JStack")
Call<JStackV3> fetch();
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/Jobs.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface Jobs {
/** Get a list of all the H2O Jobs (long-running actions). */
@GET("/3/Jobs")
Call<JobsV3> list();
/** Get the status of the given H2O Job (long-running action). */
@GET("/3/Jobs/{job_id}")
Call<JobsV3> fetch(@Path("job_id") String job_id);
/** Cancel a running job. */
@FormUrlEncoded
@POST("/3/Jobs/{job_id}/cancel")
Call<JobsV3> cancel(@Path("job_id") String job_id,
@Field("_exclude_fields") String _exclude_fields);
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/KillMinus3.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface KillMinus3 {
/** Kill minus 3 on *this* node */
@GET("/3/KillMinus3")
Call<KillMinus3V3> killm3();
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/LogAndEcho.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface LogAndEcho {
/** Save a message to the H2O logfile. */
@FormUrlEncoded
@POST("/3/LogAndEcho")
Call<LogAndEchoV3> echo(@Field("message") String message,
@Field("_exclude_fields") String _exclude_fields);
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/Logs.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface Logs {
/** Get named log file for a node. */
@GET("/3/Logs/nodes/{nodeidx}/files/{name}")
Call<LogsV3> fetch(@Path("nodeidx") int nodeidx,
@Path("name") String name);
}
|
0
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies
|
java-sources/ai/h2o/h2o-java-rest-bindings/3.8.2.11/water/bindings/proxies/retrofit/MakeGLMModel.java
|
package water.bindings.proxies.retrofit;
import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;
public interface MakeGLMModel {
/** make a new GLM model based on existing one */
@FormUrlEncoded
@POST("/3/MakeGLMModel")
Call<GLMModelV3> make_model(@Field("model") String model,
@Field("dest") String dest,
@Field("names") String[] names,
@Field("beta") double[] beta,
@Field("threshold") float threshold);
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.