|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.app.generate.EncogCodeGeneration
public class EncogCodeGeneration
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 Summary | |
|---|---|
EncogCodeGeneration(TargetLanguage theTargetLanguage)
Construct the generation object. |
|
| Method Summary | |
|---|---|
void |
generate(EncogAnalyst analyst)
Generate the code from Encog Analyst. |
void |
generate(File method,
File data)
Generate from a method and data. |
TargetLanguage |
getTargetLanguage()
|
boolean |
isEmbedData()
|
static boolean |
isSupported(MLMethod method)
Is the specified method supported for code generation? |
String |
save()
Save the contents to a string. |
void |
save(File file)
Save the contents to the specified file. |
void |
setEmbedData(boolean embedData)
Set if data should be embeded. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EncogCodeGeneration(TargetLanguage theTargetLanguage)
theTargetLanguage - The target language.| Method Detail |
|---|
public static boolean isSupported(MLMethod method)
method - The specified method.
public void generate(EncogAnalyst analyst)
analyst - The Encog Analyst object to use for code generation.
public void generate(File method,
File data)
method - The machine learning method to generate from.data - The data to use perform generation.public TargetLanguage getTargetLanguage()
public boolean isEmbedData()
public String save()
public void save(File file)
file - public void setEmbedData(boolean embedData)
embedData - True, if data should embeded.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||