Documentation of 'org.encog.ml.BasicML' Java class
BasicML
org.encog.ml

Class BasicML

    • Constructor Summary

      Constructors 
      Constructor and Description
      BasicML() 
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.Map<java.lang.String,java.lang.String> getProperties() 
      double getPropertyDouble(java.lang.String name)
      Get the specified property as a double.
      long getPropertyLong(java.lang.String name)
      Get the specified property as a long.
      java.lang.String getPropertyString(java.lang.String name)
      Get the specified property as a string.
      void setProperty(java.lang.String name, double d)
      Set a property as a double.
      void setProperty(java.lang.String name, long l)
      Set a property as a long.
      void setProperty(java.lang.String name, java.lang.String value)
      Set a property as a double.
      abstract void updateProperties()
      Update any objeccts when a property changes.
      • Methods inherited from class java.lang.Object

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

      • BasicML

        public BasicML()
    • Method Detail

      • getProperties

        public java.util.Map<java.lang.String,java.lang.String> getProperties()
        Specified by:
        getProperties in interface MLProperties
        Returns:
        A map of all properties.
      • getPropertyDouble

        public double getPropertyDouble(java.lang.String name)
        Get the specified property as a double.
        Specified by:
        getPropertyDouble in interface MLProperties
        Parameters:
        name - The name of the property.
        Returns:
        The property as a double.
      • getPropertyLong

        public long getPropertyLong(java.lang.String name)
        Get the specified property as a long.
        Specified by:
        getPropertyLong in interface MLProperties
        Parameters:
        name - The name of the specified property.
        Returns:
        The value of the specified property.
      • getPropertyString

        public java.lang.String getPropertyString(java.lang.String name)
        Get the specified property as a string.
        Specified by:
        getPropertyString in interface MLProperties
        Parameters:
        name - The name of the property.
        Returns:
        The value of the property.
      • setProperty

        public void setProperty(java.lang.String name,
                                double d)
        Set a property as a double.
        Specified by:
        setProperty in interface MLProperties
        Parameters:
        name - The name of the property.
        d - The value of the property.
      • setProperty

        public void setProperty(java.lang.String name,
                                long l)
        Set a property as a long.
        Specified by:
        setProperty in interface MLProperties
        Parameters:
        name - The name of the property.
        l - The value of the property.
      • setProperty

        public void setProperty(java.lang.String name,
                                java.lang.String value)
        Set a property as a double.
        Specified by:
        setProperty in interface MLProperties
        Parameters:
        name - The name of the property.
        value - The value of the property.
      • updateProperties

        public abstract void updateProperties()
        Description copied from interface: MLProperties
        Update any objeccts when a property changes.
        Specified by:
        updateProperties in interface MLProperties

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.