KMeans2¶
Supported HTTP methods and descriptions¶
GET k-means
Input parameters¶
destination_key, a Key, <i>expert</i>
Destination key. Since version 1
source, a Frame, <i>expert</i>
Source frame. Since version 1
Possible JSON error field returns:
- Argument ‘source’ error: Argument ‘source’ is required, but not specified
cols, a int[], <i>expert</i>
Input columns (Indexes start at 0). Since version 1
ignored_cols, a int[], <i>expert</i>
Ignored columns by name and zero-based index. Since version 1
ignored_cols_by_name, a int[], <i>expert</i>
Ignored columns by name. Since version 1
initialization, a Initialization, <i>expert</i>
Cluster initialization: None - chooses initial centers at random; Plus Plus - choose first center at random, subsequent centers chosen from probability distribution weighted so that points further from first center are more likey to be selected; Furthest - chooses initial point at random, subsequent point taken as the point furthest from prior point.. Since version 1
k, a int, <i>expert</i>
Number of clusters. Since version 1
Possible JSON error field returns:
- Argument ‘k’ error: Argument ‘k’ is required, but not specified
max_iter, a int, <i>expert</i>
Maximum number of iterations before stopping. Since version 1
Possible JSON error field returns:
- Argument ‘max_iter’ error: Argument ‘max_iter’ is required, but not specified
normalize, a boolean, <i>expert</i>
Whether data should be normalized. Since version 1
seed, a long, <i>expert</i>
Seed for the random number generator. Since version 1
drop_na_cols, a boolean, <i>expert</i>
Drop columns with more than 20% missing values. Since version 1
Output JSON elements¶
response_info, a ResponseInfo
Response stats and info.. Since version 1, expert
h2o, a String
H2O cloud name.. Since version 1, expert
node, a String
Node serving the response.. Since version 1, expert
time, a long
Request processing time.. Since version 1, expert
status, a Status
Response status. Since version 1, expert
redirect_url, a String
Redirect name.. Since version 1, expert
job_key, a Key
Job key. Since version 1, expert
description, a String
Job description. Since version 1, expert
start_time, a long
Job start time. Since version 1, expert
end_time, a long
Job end time. Since version 1, expert
exception, a String
Exception. Since version 1, expert
state, a JobState
Job state. Since version 1, expert
HTTP response codes¶
200 OK Success and error responses are identical.