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