com.blazebit.ai.decisiontree.impl.StringAttribute Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of blaze-ai-utils Show documentation
Show all versions of blaze-ai-utils Show documentation
Artificial Intelligence Utilities.
package com.blazebit.ai.decisiontree.impl;
import com.blazebit.ai.decisiontree.*;
import java.util.Set;
/**
* @author Christian Beikov
*/
public class StringAttribute extends AbstractAttribute implements Attribute {
public StringAttribute(final String name, final Set extends AttributeValue> values) {
super(name);
}
@Override
public DecisionNode createNode(final DecisionNodeFactory decisionNodeFactory, final Set> examples) {
return new StringDecisionNode(decisionNodeFactory, this, examples);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy