Documentation of 'org.encog.ml.svm.PersistSVM' Java class
PersistSVM
org.encog.ml.svm

Class PersistSVM

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String PARAM_C
      The parameter to hold the const C.
      static java.lang.String PARAM_CACHE_SIZE
      The parameter to hold the cache size.
      static java.lang.String PARAM_COEF0
      The parameter to hold the coef0.
      static java.lang.String PARAM_DEGREE
      The parameter to hold the degree.
      static java.lang.String PARAM_EPS
      The parameter to hold the eps.
      static java.lang.String PARAM_GAMMA
      The parameter to hold the gamma.
      static java.lang.String PARAM_KERNEL_TYPE
      The parameter to hold the kernel type.
      static java.lang.String PARAM_NU
      The parameter to hold the nu.
      static java.lang.String PARAM_NUM_WEIGHT
      The parameter to hold the number of weights.
      static java.lang.String PARAM_P
      The parameter to hold the p.
      static java.lang.String PARAM_PROBABILITY
      The parameter to hold the probability.
      static java.lang.String PARAM_SHRINKING
      The parameter to hold the shrinking.
      static java.lang.String PARAM_SVM_TYPE
      The parameter to hold the SVM type.
      static java.lang.String PARAM_WEIGHT
      The paramater to hold the weight.
      static java.lang.String PARAM_WEIGHT_LABEL
      The parameter to hold the weight label.
    • Constructor Summary

      Constructors 
      Constructor and Description
      PersistSVM() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getFileVersion() 
      java.lang.String getPersistClassString()
      java.lang.Object read(java.io.InputStream is)
      Read the object from an input stream.
      void save(java.io.OutputStream os, java.lang.Object obj)
      Save the object.
      • Methods inherited from class java.lang.Object

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

      • PARAM_C

        public static final java.lang.String PARAM_C
        The parameter to hold the const C.
        See Also:
        Constant Field Values
      • PARAM_CACHE_SIZE

        public static final java.lang.String PARAM_CACHE_SIZE
        The parameter to hold the cache size.
        See Also:
        Constant Field Values
      • PARAM_COEF0

        public static final java.lang.String PARAM_COEF0
        The parameter to hold the coef0.
        See Also:
        Constant Field Values
      • PARAM_DEGREE

        public static final java.lang.String PARAM_DEGREE
        The parameter to hold the degree.
        See Also:
        Constant Field Values
      • PARAM_EPS

        public static final java.lang.String PARAM_EPS
        The parameter to hold the eps.
        See Also:
        Constant Field Values
      • PARAM_GAMMA

        public static final java.lang.String PARAM_GAMMA
        The parameter to hold the gamma.
        See Also:
        Constant Field Values
      • PARAM_KERNEL_TYPE

        public static final java.lang.String PARAM_KERNEL_TYPE
        The parameter to hold the kernel type.
        See Also:
        Constant Field Values
      • PARAM_NUM_WEIGHT

        public static final java.lang.String PARAM_NUM_WEIGHT
        The parameter to hold the number of weights.
        See Also:
        Constant Field Values
      • PARAM_NU

        public static final java.lang.String PARAM_NU
        The parameter to hold the nu.
        See Also:
        Constant Field Values
      • PARAM_P

        public static final java.lang.String PARAM_P
        The parameter to hold the p.
        See Also:
        Constant Field Values
      • PARAM_PROBABILITY

        public static final java.lang.String PARAM_PROBABILITY
        The parameter to hold the probability.
        See Also:
        Constant Field Values
      • PARAM_SHRINKING

        public static final java.lang.String PARAM_SHRINKING
        The parameter to hold the shrinking.
        See Also:
        Constant Field Values
      • PARAM_SVM_TYPE

        public static final java.lang.String PARAM_SVM_TYPE
        The parameter to hold the SVM type.
        See Also:
        Constant Field Values
      • PARAM_WEIGHT

        public static final java.lang.String PARAM_WEIGHT
        The paramater to hold the weight.
        See Also:
        Constant Field Values
      • PARAM_WEIGHT_LABEL

        public static final java.lang.String PARAM_WEIGHT_LABEL
        The parameter to hold the weight label.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PersistSVM

        public PersistSVM()
    • Method Detail

      • getPersistClassString

        public java.lang.String getPersistClassString()
        Specified by:
        getPersistClassString in interface EncogPersistor
        Returns:
        Get the class string for the object.
      • read

        public java.lang.Object read(java.io.InputStream is)
        Read the object from an input stream.
        Specified by:
        read in interface EncogPersistor
        Parameters:
        is - The input stream.
        Returns:
        The object.
      • save

        public void save(java.io.OutputStream os,
                         java.lang.Object obj)
        Save the object.
        Specified by:
        save in interface EncogPersistor
        Parameters:
        os - The output stream to save to.
        obj - The object to save.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.