
water.api.TabulateV3 Maven / Gradle / Ivy
package water.api;
import water.api.KeyV3.FrameKeyV3;
import water.util.Tabulate;
public class TabulateV3 extends RequestSchema {
// INPUT
@API(help="Dataset", required = true)
public FrameKeyV3 dataset;
@API(help="Predictor", required = true, level = API.Level.critical, is_member_of_frames = {"dataset"}, is_mutually_exclusive_with = {"col_y"}, direction = API.Direction.INOUT)
public FrameV3.ColSpecifierV3 predictor;
@API(help="Response", required = true, level = API.Level.critical, is_member_of_frames = {"dataset"}, is_mutually_exclusive_with = {"col_x"}, direction = API.Direction.INOUT)
public FrameV3.ColSpecifierV3 response;
@API(help="Observation weights (optional)", required = false, level = API.Level.critical, is_member_of_frames = {"dataset"}, is_mutually_exclusive_with = {"col_x"}, direction = API.Direction.INOUT)
public FrameV3.ColSpecifierV3 weight;
@API(help="Number of bins for predictor column")
public int nbins_predictor;
@API(help="Number of bins for response column")
public int nbins_response;
// OUTPUT
@API(help="Counts table", direction = API.Direction.OUTPUT)
public TwoDimTableBase count_table;
@API(help="Response table", direction = API.Direction.OUTPUT)
public TwoDimTableBase response_table;
@Override
public TabulateV3 fillFromImpl(Tabulate impl) {
super.fillFromImpl(impl);
return this;
}
@Override
public Tabulate createImpl() {
return new Tabulate();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy