index
int64
repo_id
string
file_path
string
content
string
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/RapidsHelpV3.java
package water.api.schemas3; import water.Iced; import water.api.API; /** * Help for the rapids language */ public class RapidsHelpV3 extends SchemaV3<Iced, RapidsHelpV3> { @API(help="Description of the rapids language.", direction=API.Direction.OUTPUT) public RapidsExpressionV3[] expressions; public s...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/RapidsMapFrameV3.java
package water.api.schemas3; import water.Iced; import water.api.API; import water.fvec.Frame; import java.util.Map; public class RapidsMapFrameV3 extends RapidsSchemaV3<Iced,RapidsMapFrameV3> { @API(help="Frames", direction=API.Direction.OUTPUT) public RapidsFrameV3[] frames; @API(help="Keys of the map", dir...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/RapidsNumberV3.java
package water.api.schemas3; import water.Iced; import water.api.API; /** */ public class RapidsNumberV3 extends RapidsSchemaV3<Iced,RapidsNumberV3> { @API(help="Number result", direction=API.Direction.OUTPUT) public double scalar; public RapidsNumberV3() {} public RapidsNumberV3(double d) { scalar = d; } ...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/RapidsNumbersV3.java
package water.api.schemas3; import water.Iced; import water.api.API; /** */ public class RapidsNumbersV3 extends RapidsSchemaV3<Iced,RapidsNumbersV3> { @API(help="Number array result", direction=API.Direction.OUTPUT) public double[] scalar; public RapidsNumbersV3() {} public RapidsNumbersV3(double[] ds) {...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/RapidsSchemaV3.java
package water.api.schemas3; import water.Iced; import water.api.API; /** */ public class RapidsSchemaV3<I extends Iced, S extends RapidsSchemaV3<I, S>> extends RequestSchemaV3<I, S> { @API(help="A Rapids AstRoot expression", direction=API.Direction.INPUT, required=true) public String ast; @API(help="Session ...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/RapidsStringV3.java
package water.api.schemas3; import water.Iced; import water.api.API; /** */ public class RapidsStringV3 extends RapidsSchemaV3<Iced,RapidsStringV3> { @API(help="String result", direction=API.Direction.OUTPUT) public String string; public RapidsStringV3() {} public RapidsStringV3(String s) { string = s; } }...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/RapidsStringsV3.java
package water.api.schemas3; import water.Iced; import water.api.API; /** */ public class RapidsStringsV3 extends RapidsSchemaV3<Iced,RapidsStringsV3> { @API(help="String array result", direction=API.Direction.OUTPUT) public String[] string; public RapidsStringsV3() {} public RapidsStringsV3(String[] ss) {...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/RemoveAllV3.java
package water.api.schemas3; import water.Iced; import water.api.API; public class RemoveAllV3 extends RequestSchemaV3<Iced, RemoveAllV3> { @API(direction = API.Direction.INPUT, help = "Keys of the models to retain", level = API.Level.critical) public KeyV3[] retained_keys; }
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/RemoveV3.java
package water.api.schemas3; import water.Iced; import water.api.API; public class RemoveV3 extends RequestSchemaV3<Iced, RemoveV3> { @API(help="Object to be removed.") public KeyV3 key; @API(help="If true, removal operation will cascade down the object tree.", direction = API.Direction.INPUT) public boolean...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/RequestSchemaV3.java
package water.api.schemas3; import water.Iced; import water.api.API; import water.api.Schema; /** * Base Schema class for all REST API requests, gathering up common behavior such as the */ public class RequestSchemaV3<I extends Iced, S extends RequestSchemaV3<I, S>> extends SchemaV3<I, S> { @API(help="Comma-sepa...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/RouteV3.java
package water.api.schemas3; import water.api.API; import water.api.Handler; import water.api.Route; import water.util.PojoUtils; public final class RouteV3 extends SchemaV3<Route, RouteV3> { @API(help="", direction=API.Direction.OUTPUT) public String http_method; @API(help="", direction=API.Direction.OUTPUT)...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/SaveToHiveTableV3.java
package water.api.schemas3; import water.Iced; import water.api.API; import water.api.SaveToHiveTableHandler; public class SaveToHiveTableV3 extends RequestSchemaV3<Iced, SaveToHiveTableV3> { //Input fields @API(help = "H2O Frame ID", required = true) public KeyV3.FrameKeyV3 frame_id; @API(help = "HIVE JDBC...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/SchemaMetadataV3.java
package water.api.schemas3; import water.api.API; import water.api.SchemaMetadata; import water.util.PojoUtils; import java.util.ArrayList; public class SchemaMetadataV3 extends SchemaV3<SchemaMetadata, SchemaMetadataV3> { @API(help="Version number of the Schema.") public int version; /** * The simple sc...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/SchemaV3.java
package water.api.schemas3; import water.Iced; import water.api.API; import water.api.Schema; /** * Base Schema class for all v3 REST API objects. * * Any schema which is *NOT* used for requests (i.e. it cannot be an input to a REST API handler) should inherit from * this class. * However if a schema is used for...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/SegmentModelsParametersV3.java
package water.api.schemas3; import hex.segments.SegmentModelsBuilder; import water.api.API; public class SegmentModelsParametersV3 extends SchemaV3<SegmentModelsBuilder.SegmentModelsParameters, SegmentModelsParametersV3> { @API(help = "Uniquely identifies the collection of the segment models") public KeyV3.Segme...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/SegmentModelsV3.java
package water.api.schemas3; import water.Iced; import water.api.API; public class SegmentModelsV3 extends SchemaV3<Iced, SegmentModelsV3> { @API(help = "Segment Models id") public KeyV3.SegmentModelsKeyV3 segment_models_id; }
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/SessionPropertyV3.java
package water.api.schemas3; import water.Iced; import water.api.API; public class SessionPropertyV3 extends RequestSchemaV3<Iced, SessionPropertyV3> { @API(help="Session ID", direction = API.Direction.INOUT) public String session_key; @API(help="Property Key", direction = API.Direction.INOUT) public...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/ShutdownV3.java
package water.api.schemas3; import water.api.ShutdownHandler; public class ShutdownV3 extends RequestSchemaV3<ShutdownHandler.Shutdown,ShutdownV3> { }
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/SignificantRulesV3.java
package water.api.schemas3; import water.Iced; import water.api.API; public class SignificantRulesV3 extends RequestSchemaV3<Iced, SignificantRulesV3> { @API(help="Model id of interest", json = false) public KeyV3.ModelKeyV3 model_id; @API(help="The estimated coefficients and language representations (in ca...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/SplitFrameV3.java
package water.api.schemas3; import hex.SplitFrame; import water.api.API; import water.api.schemas3.KeyV3.FrameKeyV3; public class SplitFrameV3 extends SchemaV3<SplitFrame, SplitFrameV3> { @API(help="Job Key") public KeyV3.JobKeyV3 key; @API(help="Dataset") public FrameKeyV3 dataset; @API(help="Split ratio...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/SteamMetricsV3.java
package water.api.schemas3; import water.api.API; public class SteamMetricsV3 extends RequestSchemaV3<SteamMetricsV3.SteamMetrics, SteamMetricsV3> { public static class SteamMetrics extends water.Iced<SteamMetrics> { public SteamMetrics() {} } @API(help="Steam metrics API version", direction = API.Dire...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/StringPairV3.java
package water.api.schemas3; import hex.StringPair; import water.api.API; import water.api.Schema; public class StringPairV3 extends SchemaV3<StringPair, StringPairV3> implements Schema.AutoParseable { @API(help = "Value A") String a; @API(help = "Value B") String b; }
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/TabulateV3.java
package water.api.schemas3; import water.api.API; import water.api.schemas3.KeyV3.FrameKeyV3; import water.util.Tabulate; public class TabulateV3 extends SchemaV3<Tabulate, TabulateV3> { // INPUT @API(help="Dataset", required = true) public FrameKeyV3 dataset; @API(help="Predictor", required = true, level = ...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/TimelineV3.java
package water.api.schemas3; import water.*; import water.api.API; import water.api.TimelineHandler.Timeline; import water.init.TimelineSnapshot; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; /** * Display of a Timeline */ public class TimelineV3 extends RequestSchemaV3<Timel...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/TwoDimTableV3.java
package water.api.schemas3; import water.AutoBuffer; import water.H2O; import water.Iced; import water.IcedWrapper; import water.api.API; import water.util.TwoDimTable; /** * Client-facing Schema of a TwoDimTable * Notes: * 1) We embed the rowHeaders into the table, extending it by 1 column * 2) We store all the ...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/TypeaheadV3.java
package water.api.schemas3; import water.Iced; import water.api.API; public class TypeaheadV3 extends RequestSchemaV3<Iced,TypeaheadV3> { // Input fields @API(help="training_frame", required=true) public String src; @API(help="limit") public int limit; // Output fields @API(help="matches", direction=...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/UnlockKeysV3.java
package water.api.schemas3; import water.Iced; public class UnlockKeysV3 extends RequestSchemaV3<Iced, UnlockKeysV3> { }
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/ValidationMessageV3.java
package water.api.schemas3; import hex.ModelBuilder; import hex.ModelBuilder.ValidationMessage; import water.api.API; import water.util.Log; import water.util.PojoUtils; import java.util.HashMap; import java.util.Map; /** * Model builder parameter validation message schema. */ public final class ValidationMessageV...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/VarImpV3.java
package water.api.schemas3; import hex.VarImp; import water.api.API; public class VarImpV3 extends SchemaV3<VarImp,VarImpV3> { @API(help="Variable importance of individual variables", direction=API.Direction.OUTPUT) public float[] varimp; @API(help="Names of variables", direction=API.Direction.OUTPUT) prote...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/WaterMeterCpuTicksV3.java
package water.api.schemas3; import water.api.API; import water.util.PojoUtils; import water.util.WaterMeterCpuTicks; public class WaterMeterCpuTicksV3 extends RequestSchemaV3<WaterMeterCpuTicks, WaterMeterCpuTicksV3> { @API(help="Index of node to query ticks for (0-based)", required = true, direction = API.Directio...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas3/WaterMeterIoV3.java
package water.api.schemas3; import water.api.API; import water.util.PojoUtils; import water.util.WaterMeterIo; public class WaterMeterIoV3 extends RequestSchemaV3<WaterMeterIo, WaterMeterIoV3> { @API(help="Index of node to query ticks for (0-based)", direction = API.Direction.INPUT) public int nodeidx; @API(he...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas4/EndpointV4.java
package water.api.schemas4; import water.api.API; import water.api.Handler; import water.api.Route; /** * */ public class EndpointV4 extends OutputSchemaV4<Route, EndpointV4> { @API(help="Method+Url of the request; variable parts are enclosed in curly braces. For example: " + "/4/schemas/{schema_name}") ...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas4/EndpointsListV4.java
package water.api.schemas4; import water.Iced; import water.api.API; /** * List of endpoints, returned by GET /4/endpoints */ public class EndpointsListV4 extends OutputSchemaV4<Iced, EndpointsListV4> { @API(help="List of endpoints in H2O REST API (v4).") public EndpointV4[] endpoints; }
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas4/InputSchemaV4.java
package water.api.schemas4; import water.Iced; import water.api.API; import water.api.Schema; /** * Base Schema class for all v4 REST API requests. It provides common _schema field, as well as . */ public class InputSchemaV4<I extends Iced, S extends InputSchemaV4<I,S>> extends Schema<I,S> { @API(help="Filter on...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas4/ListRequestV4.java
package water.api.schemas4; import water.Iced; /** * Common input schema class for endpoints that request collections of objects. For example, * GET /4/schemas * GET /4/frames * GET /4/models * etc. * This class is a placeholder right now, but eventually it can host functionality such as filtering/sorti...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas4/ModelInfoV4.java
package water.api.schemas4; import hex.ModelBuilder; import water.api.API; /** * Lightweight information profile about each model. */ public class ModelInfoV4 extends OutputSchemaV4<ModelBuilder, ModelInfoV4> { @API(help="Algorithm name, such as 'gbm', 'deeplearning', etc.") public String algo; @API(help="D...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas4/ModelsInfoV4.java
package water.api.schemas4; import water.Iced; import water.api.API; /** * List of models, returned by GET /4/modelsinfo */ public class ModelsInfoV4 extends OutputSchemaV4<Iced, ModelsInfoV4> { @API(help="Generic information about each model supported in H2O.") public ModelInfoV4[] models; }
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas4/OutputSchemaV4.java
package water.api.schemas4; import water.Iced; import water.api.API; import water.api.Schema; /** * Base output Schema class for all v4 REST API requests. It provides common __schema field that identifies the * schema in the output. */ public class OutputSchemaV4<I extends Iced, S extends OutputSchemaV4<I,S>> exte...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas4/SessionIdV4.java
package water.api.schemas4; import water.Iced; import water.api.API; public class SessionIdV4 extends OutputSchemaV4<Iced, SessionIdV4> { @API(help="Session ID") public String session_key; }
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas4
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas4/input/CreateFrameOriginalIV4.java
package water.api.schemas4.input; import hex.createframe.recipes.OriginalCreateFrameRecipe; import water.api.API; import water.api.schemas3.KeyV3; import water.api.schemas4.InputSchemaV4; /** * Input schema for `POST /4/frames/$original` endpoint. */ public class CreateFrameOriginalIV4 extends InputSchemaV4<Origin...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas4
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas4/input/CreateFrameSimpleIV4.java
package water.api.schemas4.input; import hex.createframe.recipes.SimpleCreateFrameRecipe; import water.api.API; import water.api.schemas3.KeyV3; import water.api.schemas4.InputSchemaV4; /** * Input schema for `POST /4/frames/$simple` endpoint. */ public class CreateFrameSimpleIV4 extends InputSchemaV4<SimpleCreate...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas4
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas4/input/JobIV4.java
package water.api.schemas4.input; import water.Iced; import water.api.API; import water.api.schemas4.InputSchemaV4; /** * Input schema for the {@code "GET /4/jobs/{job_id}"} endpoint. */ public class JobIV4 extends InputSchemaV4<Iced, JobIV4> { @API(help="Id of the job to fetch.") public String job_id; }
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas4
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas4/output/JobV4.java
package water.api.schemas4.output; import water.Job; import water.TypeMap; import water.api.API; import water.api.schemas4.OutputSchemaV4; import java.io.PrintWriter; import java.io.StringWriter; /** Schema for a single Job. */ public class JobV4 extends OutputSchemaV4<Job<?>, JobV4> { @API(help="Job id") publ...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas99/AssemblyV99.java
package water.api.schemas99; import water.Iced; import water.api.API; import water.api.schemas3.KeyV3; import water.api.schemas3.RequestSchemaV3; /** FIXME: comments please! */ public class AssemblyV99 extends RequestSchemaV3<Iced, AssemblyV99> { // input fields @API(help="A list of steps describing the assembl...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas99/GridsV99.java
package water.api.schemas99; import hex.schemas.GridSchemaV99; import water.api.API; import water.api.schemas3.SchemaV3; import water.api.Grids; public class GridsV99 extends SchemaV3<Grids, GridsV99> { @API(help="Grids", direction=API.Direction.OUTPUT) public GridSchemaV99[] grids; }
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api
java-sources/ai/h2o/h2o-core/3.46.0.7/water/api/schemas99/RapidsV99.java
package water.api.schemas99; import water.Iced; import water.api.API; import water.api.schemas3.RequestSchemaV3; import water.api.schemas3.KeyV3; public class RapidsV99 extends RequestSchemaV3<Iced, RapidsV99> { // Input fields @API(help="An Abstract Syntax Tree.", direction=API.Direction.INPUT) public String a...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/codegen/CodeGenerator.java
package water.codegen; import water.exceptions.JCodeSB; /** * Interface for code generator. */ public interface CodeGenerator { /** Generate code to given output. * * @param out code generation output. */ void generate(JCodeSB out); }
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/codegen/CodeGeneratorPipeline.java
package water.codegen; import java.util.ArrayList; import water.exceptions.JCodeSB; /** * A simple code generation pipeline. * * It composes code generators and allows for their execution * later. */ public class CodeGeneratorPipeline extends ArrayList<CodeGenerator> implements ...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/exceptions/H2OAbstractRuntimeException.java
package water.exceptions; import water.util.HttpResponseStatus; import water.H2OError; import water.util.IcedHashMapGeneric; /** * RuntimeException which results in a http 400 error by default, and serves as a base class for other error types. * Note that the HTTP error status can be overridden when converting the ...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/exceptions/H2OCategoricalLevelNotFoundArgumentException.java
package water.exceptions; import water.util.IcedHashMap; import water.util.IcedHashMapGeneric; /** * Exception signalling that an categorical level was not found. */ public class H2OCategoricalLevelNotFoundArgumentException extends H2ONotFoundArgumentException { public H2OCategoricalLevelNotFoundArgumentExceptio...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/exceptions/H2OColumnNotFoundArgumentException.java
package water.exceptions; import water.fvec.Frame; import water.util.IcedHashMap; import water.util.IcedHashMapGeneric; /** * Exception signalling that a Vec was not found. * <p> * If the Vec name came from an argument, especially from an API parameter, use * {@code H2OColumnNotFoundArgumentException(String argum...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/exceptions/H2OConcurrentModificationException.java
package water.exceptions; /** * H2OConcurrentModificationException signals that object was modified while being used in another * operation. * Example use case is deleting a Vec while a checksum is being calculated on it. */ public class H2OConcurrentModificationException extends H2OAbstractRuntimeException { p...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/exceptions/H2OFailException.java
package water.exceptions; import water.H2OError; import water.util.HttpResponseStatus; /** * RuntimeException which causes H2O to shut down. This should only be used for cases in * which the code is bad, for example because a case isn't covered which must be for the * product to function correctly, and which ther...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/exceptions/H2OFileAccessDeniedException.java
package water.exceptions; /** * Exception thrown when a file matches file_deny_glob */ public class H2OFileAccessDeniedException extends H2OAbstractRuntimeException { public H2OFileAccessDeniedException(String message, String dev_message) { super(message, dev_message); } public H2OFileAccessDeniedExcepti...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/exceptions/H2OGridException.java
package water.exceptions; import water.H2OError; public class H2OGridException extends H2OAbstractRuntimeException { private final Throwable _rootCause; private final int _httpResponse; public H2OGridException(String msg) { this(msg, null); } public H2OGridException(String m...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/exceptions/H2OIllegalArgumentException.java
package water.exceptions; import water.util.HttpResponseStatus; import water.util.IcedHashMap; import water.util.IcedHashMapGeneric; public class H2OIllegalArgumentException extends H2OAbstractRuntimeException { protected int HTTP_RESPONSE_CODE() { return HttpResponseStatus.PRECONDITION_FAILED.getCode(); } publi...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/exceptions/H2OIllegalValueException.java
package water.exceptions; import water.util.IcedHashMap; import water.util.IcedHashMapGeneric; /** * Exception indicating that we found an illegal value which was not passed in as an argument. */ public class H2OIllegalValueException extends H2OAbstractRuntimeException { public H2OIllegalValueException(String fie...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/exceptions/H2OKeyNotFoundArgumentException.java
package water.exceptions; import water.Key; import water.util.IcedHashMap; import water.util.IcedHashMapGeneric; /** * Exception signalling that a Key was not found. * <p> * If the Key name came from an argument, especially from an API parameter, use * {@code H2OKeyNotFoundArgumentException(String argument, Strin...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/exceptions/H2OKeyWrongTypeArgumentException.java
package water.exceptions; import water.util.HttpResponseStatus; import water.Keyed; import water.util.IcedHashMap; import water.util.IcedHashMapGeneric; public class H2OKeyWrongTypeArgumentException extends H2OIllegalArgumentException { protected int HTTP_RESPONSE_CODE() { return HttpResponseStatus.NOT_FOUND.getCod...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/exceptions/H2OKeysNotFoundArgumentException.java
package water.exceptions; import water.util.IcedHashMap; import water.util.IcedHashMapGeneric; public class H2OKeysNotFoundArgumentException extends H2ONotFoundArgumentException { public H2OKeysNotFoundArgumentException(String argument, String[] names) { super("Objects not found: " + argument + ": " + names.to...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/exceptions/H2OModelBuilderIllegalArgumentException.java
package water.exceptions; import hex.Model; import hex.ModelBuilder; import water.H2OModelBuilderError; import water.util.IcedHashMapGeneric; public class H2OModelBuilderIllegalArgumentException extends H2OIllegalArgumentException { /** Raw-message constructor for use by the factory method. */ private H2OModelBui...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/exceptions/H2ONotFoundArgumentException.java
package water.exceptions; import water.util.HttpResponseStatus; public class H2ONotFoundArgumentException extends H2OIllegalArgumentException { final protected int HTTP_RESPONSE_CODE() { return HttpResponseStatus.NOT_FOUND.getCode(); } public H2ONotFoundArgumentException(String msg, String dev_msg) { super(m...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/exceptions/H2OUnsupportedDataFileException.java
package water.exceptions; import water.util.IcedHashMapGeneric; /** * Exception thrown by a parser when a file format is recognized but a certain feature used * in the particular data file is not supported (eg. nested structures). */ public class H2OUnsupportedDataFileException extends H2OAbstractRuntimeException ...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/exceptions/JCodeSB.java
package water.exceptions; import water.util.IcedBitSet; /** * Simple interface to share definition of SB and SBPrintStream. * * Designed for Java code generation. */ public interface JCodeSB<T extends JCodeSB<T>> { // Append primitves T ps(String s); T p(String s); //T p(float s); - intentionally not i...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/AppendableVec.java
package water.fvec; import water.*; import java.util.Arrays; /** * A NEW single distributed vector column. * * The NEW vector has no data, and takes no space. It supports distributed * parallel writes to it, via calls to append2. Such writes happen in parallel * and all writes are ordered. Writes *will* be lo...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/ByteVec.java
package water.fvec; import water.Job; import water.Key; import water.Value; import java.io.IOException; import java.io.InputStream; /** * A vector of plain Bytes. */ public class ByteVec extends Vec { public ByteVec( Key key, int rowLayout ) { super(key, rowLayout); } @Override public C1NChunk chunkForChunkI...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/C0DChunk.java
package water.fvec; import water.parser.BufferedString; import water.util.UnsafeUtils; import java.util.UUID; /** * The constant 'double' column (also used to represent constant NA chunks). */ public class C0DChunk extends Chunk { private static final int _OFF=8+4; private double _con; public C0DChunk(double...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/C0LChunk.java
package water.fvec; import water.util.UnsafeUtils; /** * The constant 'long' column. */ public class C0LChunk extends Chunk { protected static final int _OFF=8+4; private long _con; public C0LChunk(long con, int len) { _mem=new byte[_OFF]; _start = -1; set_len(len); _con = con; UnsafeUtils.set8(_mem, ...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/C16Chunk.java
package water.fvec; import water.util.UnsafeUtils; public class C16Chunk extends Chunk { static final long _LO_NA = Long.MIN_VALUE; static final long _HI_NA = 0; C16Chunk( byte[] bs ) { _mem=bs; _start = -1; set_len(_mem.length>>4); } @Override protected final long at8_impl( int i ) { throw new IllegalArgum...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/C1Chunk.java
package water.fvec; /** * The empty-compression function, if all elements fit directly on UNSIGNED bytes. * Cannot store 0xFF, the value is a marker for N/A. */ public class C1Chunk extends Chunk { static protected final int _OFF = 0; static protected final int _NA = 0xFF; C1Chunk(byte[] bs) { _mem=bs; _start...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/C1NChunk.java
package water.fvec; /** * The empty-compression function, if all elements fit directly on UNSIGNED bytes. * [In particular, this is the compression style for data read in from files.] */ public class C1NChunk extends Chunk { protected static final int _OFF=0; public C1NChunk(byte[] bs) { _mem=bs; _start = -1; s...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/C1SChunk.java
package water.fvec; import water.util.PrettyPrint; /** * The scale/bias function, where data is in SIGNED bytes before scaling. */ public final class C1SChunk extends CSChunk { C1SChunk( byte[] bs, long bias, int scale) { super(bs,bias,scale,0); if(scale < 0) { // check precision double div = Pretty...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/C2Chunk.java
package water.fvec; import water.util.UnsafeUtils; /** * The empty-compression function, where data is in shorts. */ public class C2Chunk extends Chunk { static protected final int _NA = Short.MIN_VALUE; static protected final int _OFF=0; C2Chunk( byte[] bs ) { _mem=bs; _start = -1; set_len(_mem.length>>1); ...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/C2SChunk.java
package water.fvec; import water.util.PrettyPrint; import water.util.UnsafeUtils; /** * The scale/bias function, where data is in SIGNED bytes before scaling. */ public class C2SChunk extends CSChunk { C2SChunk( byte[] bs, long bias, int scale ) { super(bs,bias,scale,1); if(scale < 0) { // check precision...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/C4Chunk.java
package water.fvec; import water.util.UnsafeUtils; /** * The empty-compression function, where data is in 'int's. */ public class C4Chunk extends Chunk { static protected final int _NA = Integer.MIN_VALUE; C4Chunk( byte[] bs ) { _mem=bs; _start = -1; set_len(_mem.length>>2); } @Override protected final long a...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/C4FChunk.java
package water.fvec; import water.util.UnsafeUtils; /** * The empty-compression function, where data is in 'float's. */ public class C4FChunk extends Chunk { public C4FChunk( byte[] bs ) { _mem=bs; _start = -1; set_len(_mem.length>>2); } @Override protected final long at8_impl( int i ) { float res = UnsafeUt...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/C4SChunk.java
package water.fvec; import water.util.PrettyPrint; import water.util.UnsafeUtils; /** * The scale/bias function, where data is in SIGNED bytes before scaling. */ public class C4SChunk extends CSChunk { C4SChunk( byte[] bs, long bias, int scale ) { super(bs,bias,scale,2); if(scale < 0) { // check precision...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/C4VolatileChunk.java
package water.fvec; import water.*; import water.util.UnsafeUtils; /** * The empty-compression function, where data is in 'int's. * Can only be used locally (intentionally does not serialize). * Intended for temporary data which gets modified frequently. * Exposes data directly as int[] */ public class C4Volatil...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/C8Chunk.java
package water.fvec; import water.util.UnsafeUtils; /** * The empty-compression function, where data is in 'long's. */ public class C8Chunk extends Chunk { protected static final long _NA = Long.MIN_VALUE; C8Chunk( byte[] bs ) { _mem=bs; _start = -1; set_len(_mem.length>>3); } @Override protected final long at...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/C8DChunk.java
package water.fvec; import water.util.UnsafeUtils; /** * The empty-compression function, where data is in 'double's. */ public class C8DChunk extends Chunk { C8DChunk( byte[] bs ) { _mem=bs; _start = -1; set_len(_mem.length>>3); } @Override protected final long at8_impl( int i ) { double res = UnsafeUtil...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/C8DVolatileChunk.java
package water.fvec; import water.*; import water.util.UnsafeUtils; /** * The empty-compression function, where data is in 'double's. * Can only be used locally (intentionally does not serialize). * Intended for temporary data which gets modified frequently. * Exposes data directly as double[] */ public final cla...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/CBSChunk.java
package water.fvec; import water.MemoryManager; /** A simple chunk for boolean values. In fact simple bit vector. * Each boolean is represented by 2bits since we need to represent NA. */ public class CBSChunk extends Chunk { static protected final byte _NA = 0x02; // Internal representation of NA static prote...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/CSChunk.java
package water.fvec; import water.util.PrettyPrint; import water.util.UnsafeUtils; /** * Created by tomas on 8/14/17. * * Chunk storing 1/2/4 byte values with an offset and/or scale. * Used for fixed point decimal numbers or scaled/offseted integers. * * value(i) = (stored_bytes(i) + bias)*scale; if scale > 1 o...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/CStrChunk.java
package water.fvec; import water.*; import water.util.SetOfBytes; import water.util.StringUtils; import water.util.UnsafeUtils; import water.parser.BufferedString; import java.util.Arrays; /** * The empty-compression function, where data is in 'string's. */ public class CStrChunk extends Chunk { static final int...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/CUDChunk.java
package water.fvec; import water.MemoryManager; import water.util.UnsafeUtils; import java.util.HashMap; import java.util.Map; /** * The "few unique doubles"-compression function */ public class CUDChunk extends Chunk { public static int MAX_UNIQUES=256; public static int computeByteSize(int uniques, int len) ...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/CXFChunk.java
package water.fvec; import water.H2O; import water.util.UnsafeUtils; // Sparse chunk. public class CXFChunk extends CXIChunk { protected CXFChunk(byte [] mem){ super(mem); } private double getVal(int x){ switch(_elem_sz) { case 8: return UnsafeUtils.get4f(_mem, x + 4); case 12: return Unsa...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/CXIChunk.java
package water.fvec; import water.H2O; import water.util.UnsafeUtils; // Sparse chunk. public class CXIChunk extends Chunk { private static long [] _NAS = new long[]{-1/* not used, binary chunks can't have NAs */,/* not used*/-1,C2Chunk._NA,-1,C4Chunk._NA,-1,-1,-1,C8Chunk._NA}; public static long NA(int val_sz){re...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/CategoricalWrappedVec.java
package water.fvec; import water.AutoBuffer; import water.Key; import water.DKV; import water.MRTask; import water.util.ArrayUtils; import java.util.Arrays; import java.util.HashMap; /** A vector transforming values of given vector according to given domain * mapping - currently only used to transform categorical ...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/Chunk.java
package water.fvec; import water.*; import water.parser.BufferedString; import java.util.UUID; /** A compression scheme, over a chunk of data - a single array of bytes. * Chunks are mapped many-to-1 to a {@link Vec}. The <em>actual</em> vector * header info is in the Vec - which contains info to find all the by...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/ChunkUtils.java
package water.fvec; import water.DKV; import water.Key; /** * Simple helper class which publishes some frame and chunk package private methods as public */ public class ChunkUtils { public static NewChunk[] createNewChunks(String name, byte[] vecTypes, int chunkId){ return Frame.createNewChunks(name, ...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/ChunkVisitor.java
package water.fvec; import water.parser.BufferedString; import water.util.PrettyPrint; /** * Created by tomas on 3/8/17. * Base class for using visitor pattern with chunks. */ public abstract class ChunkVisitor { public boolean expandedVals() { return false; } void addValue(BufferedString bs) { thro...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/CreateInteractions.java
package water.fvec; import hex.Interaction; import jsr166y.CountedCompleter; import water.*; import water.util.IcedHashMap; import water.util.IcedLong; import java.util.*; /** * Helper to create interaction features between categorical columns */ public class CreateInteractions extends H2O.H2OCountedCompleter { ...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/FileVec.java
package water.fvec; import water.*; import water.util.Log; import water.util.MathUtils; import water.util.UnsafeUtils; public abstract class FileVec extends ByteVec { long _len; // File length private final byte _be; public byte getBackend() { return _be; } public String getPath()...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/FileVecUtils.java
package water.fvec; import water.H2O; import water.Key; import water.Value; import water.persist.PersistManager; import java.io.IOException; import java.util.Map; public class FileVecUtils { public static byte[] getFirstBytes(FileVec vec) { return getFirstBytes(H2O.STORE, H2O.getPM(), vec); } static by...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/Frame.java
package water.fvec; import org.joda.time.format.DateTimeFormat; import org.joda.time.format.DateTimeFormatter; import water.*; import water.api.FramesHandler; import water.api.schemas3.KeyV3; import water.exceptions.H2OFileAccessDeniedException; import water.exceptions.H2OIllegalArgumentException; import water.parser....
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/FrameCreator.java
package water.fvec; import hex.CreateFrame; import jsr166y.CountedCompleter; import water.*; import water.util.ArrayUtils; import water.util.FrameUtils; import java.util.Arrays; import java.util.Random; import java.util.UUID; import static water.fvec.Vec.makeCon; import water.util.RandomUtils; /** * Helper to make...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/GcsFileVec.java
package water.fvec; import water.DKV; import water.Futures; import water.Key; import water.Value; public class GcsFileVec extends FileVec { private GcsFileVec(Key key, long len) { super(key, len, Value.GCS); } public static Key make(String path, long size) { Futures fs = new Futures(); Key<Frame> ...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/HDFSFileVec.java
package water.fvec; import water.*; /** * Vec representation of file stored on HDFS. */ public final class HDFSFileVec extends FileVec { private HDFSFileVec(Key key, long len) { super(key, len, Value.HDFS); } public static Key make(String path, long size) { Futures fs = new Futures(); Key key = m...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/HTTPFileVec.java
package water.fvec; import water.*; /** * FileVec backed by an HTTP/HTTPS data source */ public class HTTPFileVec extends FileVec { private HTTPFileVec(Key key, long len) { super(key, len, Value.HTTP); } public static Key make(String path, long size) { Futures fs = new Futures(); Key key = make(...
0
java-sources/ai/h2o/h2o-core/3.46.0.7/water
java-sources/ai/h2o/h2o-core/3.46.0.7/water/fvec/InteractionWrappedVec.java
package water.fvec; import water.*; import water.util.ArrayUtils; import water.util.IcedHashMap; import water.util.IcedLong; import java.util.Arrays; import java.util.Collections; import java.util.HashSet; import java.util.Map; /** * * This class represents an interaction between two Vec instances. * * Another v...