Class SvmLight2Vectors


  • public class SvmLight2Vectors
    extends java.lang.Object
    Command line import tool for loading a sequence of instances from an SVMLight feature-value pair file, with one instance per line of the input file.

    The expected format is target feature:value feature:value ... targets and features can be indices, as in SVMLight, or Strings. Note that if targets and features are indices, their indices in the data and target Alphabets may be different, though the data will be equivalent. Note that the input and output args can take multiple files.

    Author:
    Gregory Druck
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

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

      • SvmLight2Vectors

        public SvmLight2Vectors()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.FileNotFoundException,
                                java.io.IOException
        Throws:
        java.io.FileNotFoundException
        java.io.IOException