Class NumberVectorLabelParser.Par<V extends elki.data.NumberVector>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected elki.data.NumberVector.Factory<V> factory
      Factory object.
      static elki.utilities.optionhandling.OptionID LABEL_INDICES_ID
      A comma separated list of the indices of labels (may be numeric), counting whitespace separated entries in a line starting with 0.
      protected long[] labelIndices
      Keeps the indices of the attributes to be treated as a string label.
      static elki.utilities.optionhandling.OptionID VECTOR_TYPE_ID
      Parameter to specify the type of vectors to produce.
    • Constructor Summary

      Constructors 
      Constructor Description
      Par()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configure​(elki.utilities.optionhandling.parameterization.Parameterization config)  
      protected void getFactory​(elki.utilities.optionhandling.parameterization.Parameterization config)
      Get the object factory.
      protected void getLabelIndices​(elki.utilities.optionhandling.parameterization.Parameterization config)
      Get the label indices.
      NumberVectorLabelParser<V> make()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LABEL_INDICES_ID

        public static final elki.utilities.optionhandling.OptionID LABEL_INDICES_ID
        A comma separated list of the indices of labels (may be numeric), counting whitespace separated entries in a line starting with 0. The corresponding entries will be treated as a label.
      • VECTOR_TYPE_ID

        public static final elki.utilities.optionhandling.OptionID VECTOR_TYPE_ID
        Parameter to specify the type of vectors to produce.
      • labelIndices

        protected long[] labelIndices
        Keeps the indices of the attributes to be treated as a string label.
      • factory

        protected elki.data.NumberVector.Factory<V extends elki.data.NumberVector> factory
        Factory object.
    • Constructor Detail

      • Par

        public Par()
    • Method Detail

      • configure

        public void configure​(elki.utilities.optionhandling.parameterization.Parameterization config)
        Specified by:
        configure in interface elki.utilities.optionhandling.Parameterizer
        Overrides:
        configure in class AbstractStreamingParser.Par
      • getFactory

        protected void getFactory​(elki.utilities.optionhandling.parameterization.Parameterization config)
        Get the object factory.
        Parameters:
        config - Parameterization
      • getLabelIndices

        protected void getLabelIndices​(elki.utilities.optionhandling.parameterization.Parameterization config)
        Get the label indices.
        Parameters:
        config - Parameterization