presto-ml/src/main/java/io/prestosql/plugin/ml/AbstractFeatureTransformation.java/AbstractFeatureTransformation/transform
class AbstractFeatureTransformation:    @Override
    public Dataset transform(Dataset dataset)
    {
        List<FeatureVector> transformed = new ArrayList<>();
        for (FeatureVector features : dataset.getDatapoints()) {
            transformed.add(transform(features));
        }
        return new Dataset(dataset.getLabels(), transformed, dataset.getLabelEnumeration());
    }