Documentation of 'org.encog.app.generate.EncogCodeGeneration' Java class
EncogCodeGeneration
org.encog.app.generate

Class EncogCodeGeneration



  • public class EncogCodeGeneration
    extends java.lang.Object
    Perform Encog code generation. Encog is capable of generating code from several different objects. This code generation will be to the specified target language.
    • Constructor Detail

      • EncogCodeGeneration

        public EncogCodeGeneration(TargetLanguage theTargetLanguage)
        Construct the generation object.
        Parameters:
        theTargetLanguage - The target language.
    • Method Detail

      • isSupported

        public static boolean isSupported(MLMethod method)
        Is the specified method supported for code generation?
        Parameters:
        method - The specified method.
        Returns:
        True, if the specified method is supported.
      • generate

        public void generate(EncogAnalyst analyst)
        Generate the code from Encog Analyst.
        Parameters:
        analyst - The Encog Analyst object to use for code generation.
      • generate

        public void generate(java.io.File method,
                             java.io.File data)
        Generate from a method and data.
        Parameters:
        method - The machine learning method to generate from.
        data - The data to use perform generation.
      • getTargetLanguage

        public TargetLanguage getTargetLanguage()
        Returns:
        the targetLanguage
      • isEmbedData

        public boolean isEmbedData()
        Returns:
        True, if data should be embeded.
      • save

        public java.lang.String save()
        Save the contents to a string.
        Returns:
        The contents.
      • save

        public void save(java.io.File file)
        Save the contents to the specified file.
        Parameters:
        file - The file to save to.
      • setEmbedData

        public void setEmbedData(boolean embedData)
        Set if data should be embeded.
        Parameters:
        embedData - True, if data should embeded.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.