use of com.alibaba.alink.operator.common.dataproc.vector.VectorMinMaxScalerModelInfo in project Alink by alibaba.
the class VectorMinMaxTest method testModelInfo.
@Test
public void testModelInfo() {
BatchOperator batchData = new TableSourceBatchOp(GenerateData.getDenseBatch());
VectorMinMaxScalerTrainBatchOp trainOp = new VectorMinMaxScalerTrainBatchOp().setSelectedCol("vec").linkFrom(batchData);
VectorMinMaxScalerModelInfo modelInfo = trainOp.getModelInfoBatchOp().collectModelInfo();
System.out.println(modelInfo.getMaxs().length);
System.out.println(modelInfo.getMins().length);
System.out.println(modelInfo.toString());
}
Aggregations