All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.blazebit.ai.decisiontree.impl.SimpleExample Maven / Gradle / Ivy

There is a newer version: 0.1.21
Show newest version
package com.blazebit.ai.decisiontree.impl;

import com.blazebit.ai.decisiontree.Attribute;
import com.blazebit.ai.decisiontree.AttributeValue;
import com.blazebit.ai.decisiontree.Example;

import java.util.Map;

/**
 * @author Christian Beikov
 */
public class SimpleExample extends SimpleItem implements Example {
    private final T result;

    public SimpleExample(final Map values, final T result) {
        super(values);
        this.result = result;
    }

    @Override
    public T getResult() {
        return result;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy