public interface Interaction
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<JobV3> |
run(int max_factors) |
retrofit2.Call<JobV3> |
run(java.lang.String dest,
java.lang.String source_frame,
java.lang.String[] factor_columns,
boolean pairwise,
int max_factors,
int min_occurrence,
java.lang.String _exclude_fields)
Create interactions between categorical columns.
|
@FormUrlEncoded @POST(value="/3/Interaction") retrofit2.Call<JobV3> run(@Field(value="dest") java.lang.String dest, @Field(value="source_frame") java.lang.String source_frame, @Field(value="factor_columns") java.lang.String[] factor_columns, @Field(value="pairwise") boolean pairwise, @Field(value="max_factors") int max_factors, @Field(value="min_occurrence") int min_occurrence, @Field(value="_exclude_fields") java.lang.String _exclude_fields)
dest - destination keysource_frame - Input data framefactor_columns - Factor columnspairwise - Whether to create pairwise quadratic interactions between factors (otherwise create one higher-
order interaction). Only applicable if there are 3 or more factors.max_factors - Max. number of factor levels in pair-wise interaction terms (if enforced, one extra catch-all
factor will be made)min_occurrence - Min. occurrence threshold for factor levels in pair-wise interaction terms_exclude_fields - Comma-separated list of JSON field paths to exclude from the result, used like:
"/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"@FormUrlEncoded @POST(value="/3/Interaction") retrofit2.Call<JobV3> run(@Field(value="max_factors") int max_factors)