ai.libs.jaicore.ml.core.dataset.weka

Class WekaInstance

  • java.lang.Object
    • ai.libs.jaicore.basic.sets.ElementDecorator<weka.core.Instance>
      • ai.libs.jaicore.ml.core.dataset.weka.WekaInstance
  • All Implemented Interfaces:
    IInstance, org.apache.commons.math3.ml.clustering.Clusterable


    public class WekaInstanceextends ai.libs.jaicore.basic.sets.ElementDecorator<weka.core.Instance>implements IInstance
    • Constructor Summary

      Constructors 
      Constructor and Description
      WekaInstance(weka.core.Instance instance) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      double[]getAsDoubleVector()
      Turns the instance into a double vector.
      <T> IAttributeValue<T>getAttributeValue(int position, java.lang.Class<T> type)
      Getter for the value of an attribute for the given position.
      <T> IAttributeValue<T>getTargetValue(java.lang.Class<T> type)
      Getter for the value of the target attribute.
      • Methods inherited from class ai.libs.jaicore.basic.sets.ElementDecorator

        equals, getElement, hashCode
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WekaInstance

        public WekaInstance(weka.core.Instance instance)
    • Method Detail

      • getAttributeValue

        public <T> IAttributeValue<T> getAttributeValue(int position,                                                java.lang.Class<T> type)
        Description copied from interface: IInstance
        Getter for the value of an attribute for the given position.
        Specified by:
        getAttributeValue in interface IInstance
        Parameters:
        position - The position of the attribute within the instance.
        type - The type for which the attribute value shall be returned.
        Returns:
        The attribute value for the position.
      • getTargetValue

        public <T> IAttributeValue<T> getTargetValue(java.lang.Class<T> type)
        Description copied from interface: IInstance
        Getter for the value of the target attribute.
        Specified by:
        getTargetValue in interface IInstance
        Parameters:
        type - The type to bind the value of the target attribute.
        Returns:
        The value of the traget attribute.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14