├── .gitattributes ├── .gitignore ├── .travis.yml ├── LICENSE.txt ├── NOTICE.txt ├── README.md ├── build.gradle ├── classes ├── production │ └── encog-java-core │ │ └── org │ │ └── encog │ │ └── data │ │ ├── analyst.csv │ │ ├── blank.xlsx │ │ ├── classes.txt │ │ ├── mt4.mql4 │ │ └── ninja.cs └── test │ └── encog-java-core │ └── org │ └── encog │ └── data │ ├── analyst.csv │ ├── blank.xlsx │ ├── classes.txt │ ├── encodernet.eg │ ├── encog25.xml │ ├── img │ ├── a.png │ ├── b.png │ └── c.png │ ├── iris-euro.csv │ ├── iris.csv │ ├── mt4.mql4 │ ├── networks.eg │ ├── ninja.cs │ ├── simple-c.ega │ ├── simple-r.ega │ ├── simple.csv │ └── testresource ├── dependencies ├── UmlGraph.jar └── hsqldb.jar ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── src ├── .gitignore ├── main ├── assembly │ └── release.xml ├── java │ └── org │ │ └── encog │ │ ├── ConsoleStatusReportable.java │ │ ├── Encog.java │ │ ├── EncogError.java │ │ ├── EncogShutdownTask.java │ │ ├── NullStatusReportable.java │ │ ├── StatusReportable.java │ │ ├── Test.java │ │ ├── app │ │ ├── analyst │ │ │ ├── AnalystError.java │ │ │ ├── AnalystFileFormat.java │ │ │ ├── AnalystGoal.java │ │ │ ├── AnalystListener.java │ │ │ ├── ConsoleAnalystListener.java │ │ │ ├── EncogAnalyst.java │ │ │ ├── analyze │ │ │ │ ├── AnalyzedField.java │ │ │ │ ├── PerformAnalysis.java │ │ │ │ └── package-info.java │ │ │ ├── commands │ │ │ │ ├── Cmd.java │ │ │ │ ├── CmdBalance.java │ │ │ │ ├── CmdCluster.java │ │ │ │ ├── CmdCode.java │ │ │ │ ├── CmdCreate.java │ │ │ │ ├── CmdEvaluate.java │ │ │ │ ├── CmdEvaluateRaw.java │ │ │ │ ├── CmdGenerate.java │ │ │ │ ├── CmdNormalize.java │ │ │ │ ├── CmdProcess.java │ │ │ │ ├── CmdRandomize.java │ │ │ │ ├── CmdReset.java │ │ │ │ ├── CmdSegregate.java │ │ │ │ ├── CmdSet.java │ │ │ │ ├── CmdTrain.java │ │ │ │ └── package-info.java │ │ │ ├── csv │ │ │ │ ├── AnalystClusterCSV.java │ │ │ │ ├── AnalystEvaluateCSV.java │ │ │ │ ├── AnalystEvaluateRawCSV.java │ │ │ │ ├── TimeSeriesUtil.java │ │ │ │ ├── balance │ │ │ │ │ ├── BalanceCSV.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── basic │ │ │ │ │ ├── BaseCachedColumn.java │ │ │ │ │ ├── BasicCachedFile.java │ │ │ │ │ ├── BasicFile.java │ │ │ │ │ ├── FileData.java │ │ │ │ │ ├── LoadedRow.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── filter │ │ │ │ │ ├── ExcludedField.java │ │ │ │ │ ├── FilterCSV.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── normalize │ │ │ │ │ ├── AnalystNormalizeCSV.java │ │ │ │ │ ├── AnalystNormalizeToEGB.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── package-info.java │ │ │ │ ├── process │ │ │ │ │ ├── AnalystProcess.java │ │ │ │ │ └── ProcessExtension.java │ │ │ │ ├── segregate │ │ │ │ │ ├── SegregateCSV.java │ │ │ │ │ ├── SegregateTargetPercent.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── shuffle │ │ │ │ │ ├── ShuffleCSV.java │ │ │ │ │ └── package-info.java │ │ │ │ └── sort │ │ │ │ │ ├── RowComparator.java │ │ │ │ │ ├── SortCSV.java │ │ │ │ │ ├── SortType.java │ │ │ │ │ ├── SortedField.java │ │ │ │ │ └── package-info.java │ │ │ ├── missing │ │ │ │ ├── DiscardMissing.java │ │ │ │ ├── HandleMissingValues.java │ │ │ │ ├── MeanAndModeMissing.java │ │ │ │ └── NegateMissing.java │ │ │ ├── package-info.java │ │ │ ├── report │ │ │ │ ├── AnalystReport.java │ │ │ │ └── package-info.java │ │ │ ├── script │ │ │ │ ├── AnalystClassItem.java │ │ │ │ ├── AnalystScript.java │ │ │ │ ├── DataField.java │ │ │ │ ├── ScriptLoad.java │ │ │ │ ├── ScriptSave.java │ │ │ │ ├── ml │ │ │ │ │ └── ScriptOpcode.java │ │ │ │ ├── normalize │ │ │ │ │ ├── AnalystField.java │ │ │ │ │ ├── AnalystNormalize.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── package-info.java │ │ │ │ ├── preprocess │ │ │ │ │ ├── AnalystPreprocess.java │ │ │ │ │ ├── FieldPreprocess.java │ │ │ │ │ └── PreprocessAction.java │ │ │ │ ├── process │ │ │ │ │ ├── AnalystProcess.java │ │ │ │ │ └── ProcessField.java │ │ │ │ ├── prop │ │ │ │ │ ├── PropertyConstraints.java │ │ │ │ │ ├── PropertyEntry.java │ │ │ │ │ ├── PropertyType.java │ │ │ │ │ ├── ScriptProperties.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── segregate │ │ │ │ │ ├── AnalystSegregate.java │ │ │ │ │ ├── AnalystSegregateTarget.java │ │ │ │ │ └── package-info.java │ │ │ │ └── task │ │ │ │ │ ├── AnalystTask.java │ │ │ │ │ └── package-info.java │ │ │ ├── util │ │ │ │ ├── AnalystReportBridge.java │ │ │ │ ├── AnalystUtility.java │ │ │ │ ├── CSVHeaders.java │ │ │ │ ├── ConvertStringConst.java │ │ │ │ ├── FieldDirection.java │ │ │ │ └── package-info.java │ │ │ └── wizard │ │ │ │ ├── AnalystWizard.java │ │ │ │ ├── NormalizeRange.java │ │ │ │ ├── PredictionType.java │ │ │ │ ├── SourceElement.java │ │ │ │ ├── WizardMethodType.java │ │ │ │ └── package-info.java │ │ ├── generate │ │ │ ├── AnalystCodeGenerationError.java │ │ │ ├── EncogCodeGeneration.java │ │ │ ├── TargetLanguage.java │ │ │ ├── generators │ │ │ │ ├── AbstractGenerator.java │ │ │ │ ├── AbstractTemplateGenerator.java │ │ │ │ ├── LanguageSpecificGenerator.java │ │ │ │ ├── ProgramGenerator.java │ │ │ │ ├── TemplateGenerator.java │ │ │ │ ├── cs │ │ │ │ │ └── GenerateCS.java │ │ │ │ ├── java │ │ │ │ │ └── GenerateEncogJava.java │ │ │ │ ├── js │ │ │ │ │ └── GenerateEncogJavaScript.java │ │ │ │ ├── mql4 │ │ │ │ │ └── GenerateMQL4.java │ │ │ │ └── ninja │ │ │ │ │ └── GenerateNinjaScript.java │ │ │ └── program │ │ │ │ ├── EncogArgType.java │ │ │ │ ├── EncogGenProgram.java │ │ │ │ ├── EncogProgramArg.java │ │ │ │ ├── EncogProgramNode.java │ │ │ │ ├── EncogTreeNode.java │ │ │ │ └── NodeType.java │ │ └── quant │ │ │ ├── QuantError.java │ │ │ ├── QuantTask.java │ │ │ ├── indicators │ │ │ ├── Indicator.java │ │ │ ├── MovingAverage.java │ │ │ ├── ProcessIndicators.java │ │ │ ├── package-info.java │ │ │ └── predictive │ │ │ │ ├── BestClose.java │ │ │ │ ├── BestReturn.java │ │ │ │ └── package-info.java │ │ │ ├── loader │ │ │ ├── LoaderError.java │ │ │ ├── MarketLoader.java │ │ │ ├── package-info.java │ │ │ └── yahoo │ │ │ │ ├── YahooDownload.java │ │ │ │ └── package-info.java │ │ │ ├── ninja │ │ │ ├── NinjaFileConvert.java │ │ │ ├── NinjaStreamWriter.java │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ └── util │ │ │ ├── BarBuffer.java │ │ │ └── package-info.java │ │ ├── bot │ │ ├── BotError.java │ │ ├── BotUtil.java │ │ ├── browse │ │ │ ├── Address.java │ │ │ ├── BrowseError.java │ │ │ ├── Browser.java │ │ │ ├── LoadWebPage.java │ │ │ ├── WebPage.java │ │ │ ├── package-info.java │ │ │ └── range │ │ │ │ ├── Div.java │ │ │ │ ├── DocumentRange.java │ │ │ │ ├── Form.java │ │ │ │ ├── FormElement.java │ │ │ │ ├── Input.java │ │ │ │ ├── Link.java │ │ │ │ ├── Span.java │ │ │ │ └── package-info.java │ │ ├── dataunit │ │ │ ├── CodeDataUnit.java │ │ │ ├── DataUnit.java │ │ │ ├── TagDataUnit.java │ │ │ ├── TextDataUnit.java │ │ │ └── package-info.java │ │ ├── package-info.java │ │ └── rss │ │ │ ├── RSS.java │ │ │ ├── RSSItem.java │ │ │ └── package-info.java │ │ ├── ca │ │ ├── CellularAutomataError.java │ │ ├── program │ │ │ ├── CAProgram.java │ │ │ ├── basic │ │ │ │ ├── BasicProgram.java │ │ │ │ └── Movement.java │ │ │ ├── conway │ │ │ │ └── ConwayProgram.java │ │ │ ├── elementary │ │ │ │ └── ElementaryCA.java │ │ │ └── generic │ │ │ │ ├── GenericCA.java │ │ │ │ ├── GenericIO.java │ │ │ │ └── Trans.java │ │ ├── runner │ │ │ ├── BasicCARunner.java │ │ │ └── CARunner.java │ │ ├── universe │ │ │ ├── ContinuousCell.java │ │ │ ├── DiscreteCell.java │ │ │ ├── Universe.java │ │ │ ├── UniverseCell.java │ │ │ ├── UniverseCellFactory.java │ │ │ ├── UniverseListener.java │ │ │ └── basic │ │ │ │ ├── BasicCellFactory.java │ │ │ │ ├── BasicContinuousCell.java │ │ │ │ ├── BasicDiscreteCell.java │ │ │ │ ├── BasicUniverse.java │ │ │ │ └── PersistBasicUniverse.java │ │ └── visualize │ │ │ ├── CAVisualizer.java │ │ │ └── basic │ │ │ └── BasicCAVisualizer.java │ │ ├── engine │ │ └── network │ │ │ └── activation │ │ │ ├── ActivationBiPolar.java │ │ │ ├── ActivationBipolarSteepenedSigmoid.java │ │ │ ├── ActivationClippedLinear.java │ │ │ ├── ActivationCompetitive.java │ │ │ ├── ActivationElliott.java │ │ │ ├── ActivationElliottSymmetric.java │ │ │ ├── ActivationFunction.java │ │ │ ├── ActivationGaussian.java │ │ │ ├── ActivationLOG.java │ │ │ ├── ActivationLinear.java │ │ │ ├── ActivationRamp.java │ │ │ ├── ActivationReLU.java │ │ │ ├── ActivationSIN.java │ │ │ ├── ActivationSigmoid.java │ │ │ ├── ActivationSoftMax.java │ │ │ ├── ActivationSteepenedSigmoid.java │ │ │ ├── ActivationStep.java │ │ │ ├── ActivationTANH.java │ │ │ └── package-info.java │ │ ├── ensemble │ │ ├── Ensemble.java │ │ ├── EnsembleAggregator.java │ │ ├── EnsembleML.java │ │ ├── EnsembleMLMethodFactory.java │ │ ├── EnsembleTrainFactory.java │ │ ├── EnsembleTypes.java │ │ ├── EnsembleWeightedAggregator.java │ │ ├── GenericEnsembleML.java │ │ ├── adaboost │ │ │ └── AdaBoost.java │ │ ├── aggregator │ │ │ ├── Averaging.java │ │ │ ├── MajorityVoting.java │ │ │ ├── MetaClassifier.java │ │ │ └── WeightedAveraging.java │ │ ├── bagging │ │ │ └── Bagging.java │ │ ├── data │ │ │ ├── EnsembleDataSet.java │ │ │ └── factories │ │ │ │ ├── EnsembleDataSetFactory.java │ │ │ │ ├── NonResamplingDataSetFactory.java │ │ │ │ ├── ResamplingDataSetFactory.java │ │ │ │ ├── WeightedResamplingDataSetFactory.java │ │ │ │ └── WrappingNonResamplingDataSetFactory.java │ │ ├── dropout │ │ │ └── Dropout.java │ │ ├── ml │ │ │ └── mlp │ │ │ │ └── factory │ │ │ │ └── MultiLayerPerceptronFactory.java │ │ ├── stacking │ │ │ └── Stacking.java │ │ └── training │ │ │ ├── BackpropagationFactory.java │ │ │ ├── LevenbergMarquardtFactory.java │ │ │ ├── ManhattanPropagationFactory.java │ │ │ ├── ResilientPropagationFactory.java │ │ │ └── ScaledConjugateGradientFactory.java │ │ ├── mathutil │ │ ├── BoundMath.java │ │ ├── BoundNumbers.java │ │ ├── ComplexNumber.java │ │ ├── Convert.java │ │ ├── EncogFunction.java │ │ ├── EncogMath.java │ │ ├── EncogMathError.java │ │ ├── Equilateral.java │ │ ├── IntPair.java │ │ ├── IntRange.java │ │ ├── MathConst.java │ │ ├── NumericRange.java │ │ ├── VectorAlgebra.java │ │ ├── dimension │ │ │ ├── DimensionConstraint.java │ │ │ └── MultiDimension.java │ │ ├── error │ │ │ ├── ErrorCalculation.java │ │ │ ├── ErrorCalculationMode.java │ │ │ ├── NormalizedError.java │ │ │ └── package-info.java │ │ ├── libsvm │ │ │ ├── svm.java │ │ │ ├── svm_model.java │ │ │ ├── svm_node.java │ │ │ ├── svm_parameter.java │ │ │ ├── svm_print_interface.java │ │ │ └── svm_problem.java │ │ ├── matrices │ │ │ ├── BiPolarUtil.java │ │ │ ├── Matrix.java │ │ │ ├── MatrixError.java │ │ │ ├── MatrixMath.java │ │ │ ├── decomposition │ │ │ │ ├── CholeskyDecomposition.java │ │ │ │ ├── EigenvalueDecomposition.java │ │ │ │ ├── LUDecomposition.java │ │ │ │ ├── QRDecomposition.java │ │ │ │ ├── SingularValueDecomposition.java │ │ │ │ └── package-info.java │ │ │ ├── hessian │ │ │ │ ├── BasicHessian.java │ │ │ │ ├── ChainRuleWorker.java │ │ │ │ ├── ComputeHessian.java │ │ │ │ ├── HessianCR.java │ │ │ │ └── HessianFD.java │ │ │ └── package-info.java │ │ ├── package-info.java │ │ ├── probability │ │ │ ├── CalcProbability.java │ │ │ └── vars │ │ │ │ ├── RandomVariable.java │ │ │ │ └── VariableList.java │ │ ├── randomize │ │ │ ├── BasicRandomizer.java │ │ │ ├── ConsistentRandomizer.java │ │ │ ├── ConstRandomizer.java │ │ │ ├── Distort.java │ │ │ ├── FanInRandomizer.java │ │ │ ├── GaussianRandomizer.java │ │ │ ├── NguyenWidrowRandomizer.java │ │ │ ├── RandomChoice.java │ │ │ ├── Randomizer.java │ │ │ ├── RangeRandomizer.java │ │ │ ├── XaiverRandomizer.java │ │ │ ├── factory │ │ │ │ ├── BasicRandomFactory.java │ │ │ │ └── RandomFactory.java │ │ │ ├── generate │ │ │ │ ├── AbstractBoxMuller.java │ │ │ │ ├── AbstractGenerateRandom.java │ │ │ │ ├── BasicGenerateRandom.java │ │ │ │ ├── GenerateRandom.java │ │ │ │ ├── LinearCongruentialRandom.java │ │ │ │ ├── MersenneTwisterGenerateRandom.java │ │ │ │ ├── MultiplyWithCarryGenerateRandom.java │ │ │ │ └── SecureGenerateRandom.java │ │ │ └── package-info.java │ │ └── rbf │ │ │ ├── BasicRBF.java │ │ │ ├── GaussianFunction.java │ │ │ ├── InverseMultiquadricFunction.java │ │ │ ├── MexicanHatFunction.java │ │ │ ├── MultiquadricFunction.java │ │ │ ├── RBFEnum.java │ │ │ ├── RadialBasisFunction.java │ │ │ └── package-info.java │ │ ├── ml │ │ ├── BasicML.java │ │ ├── CalculateScore.java │ │ ├── MLAutoAssocation.java │ │ ├── MLClassification.java │ │ ├── MLCluster.java │ │ ├── MLClustering.java │ │ ├── MLContext.java │ │ ├── MLEncodable.java │ │ ├── MLError.java │ │ ├── MLFactory.java │ │ ├── MLInput.java │ │ ├── MLInputOutput.java │ │ ├── MLMethod.java │ │ ├── MLOutput.java │ │ ├── MLProperties.java │ │ ├── MLRegression.java │ │ ├── MLResettable.java │ │ ├── MLStateSequence.java │ │ ├── MethodFactory.java │ │ ├── TrainingImplementationType.java │ │ ├── anneal │ │ │ ├── SimulatedAnnealing.java │ │ │ └── package-info.java │ │ ├── bayesian │ │ │ ├── BayesianChoice.java │ │ │ ├── BayesianError.java │ │ │ ├── BayesianEvent.java │ │ │ ├── BayesianNetwork.java │ │ │ ├── EventType.java │ │ │ ├── PersistBayes.java │ │ │ ├── bif │ │ │ │ ├── BIFDefinition.java │ │ │ │ ├── BIFHandler.java │ │ │ │ ├── BIFUtil.java │ │ │ │ ├── BIFVariable.java │ │ │ │ └── FileSection.java │ │ │ ├── parse │ │ │ │ ├── ParseProbability.java │ │ │ │ ├── ParsedChoice.java │ │ │ │ ├── ParsedEvent.java │ │ │ │ └── ParsedProbability.java │ │ │ ├── query │ │ │ │ ├── BasicQuery.java │ │ │ │ ├── BayesianQuery.java │ │ │ │ ├── enumerate │ │ │ │ │ └── EnumerationQuery.java │ │ │ │ └── sample │ │ │ │ │ ├── EventState.java │ │ │ │ │ └── SamplingQuery.java │ │ │ ├── table │ │ │ │ ├── BayesianTable.java │ │ │ │ └── TableLine.java │ │ │ └── training │ │ │ │ ├── BayesianInit.java │ │ │ │ ├── TrainBayesian.java │ │ │ │ ├── estimator │ │ │ │ ├── BayesEstimator.java │ │ │ │ ├── EstimatorNone.java │ │ │ │ └── SimpleEstimator.java │ │ │ │ └── search │ │ │ │ ├── SearchNone.java │ │ │ │ └── k2 │ │ │ │ ├── BayesSearch.java │ │ │ │ └── SearchK2.java │ │ ├── data │ │ │ ├── MLComplexData.java │ │ │ ├── MLData.java │ │ │ ├── MLDataError.java │ │ │ ├── MLDataPair.java │ │ │ ├── MLDataSet.java │ │ │ ├── MLSequenceSet.java │ │ │ ├── auto │ │ │ │ ├── AutoFloatColumn.java │ │ │ │ └── AutoFloatDataSet.java │ │ │ ├── basic │ │ │ │ ├── BasicMLComplexData.java │ │ │ │ ├── BasicMLData.java │ │ │ │ ├── BasicMLDataCentroid.java │ │ │ │ ├── BasicMLDataPair.java │ │ │ │ ├── BasicMLDataPairCentroid.java │ │ │ │ ├── BasicMLDataSet.java │ │ │ │ ├── BasicMLSequenceSet.java │ │ │ │ └── package-info.java │ │ │ ├── buffer │ │ │ │ ├── BinaryDataLoader.java │ │ │ │ ├── BufferedDataError.java │ │ │ │ ├── BufferedDataSetIterator.java │ │ │ │ ├── BufferedMLDataSet.java │ │ │ │ ├── EncogEGBFile.java │ │ │ │ ├── MemoryDataLoader.java │ │ │ │ ├── codec │ │ │ │ │ ├── ArrayDataCODEC.java │ │ │ │ │ ├── CSVDataCODEC.java │ │ │ │ │ ├── DataSetCODEC.java │ │ │ │ │ ├── ExcelCODEC.java │ │ │ │ │ ├── NeuralDataSetCODEC.java │ │ │ │ │ ├── SQLCODEC.java │ │ │ │ │ └── package-info.java │ │ │ │ └── package-info.java │ │ │ ├── cross │ │ │ │ ├── DataFold.java │ │ │ │ ├── KFoldCrossvalidation.java │ │ │ │ └── package-info.java │ │ │ ├── folded │ │ │ │ ├── FoldedDataSet.java │ │ │ │ ├── FoldedIterator.java │ │ │ │ └── package-info.java │ │ │ ├── market │ │ │ │ ├── MarketDataDescription.java │ │ │ │ ├── MarketDataType.java │ │ │ │ ├── MarketError.java │ │ │ │ ├── MarketMLDataSet.java │ │ │ │ ├── MarketPoint.java │ │ │ │ ├── TickerSymbol.java │ │ │ │ └── loader │ │ │ │ │ ├── LoadedMarketData.java │ │ │ │ │ ├── LoaderError.java │ │ │ │ │ ├── MarketLoader.java │ │ │ │ │ └── YahooFinanceLoader.java │ │ │ ├── package-info.java │ │ │ ├── sparse │ │ │ │ └── SparseMLData.java │ │ │ ├── specific │ │ │ │ ├── BiPolarNeuralData.java │ │ │ │ ├── CSVNeuralDataSet.java │ │ │ │ └── package-info.java │ │ │ ├── temporal │ │ │ │ ├── TemporalDataDescription.java │ │ │ │ ├── TemporalError.java │ │ │ │ ├── TemporalMLDataSet.java │ │ │ │ └── TemporalPoint.java │ │ │ └── versatile │ │ │ │ ├── MatrixMLDataSet.java │ │ │ │ ├── NormalizationHelper.java │ │ │ │ ├── VersatileMLDataSet.java │ │ │ │ ├── columns │ │ │ │ ├── ColumnDefinition.java │ │ │ │ ├── ColumnType.java │ │ │ │ └── package-info.java │ │ │ │ ├── division │ │ │ │ ├── DataDivision.java │ │ │ │ ├── PerformDataDivision.java │ │ │ │ └── package-info.java │ │ │ │ ├── missing │ │ │ │ ├── MeanMissingHandler.java │ │ │ │ ├── MissingHandler.java │ │ │ │ └── package-info.java │ │ │ │ ├── normalizers │ │ │ │ ├── IndexedNormalizer.java │ │ │ │ ├── Normalizer.java │ │ │ │ ├── OneOfNNormalizer.java │ │ │ │ ├── PassThroughNormalizer.java │ │ │ │ ├── RangeNormalizer.java │ │ │ │ ├── RangeOrdinal.java │ │ │ │ ├── package-info.java │ │ │ │ └── strategies │ │ │ │ │ ├── BasicNormalizationStrategy.java │ │ │ │ │ ├── NormalizationStrategy.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── package-info.java │ │ │ │ └── sources │ │ │ │ ├── CSVDataSource.java │ │ │ │ ├── VersatileDataSource.java │ │ │ │ └── package-info.java │ │ ├── ea │ │ │ ├── codec │ │ │ │ ├── GeneticCODEC.java │ │ │ │ └── GenomeAsPhenomeCODEC.java │ │ │ ├── exception │ │ │ │ ├── EACompileError.java │ │ │ │ ├── EAError.java │ │ │ │ └── EARuntimeError.java │ │ │ ├── genome │ │ │ │ ├── BasicGenome.java │ │ │ │ ├── Genome.java │ │ │ │ └── GenomeFactory.java │ │ │ ├── opp │ │ │ │ ├── CompoundOperator.java │ │ │ │ ├── EvolutionaryOperator.java │ │ │ │ ├── OperationList.java │ │ │ │ └── selection │ │ │ │ │ ├── SelectionOperator.java │ │ │ │ │ ├── TournamentSelection.java │ │ │ │ │ └── TruncationSelection.java │ │ │ ├── population │ │ │ │ ├── BasicPopulation.java │ │ │ │ ├── Population.java │ │ │ │ ├── PopulationGenerator.java │ │ │ │ └── package-info.java │ │ │ ├── rules │ │ │ │ ├── BasicRuleHolder.java │ │ │ │ ├── ConstraintRule.java │ │ │ │ ├── RewriteRule.java │ │ │ │ └── RuleHolder.java │ │ │ ├── score │ │ │ │ ├── AdjustScore.java │ │ │ │ ├── EmptyScoreFunction.java │ │ │ │ ├── adjust │ │ │ │ │ └── ComplexityAdjustedScore.java │ │ │ │ └── parallel │ │ │ │ │ ├── ParallelScore.java │ │ │ │ │ └── ParallelScoreTask.java │ │ │ ├── sort │ │ │ │ ├── AbstractGenomeComparator.java │ │ │ │ ├── GenomeComparator.java │ │ │ │ ├── MaximizeAdjustedScoreComp.java │ │ │ │ ├── MaximizeScoreComp.java │ │ │ │ ├── MinimizeAdjustedScoreComp.java │ │ │ │ ├── MinimizeScoreComp.java │ │ │ │ ├── SortGenomesForSpecies.java │ │ │ │ └── SpeciesComparator.java │ │ │ ├── species │ │ │ │ ├── BasicSpecies.java │ │ │ │ ├── SingleSpeciation.java │ │ │ │ ├── Speciation.java │ │ │ │ ├── Species.java │ │ │ │ └── ThresholdSpeciation.java │ │ │ └── train │ │ │ │ ├── EvolutionaryAlgorithm.java │ │ │ │ └── basic │ │ │ │ ├── BasicEA.java │ │ │ │ ├── EAWorker.java │ │ │ │ └── TrainEA.java │ │ ├── factory │ │ │ ├── MLActivationFactory.java │ │ │ ├── MLMethodFactory.java │ │ │ ├── MLTrainFactory.java │ │ │ ├── method │ │ │ │ ├── BayesianFactory.java │ │ │ │ ├── EPLFactory.java │ │ │ │ ├── FeedforwardFactory.java │ │ │ │ ├── NEATFactory.java │ │ │ │ ├── PNNFactory.java │ │ │ │ ├── RBFNetworkFactory.java │ │ │ │ ├── SOMFactory.java │ │ │ │ ├── SRNFactory.java │ │ │ │ ├── SVMFactory.java │ │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ ├── parse │ │ │ │ ├── ArchitectureLayer.java │ │ │ │ ├── ArchitectureParse.java │ │ │ │ └── package-info.java │ │ │ └── train │ │ │ │ ├── AnnealFactory.java │ │ │ │ ├── BackPropFactory.java │ │ │ │ ├── ClusterSOMFactory.java │ │ │ │ ├── EPLGAFactory.java │ │ │ │ ├── GeneticFactory.java │ │ │ │ ├── LMAFactory.java │ │ │ │ ├── ManhattanFactory.java │ │ │ │ ├── NEATGAFactory.java │ │ │ │ ├── NeighborhoodSOMFactory.java │ │ │ │ ├── NelderMeadFactory.java │ │ │ │ ├── PNNTrainFactory.java │ │ │ │ ├── PSOFactory.java │ │ │ │ ├── QuickPropFactory.java │ │ │ │ ├── RBFSVDFactory.java │ │ │ │ ├── RPROPFactory.java │ │ │ │ ├── SCGFactory.java │ │ │ │ ├── SVMFactory.java │ │ │ │ ├── SVMSearchFactory.java │ │ │ │ ├── TrainBayesianFactory.java │ │ │ │ └── package-info.java │ │ ├── fitness │ │ │ ├── FitnessObjective.java │ │ │ └── MultiObjectiveFitness.java │ │ ├── fitting │ │ │ ├── gaussian │ │ │ │ ├── GaussianFitting.java │ │ │ │ └── TrainGaussian.java │ │ │ └── linear │ │ │ │ ├── LinearRegression.java │ │ │ │ └── TrainLinearRegression.java │ │ ├── genetic │ │ │ ├── GeneticError.java │ │ │ ├── MLEncodableCODEC.java │ │ │ ├── MLMethodGeneticAlgorithm.java │ │ │ ├── MLMethodGenome.java │ │ │ ├── MLMethodGenomeFactory.java │ │ │ ├── crossover │ │ │ │ ├── Splice.java │ │ │ │ ├── SpliceNoRepeat.java │ │ │ │ └── package-info.java │ │ │ ├── genome │ │ │ │ ├── ArrayGenome.java │ │ │ │ ├── DoubleArrayGenome.java │ │ │ │ ├── DoubleArrayGenomeFactory.java │ │ │ │ ├── IntegerArrayGenome.java │ │ │ │ ├── IntegerArrayGenomeFactory.java │ │ │ │ └── package-info.java │ │ │ ├── mutate │ │ │ │ ├── MutatePerturb.java │ │ │ │ ├── MutateShuffle.java │ │ │ │ └── package-info.java │ │ │ └── package-info.java │ │ ├── graph │ │ │ ├── BasicEdge.java │ │ │ ├── BasicGraph.java │ │ │ ├── BasicNode.java │ │ │ ├── BasicPath.java │ │ │ ├── EuclideanNode.java │ │ │ └── search │ │ │ │ ├── AStarSearch.java │ │ │ │ ├── AbstractGraphSearch.java │ │ │ │ ├── BreadthFirstSearch.java │ │ │ │ ├── CostEstimator.java │ │ │ │ ├── DepthFirstSearch.java │ │ │ │ ├── EuclideanCostEstimator.java │ │ │ │ ├── FrontierHolder.java │ │ │ │ ├── GraphSearch.java │ │ │ │ ├── Prioritizer.java │ │ │ │ ├── SearchGoal.java │ │ │ │ └── SimpleDestinationGoal.java │ │ ├── hmm │ │ │ ├── HiddenMarkovModel.java │ │ │ ├── PersistHMM.java │ │ │ ├── alog │ │ │ │ ├── ForwardBackwardCalculator.java │ │ │ │ ├── ForwardBackwardScaledCalculator.java │ │ │ │ ├── KullbackLeiblerDistanceCalculator.java │ │ │ │ ├── MarkovGenerator.java │ │ │ │ └── ViterbiCalculator.java │ │ │ ├── distributions │ │ │ │ ├── ContinousDistribution.java │ │ │ │ ├── DiscreteDistribution.java │ │ │ │ └── StateDistribution.java │ │ │ └── train │ │ │ │ ├── bw │ │ │ │ ├── BaseBaumWelch.java │ │ │ │ ├── TrainBaumWelch.java │ │ │ │ └── TrainBaumWelchScaled.java │ │ │ │ └── kmeans │ │ │ │ ├── Clusters.java │ │ │ │ └── TrainKMeans.java │ │ ├── importance │ │ │ ├── AbstractFeatureImportance.java │ │ │ ├── CorrelationFeatureImportanceCalc.java │ │ │ ├── FeatureImportance.java │ │ │ ├── FeatureRank.java │ │ │ ├── NeuralFeatureImportanceCalc.java │ │ │ └── PerturbationFeatureImportanceCalc.java │ │ ├── kmeans │ │ │ ├── BasicCluster.java │ │ │ ├── KMeansClustering.java │ │ │ └── package-info.java │ │ ├── model │ │ │ ├── EncogModel.java │ │ │ ├── config │ │ │ │ ├── FeedforwardConfig.java │ │ │ │ ├── MethodConfig.java │ │ │ │ ├── NEATConfig.java │ │ │ │ ├── PNNConfig.java │ │ │ │ ├── RBFNetworkConfig.java │ │ │ │ ├── SVMConfig.java │ │ │ │ └── package-info.java │ │ │ └── package-info.java │ │ ├── package-info.java │ │ ├── prg │ │ │ ├── EncogProgram.java │ │ │ ├── EncogProgramContext.java │ │ │ ├── EncogProgramVariables.java │ │ │ ├── PersistPrgPopulation.java │ │ │ ├── PrgCODEC.java │ │ │ ├── ProgramNode.java │ │ │ ├── VariableMapping.java │ │ │ ├── expvalue │ │ │ │ ├── DivisionByZeroError.java │ │ │ │ ├── EvaluateExpr.java │ │ │ │ ├── ExpressionValue.java │ │ │ │ └── ValueType.java │ │ │ ├── extension │ │ │ │ ├── BasicTemplate.java │ │ │ │ ├── ConstantPool.java │ │ │ │ ├── EncogOpcodeRegistry.java │ │ │ │ ├── FunctionFactory.java │ │ │ │ ├── NodeType.java │ │ │ │ ├── ParamTemplate.java │ │ │ │ ├── ProgramExtensionTemplate.java │ │ │ │ └── StandardExtensions.java │ │ │ ├── generator │ │ │ │ ├── AbstractPrgGenerator.java │ │ │ │ ├── GenerateWorker.java │ │ │ │ ├── PrgFullGenerator.java │ │ │ │ ├── PrgGenerator.java │ │ │ │ ├── PrgGrowGenerator.java │ │ │ │ └── RampedHalfAndHalf.java │ │ │ ├── opp │ │ │ │ ├── ConstMutation.java │ │ │ │ ├── LevelHolder.java │ │ │ │ ├── SubtreeCrossover.java │ │ │ │ └── SubtreeMutation.java │ │ │ ├── species │ │ │ │ ├── CompareEncogProgram.java │ │ │ │ └── PrgSpeciation.java │ │ │ └── train │ │ │ │ ├── PrgGenomeFactory.java │ │ │ │ ├── PrgPopulation.java │ │ │ │ ├── ZeroEvalScoreFunction.java │ │ │ │ └── rewrite │ │ │ │ ├── RewriteAlgebraic.java │ │ │ │ ├── RewriteBoolean.java │ │ │ │ └── RewriteConstants.java │ │ ├── schedule │ │ │ ├── ActionNode.java │ │ │ ├── CalculateScheduleTimes.java │ │ │ └── ScheduleGraph.java │ │ ├── svm │ │ │ ├── KernelType.java │ │ │ ├── PersistSVM.java │ │ │ ├── SVM.java │ │ │ ├── SVMType.java │ │ │ ├── package-info.java │ │ │ └── training │ │ │ │ ├── EncodeSVMProblem.java │ │ │ │ ├── SVMSearchTrain.java │ │ │ │ ├── SVMTrain.java │ │ │ │ └── package-info.java │ │ ├── train │ │ │ ├── BasicTraining.java │ │ │ ├── MLTrain.java │ │ │ └── strategy │ │ │ │ ├── Greedy.java │ │ │ │ ├── HybridStrategy.java │ │ │ │ ├── RequiredImprovementStrategy.java │ │ │ │ ├── ResetStrategy.java │ │ │ │ ├── StopTrainingStrategy.java │ │ │ │ ├── Strategy.java │ │ │ │ └── end │ │ │ │ ├── EarlyStoppingStrategy.java │ │ │ │ ├── EndIterationsStrategy.java │ │ │ │ ├── EndMaxErrorStrategy.java │ │ │ │ ├── EndMinutesStrategy.java │ │ │ │ ├── EndTrainingStrategy.java │ │ │ │ └── StoppingStrategy.java │ │ ├── tree │ │ │ ├── TreeNode.java │ │ │ ├── basic │ │ │ │ └── BasicTreeNode.java │ │ │ └── traverse │ │ │ │ ├── DepthFirstTraversal.java │ │ │ │ ├── TreeTraversal.java │ │ │ │ ├── TreeTraversalTask.java │ │ │ │ └── tasks │ │ │ │ ├── TaskCountNodes.java │ │ │ │ ├── TaskGetNodeIndex.java │ │ │ │ └── TaskReplaceNode.java │ │ └── world │ │ │ ├── Action.java │ │ │ ├── ActionProbability.java │ │ │ ├── AgentPolicy.java │ │ │ ├── PerformAction.java │ │ │ ├── State.java │ │ │ ├── SuccessorState.java │ │ │ ├── World.java │ │ │ ├── WorldAgent.java │ │ │ ├── WorldError.java │ │ │ ├── basic │ │ │ ├── BasicAction.java │ │ │ ├── BasicAgent.java │ │ │ ├── BasicState.java │ │ │ └── BasicWorld.java │ │ │ ├── grid │ │ │ ├── GridState.java │ │ │ ├── GridWorld.java │ │ │ └── probability │ │ │ │ ├── GridAbstractProbability.java │ │ │ │ ├── GridDeterministicProbability.java │ │ │ │ └── GridStochasticProbability.java │ │ │ └── learning │ │ │ ├── mdp │ │ │ ├── MarkovDecisionProcess.java │ │ │ └── ValueIteration.java │ │ │ └── q │ │ │ └── QLearning.java │ │ ├── neural │ │ ├── NeuralNetworkError.java │ │ ├── art │ │ │ ├── ART.java │ │ │ ├── ART1.java │ │ │ ├── PersistART1.java │ │ │ └── package-info.java │ │ ├── bam │ │ │ ├── BAM.java │ │ │ ├── PersistBAM.java │ │ │ └── package-info.java │ │ ├── cpn │ │ │ ├── CPN.java │ │ │ ├── PersistCPN.java │ │ │ ├── package-info.java │ │ │ └── training │ │ │ │ ├── TrainInstar.java │ │ │ │ ├── TrainOutstar.java │ │ │ │ └── package-info.java │ │ ├── data │ │ │ ├── NeuralData.java │ │ │ ├── NeuralDataPair.java │ │ │ ├── NeuralDataSet.java │ │ │ ├── basic │ │ │ │ ├── BasicNeuralData.java │ │ │ │ ├── BasicNeuralDataPair.java │ │ │ │ ├── BasicNeuralDataSet.java │ │ │ │ └── package-info.java │ │ │ └── package-info.java │ │ ├── error │ │ │ ├── ATanErrorFunction.java │ │ │ ├── CrossEntropyErrorFunction.java │ │ │ ├── ErrorFunction.java │ │ │ ├── LinearErrorFunction.java │ │ │ └── OutputErrorFunction.java │ │ ├── flat │ │ │ ├── FlatLayer.java │ │ │ ├── FlatNetwork.java │ │ │ ├── FlatNetworkRBF.java │ │ │ └── package-info.java │ │ ├── freeform │ │ │ ├── FreeformConnection.java │ │ │ ├── FreeformContextNeuron.java │ │ │ ├── FreeformLayer.java │ │ │ ├── FreeformNetwork.java │ │ │ ├── FreeformNetworkError.java │ │ │ ├── FreeformNeuron.java │ │ │ ├── InputSummation.java │ │ │ ├── TempTrainingData.java │ │ │ ├── basic │ │ │ │ ├── BasicActivationSummation.java │ │ │ │ ├── BasicActivationSummationFactory.java │ │ │ │ ├── BasicFreeformConnection.java │ │ │ │ ├── BasicFreeformConnectionFactory.java │ │ │ │ ├── BasicFreeformLayer.java │ │ │ │ ├── BasicFreeformLayerFactory.java │ │ │ │ ├── BasicFreeformNeuron.java │ │ │ │ └── BasicFreeformNeuronFactory.java │ │ │ ├── factory │ │ │ │ ├── FreeformConnectionFactory.java │ │ │ │ ├── FreeformLayerFactory.java │ │ │ │ ├── FreeformNeuronFactory.java │ │ │ │ └── InputSummationFactory.java │ │ │ ├── task │ │ │ │ ├── ConnectionTask.java │ │ │ │ └── NeuronTask.java │ │ │ └── training │ │ │ │ ├── FreeformBackPropagation.java │ │ │ │ ├── FreeformPropagationTraining.java │ │ │ │ └── FreeformResilientPropagation.java │ │ ├── hyperneat │ │ │ ├── FactorHyperNEATGenome.java │ │ │ ├── HyperNEATCODEC.java │ │ │ ├── HyperNEATGenome.java │ │ │ └── substrate │ │ │ │ ├── Substrate.java │ │ │ │ ├── SubstrateFactory.java │ │ │ │ ├── SubstrateLink.java │ │ │ │ └── SubstrateNode.java │ │ ├── neat │ │ │ ├── FactorNEATGenome.java │ │ │ ├── NEATCODEC.java │ │ │ ├── NEATGenomeFactory.java │ │ │ ├── NEATLink.java │ │ │ ├── NEATNetwork.java │ │ │ ├── NEATNeuronType.java │ │ │ ├── NEATPopulation.java │ │ │ ├── NEATUtil.java │ │ │ ├── PersistNEATPopulation.java │ │ │ └── training │ │ │ │ ├── NEATBaseGene.java │ │ │ │ ├── NEATGenome.java │ │ │ │ ├── NEATInnovation.java │ │ │ │ ├── NEATInnovationList.java │ │ │ │ ├── NEATInnovationType.java │ │ │ │ ├── NEATLinkGene.java │ │ │ │ ├── NEATNeuronGene.java │ │ │ │ ├── opp │ │ │ │ ├── NEATCrossover.java │ │ │ │ ├── NEATMutateAddLink.java │ │ │ │ ├── NEATMutateAddNode.java │ │ │ │ ├── NEATMutateRemoveLink.java │ │ │ │ ├── NEATMutateWeights.java │ │ │ │ ├── NEATMutation.java │ │ │ │ └── links │ │ │ │ │ ├── MutateLinkWeight.java │ │ │ │ │ ├── MutatePerturbLinkWeight.java │ │ │ │ │ ├── MutateResetLinkWeight.java │ │ │ │ │ ├── SelectFixed.java │ │ │ │ │ ├── SelectLinks.java │ │ │ │ │ └── SelectProportion.java │ │ │ │ └── species │ │ │ │ └── OriginalNEATSpeciation.java │ │ ├── networks │ │ │ ├── BasicNetwork.java │ │ │ ├── ContainsFlat.java │ │ │ ├── NeuralDataMapping.java │ │ │ ├── PersistBasicNetwork.java │ │ │ ├── layers │ │ │ │ ├── BasicLayer.java │ │ │ │ └── Layer.java │ │ │ ├── package-info.java │ │ │ ├── structure │ │ │ │ ├── AnalyzeNetwork.java │ │ │ │ ├── NetworkCODEC.java │ │ │ │ ├── NeuralStructure.java │ │ │ │ └── package-info.java │ │ │ └── training │ │ │ │ ├── BatchSize.java │ │ │ │ ├── LearningRate.java │ │ │ │ ├── Momentum.java │ │ │ │ ├── StochasticTrainingSetScore.java │ │ │ │ ├── Train.java │ │ │ │ ├── TrainingError.java │ │ │ │ ├── TrainingSetScore.java │ │ │ │ ├── anneal │ │ │ │ ├── NeuralSimulatedAnnealing.java │ │ │ │ ├── NeuralSimulatedAnnealingHelper.java │ │ │ │ └── package-info.java │ │ │ │ ├── concurrent │ │ │ │ ├── ConcurrentTrainingManager.java │ │ │ │ ├── jobs │ │ │ │ │ ├── BPROPJob.java │ │ │ │ │ ├── RPROPJob.java │ │ │ │ │ ├── TrainingJob.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── package-info.java │ │ │ │ └── performers │ │ │ │ │ ├── ConcurrentTrainingPerformer.java │ │ │ │ │ ├── ConcurrentTrainingPerformerCPU.java │ │ │ │ │ ├── PerformerTask.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── cross │ │ │ │ ├── CrossTraining.java │ │ │ │ ├── CrossValidationKFold.java │ │ │ │ ├── NetworkFold.java │ │ │ │ └── package-info.java │ │ │ │ ├── lma │ │ │ │ ├── LevenbergMarquardtTraining.java │ │ │ │ └── package-info.java │ │ │ │ ├── nm │ │ │ │ └── NelderMeadTraining.java │ │ │ │ ├── package-info.java │ │ │ │ ├── pnn │ │ │ │ ├── CalculationCriteria.java │ │ │ │ ├── DeriveMinimum.java │ │ │ │ ├── GlobalMinimumSearch.java │ │ │ │ ├── TrainBasicPNN.java │ │ │ │ └── package-info.java │ │ │ │ ├── propagation │ │ │ │ ├── GradientWorker.java │ │ │ │ ├── GradientWorkerOwner.java │ │ │ │ ├── PersistTrainingContinuation.java │ │ │ │ ├── Propagation.java │ │ │ │ ├── TrainingContinuation.java │ │ │ │ ├── back │ │ │ │ │ ├── Backpropagation.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── manhattan │ │ │ │ │ ├── ManhattanPropagation.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── package-info.java │ │ │ │ ├── quick │ │ │ │ │ ├── QuickPropagation.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── resilient │ │ │ │ │ ├── RPROPConst.java │ │ │ │ │ ├── RPROPType.java │ │ │ │ │ ├── ResilientPropagation.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── scg │ │ │ │ │ ├── ScaledConjugateGradient.java │ │ │ │ │ └── package-info.java │ │ │ │ └── sgd │ │ │ │ │ ├── BatchDataSet.java │ │ │ │ │ ├── StochasticGradientDescent.java │ │ │ │ │ └── update │ │ │ │ │ ├── AdaGradUpdate.java │ │ │ │ │ ├── AdamUpdate.java │ │ │ │ │ ├── MomentumUpdate.java │ │ │ │ │ ├── NesterovUpdate.java │ │ │ │ │ ├── RMSPropUpdate.java │ │ │ │ │ └── UpdateRule.java │ │ │ │ ├── pso │ │ │ │ ├── NeuralPSO.java │ │ │ │ └── NeuralPSOWorker.java │ │ │ │ ├── simple │ │ │ │ ├── TrainAdaline.java │ │ │ │ └── package-info.java │ │ │ │ └── strategy │ │ │ │ ├── RegularizationStrategy.java │ │ │ │ ├── SmartLearningRate.java │ │ │ │ ├── SmartMomentum.java │ │ │ │ └── package-info.java │ │ ├── pattern │ │ │ ├── ADALINEPattern.java │ │ │ ├── ART1Pattern.java │ │ │ ├── BAMPattern.java │ │ │ ├── BoltzmannPattern.java │ │ │ ├── CPNPattern.java │ │ │ ├── ElmanPattern.java │ │ │ ├── FeedForwardPattern.java │ │ │ ├── HopfieldPattern.java │ │ │ ├── JordanPattern.java │ │ │ ├── NeuralNetworkPattern.java │ │ │ ├── PNNPattern.java │ │ │ ├── PatternError.java │ │ │ ├── RadialBasisPattern.java │ │ │ ├── SOMPattern.java │ │ │ ├── SVMPattern.java │ │ │ └── package-info.java │ │ ├── pnn │ │ │ ├── AbstractPNN.java │ │ │ ├── BasicPNN.java │ │ │ ├── PNNKernelType.java │ │ │ ├── PNNOutputMode.java │ │ │ ├── PersistBasicPNN.java │ │ │ └── package-info.java │ │ ├── prune │ │ │ ├── HiddenLayerParams.java │ │ │ ├── NetworkPattern.java │ │ │ ├── PruneIncremental.java │ │ │ ├── PruneSelective.java │ │ │ └── package-info.java │ │ ├── rbf │ │ │ ├── PersistRBFNetwork.java │ │ │ ├── RBFNetwork.java │ │ │ ├── package-info.java │ │ │ └── training │ │ │ │ ├── SVD.java │ │ │ │ ├── SVDTraining.java │ │ │ │ └── package-info.java │ │ ├── som │ │ │ ├── PersistSOM.java │ │ │ ├── SOM.java │ │ │ ├── package-info.java │ │ │ └── training │ │ │ │ ├── basic │ │ │ │ ├── BasicTrainSOM.java │ │ │ │ ├── BestMatchingUnit.java │ │ │ │ ├── neighborhood │ │ │ │ │ ├── NeighborhoodBubble.java │ │ │ │ │ ├── NeighborhoodFunction.java │ │ │ │ │ ├── NeighborhoodRBF.java │ │ │ │ │ ├── NeighborhoodRBF1D.java │ │ │ │ │ ├── NeighborhoodSingle.java │ │ │ │ │ └── package-info.java │ │ │ │ └── package-info.java │ │ │ │ ├── clustercopy │ │ │ │ ├── SOMClusterCopyTraining.java │ │ │ │ └── package-info.java │ │ │ │ └── package-info.java │ │ └── thermal │ │ │ ├── BoltzmannMachine.java │ │ │ ├── HopfieldNetwork.java │ │ │ ├── PersistBoltzmann.java │ │ │ ├── PersistHopfield.java │ │ │ ├── ThermalNetwork.java │ │ │ └── package-info.java │ │ ├── parse │ │ ├── ParseError.java │ │ ├── PeekableInputStream.java │ │ ├── expression │ │ │ ├── CommonRender.java │ │ │ ├── ExpressionNodeType.java │ │ │ ├── common │ │ │ │ ├── ParseCommonExpression.java │ │ │ │ └── RenderCommonExpression.java │ │ │ ├── epl │ │ │ │ ├── ParseEPL.java │ │ │ │ └── RenderEPL.java │ │ │ ├── latex │ │ │ │ └── RenderLatexExpression.java │ │ │ └── rpn │ │ │ │ └── RenderRPN.java │ │ └── tags │ │ │ ├── Tag.java │ │ │ ├── TagConst.java │ │ │ ├── read │ │ │ ├── ReadHTML.java │ │ │ ├── ReadTags.java │ │ │ └── ReadXML.java │ │ │ └── write │ │ │ ├── WriteTags.java │ │ │ └── WriteXML.java │ │ ├── persist │ │ ├── EncogDirectoryPersistence.java │ │ ├── EncogFileSection.java │ │ ├── EncogPersistor.java │ │ ├── EncogReadHelper.java │ │ ├── EncogWriteHelper.java │ │ ├── PersistConst.java │ │ ├── PersistError.java │ │ ├── PersistorRegistry.java │ │ ├── package-info.java │ │ └── source │ │ │ ├── ObtainFallbackStream.java │ │ │ ├── ObtainFileInputStream.java │ │ │ ├── ObtainInputStream.java │ │ │ └── ObtainResourceInputStream.java │ │ ├── platformspecific │ │ └── j2se │ │ │ ├── EncogPlatformSpecific.java │ │ │ ├── TrainingDialog.java │ │ │ └── data │ │ │ ├── SQLNeuralDataSet.java │ │ │ └── image │ │ │ ├── ImageMLData.java │ │ │ ├── ImageMLDataSet.java │ │ │ └── package-info.java │ │ ├── plugin │ │ ├── EncogPluginBase.java │ │ ├── EncogPluginLogging1.java │ │ ├── EncogPluginService1.java │ │ ├── package-info.java │ │ └── system │ │ │ ├── SystemActivationPlugin.java │ │ │ ├── SystemLoggingPlugin.java │ │ │ ├── SystemMethodsPlugin.java │ │ │ ├── SystemTrainingPlugin.java │ │ │ └── package-info.java │ │ └── util │ │ ├── EncogValidate.java │ │ ├── EngineArray.java │ │ ├── Format.java │ │ ├── HTMLReport.java │ │ ├── ImageSize.java │ │ ├── ObjectPair.java │ │ ├── ParamsHolder.java │ │ ├── ResourceLoader.java │ │ ├── SimpleParser.java │ │ ├── Stopwatch.java │ │ ├── YahooSearch.java │ │ ├── arrayutil │ │ ├── Array.java │ │ ├── ClassItem.java │ │ ├── NormalizationAction.java │ │ ├── NormalizeArray.java │ │ ├── NormalizedField.java │ │ ├── TemporalType.java │ │ ├── TemporalWindowArray.java │ │ ├── TemporalWindowField.java │ │ ├── VectorWindow.java │ │ └── WindowDouble.java │ │ ├── benchmark │ │ ├── EncoderTrainingFactory.java │ │ ├── EncogBenchmark.java │ │ ├── Evaluate.java │ │ └── RandomTrainingFactory.java │ │ ├── concurrency │ │ ├── DetermineWorkload.java │ │ ├── EngineConcurrency.java │ │ ├── EngineTask.java │ │ ├── MultiThreadable.java │ │ ├── PoolItem.java │ │ ├── TaskGroup.java │ │ └── job │ │ │ ├── ConcurrentJob.java │ │ │ ├── JobUnitContext.java │ │ │ └── JobUnitWorker.java │ │ ├── csv │ │ ├── CSVError.java │ │ ├── CSVFormat.java │ │ ├── NumberList.java │ │ ├── ParseCSVLine.java │ │ └── ReadCSV.java │ │ ├── data │ │ ├── GenerationUtil.java │ │ └── MNISTReader.java │ │ ├── datastruct │ │ ├── StackInt.java │ │ ├── StackObject.java │ │ ├── StackString.java │ │ └── WindowInt.java │ │ ├── downsample │ │ ├── Downsample.java │ │ ├── RGBDownsample.java │ │ └── SimpleIntensityDownsample.java │ │ ├── error │ │ └── CalculateRegressionError.java │ │ ├── file │ │ ├── Directory.java │ │ ├── FileUtil.java │ │ └── ResourceInputStream.java │ │ ├── http │ │ ├── CookieUtility.java │ │ ├── FormUtility.java │ │ └── URLUtility.java │ │ ├── identity │ │ ├── BasicGenerateID.java │ │ └── GenerateID.java │ │ ├── kmeans │ │ ├── Centroid.java │ │ ├── CentroidFactory.java │ │ ├── Cluster.java │ │ └── KMeansUtil.java │ │ ├── logging │ │ ├── DumpMatrix.java │ │ ├── EncogFormatter.java │ │ └── EncogLogging.java │ │ ├── normalize │ │ ├── DataNormalization.java │ │ ├── NormalizationError.java │ │ ├── input │ │ │ ├── BasicInputField.java │ │ │ ├── HasFixedLength.java │ │ │ ├── InputField.java │ │ │ ├── InputFieldArray1D.java │ │ │ ├── InputFieldArray2D.java │ │ │ ├── InputFieldCSV.java │ │ │ ├── InputFieldCSVText.java │ │ │ ├── InputFieldEncogCollection.java │ │ │ ├── InputFieldMLDataSet.java │ │ │ └── MLDataFieldHolder.java │ │ ├── output │ │ │ ├── BasicOutputField.java │ │ │ ├── BasicOutputFieldGroup.java │ │ │ ├── OutputField.java │ │ │ ├── OutputFieldDirect.java │ │ │ ├── OutputFieldGroup.java │ │ │ ├── OutputFieldGrouped.java │ │ │ ├── OutputFieldRangeMapped.java │ │ │ ├── RequireTwoPass.java │ │ │ ├── mapped │ │ │ │ ├── MappedRange.java │ │ │ │ └── OutputFieldEncode.java │ │ │ ├── multiplicative │ │ │ │ ├── MultiplicativeGroup.java │ │ │ │ └── OutputFieldMultiplicative.java │ │ │ ├── nominal │ │ │ │ ├── NominalItem.java │ │ │ │ ├── OutputEquilateral.java │ │ │ │ └── OutputOneOf.java │ │ │ └── zaxis │ │ │ │ ├── OutputFieldZAxis.java │ │ │ │ ├── OutputFieldZAxisSynthetic.java │ │ │ │ └── ZAxisGroup.java │ │ ├── segregate │ │ │ ├── IntegerBalanceSegregator.java │ │ │ ├── RangeSegregator.java │ │ │ ├── SegregationRange.java │ │ │ ├── Segregator.java │ │ │ └── index │ │ │ │ ├── IndexRangeSegregator.java │ │ │ │ ├── IndexSampleSegregator.java │ │ │ │ └── IndexSegregator.java │ │ └── target │ │ │ ├── NormalizationStorage.java │ │ │ ├── NormalizationStorageArray1D.java │ │ │ ├── NormalizationStorageArray2D.java │ │ │ ├── NormalizationStorageCSV.java │ │ │ ├── NormalizationStorageEncogCollection.java │ │ │ └── NormalizationStorageNeuralDataSet.java │ │ ├── obj │ │ ├── ActivationUtil.java │ │ ├── ChooseObject.java │ │ ├── ObjectCloner.java │ │ ├── ObjectHolder.java │ │ ├── ReflectionUtil.java │ │ └── SerializeObject.java │ │ ├── simple │ │ ├── EncogUtility.java │ │ └── TrainingSetUtil.java │ │ ├── text │ │ ├── BagOfWords.java │ │ ├── Base64.java │ │ ├── DoubleString.java │ │ └── LevenshteinDistance.java │ │ ├── time │ │ ├── DateUtil.java │ │ ├── EnglishTimeUnitNames.java │ │ ├── NumericDateUtil.java │ │ ├── TimeSpan.java │ │ ├── TimeUnit.java │ │ └── TimeUnitNames.java │ │ └── validate │ │ └── ValidateNetwork.java └── resources │ └── org │ └── encog │ └── data │ ├── analyst.csv │ ├── blank.xlsx │ ├── classes.txt │ ├── mt4.mql4 │ └── ninja.cs └── test ├── java └── org │ └── encog │ ├── TestEncog.java │ ├── app │ ├── analyst │ │ ├── AnalystTestingUtility.java │ │ ├── TestAnalystClassification.java │ │ ├── TestAnalystRegression.java │ │ └── TestEncogAnalyst.java │ └── quant │ │ ├── TestBalanceCSV.java │ │ ├── TestFilter.java │ │ ├── TestNinjaFileConvert.java │ │ ├── TestNinjaStreamWriter.java │ │ ├── TestNormalizeArray.java │ │ ├── TestProcessIndicators.java │ │ ├── TestSegregateCSV.java │ │ ├── TestShuffle.java │ │ └── TestSort.java │ ├── bot │ ├── browse │ │ ├── TestAddress.java │ │ ├── TestBrowse.java │ │ └── TestWebPageData.java │ └── html │ │ ├── TestParseHTML.java │ │ └── TestPeekableInputStream.java │ ├── ensemble │ ├── aggregator │ │ └── TestMajorityVoting.java │ └── bagging │ │ └── TestBagging.java │ ├── mathutil │ ├── TestErrorCalculation.java │ ├── matrices │ │ └── decomposition │ │ │ └── EigenvalueDecompositionTest.java │ └── matrixes │ │ └── hessian │ │ └── TestHessian.java │ ├── matrix │ ├── TestBiPolarUtil.java │ ├── TestDecomp.java │ ├── TestMatrix.java │ └── TestMatrixMath.java │ ├── ml │ ├── bayesian │ │ ├── TestBayesNet.java │ │ ├── TestEnumerationQuery.java │ │ ├── TestK2.java │ │ └── TestSamplingQuery.java │ ├── data │ │ ├── auto │ │ │ ├── TestAutoFloatColumn.java │ │ │ └── TestAutoFloatDataSet.java │ │ ├── basic │ │ │ └── TestBasicMLSequenceSet.java │ │ ├── folded │ │ │ └── TestFoldedDataSet.java │ │ ├── temporal │ │ │ └── TestTemporal.java │ │ └── versatile │ │ │ ├── TestMatrixMLDataSet.java │ │ │ └── TestNormalizationHelper.java │ ├── factory │ │ └── TestMLMethodFactory.java │ ├── genetic │ │ └── sort │ │ │ ├── TestMaximizeAdjustedScoreComp.java │ │ │ ├── TestMaximizeScoreComp.java │ │ │ ├── TestMinimizeAdjustedScoreComp.java │ │ │ └── TestMinimizeScoreComp.java │ ├── graph │ │ └── TestSearch.java │ ├── hmm │ │ └── TestHMM.java │ ├── kmeans │ │ └── TestKMeans.java │ ├── linear │ │ ├── TestGaussian.java │ │ └── TestLinearRegression.java │ └── prg │ │ ├── TestEncogProgram.java │ │ ├── TestProgramClone.java │ │ ├── species │ │ └── TestCompareEncogProgram.java │ │ └── train │ │ ├── TestGenerate.java │ │ ├── crossover │ │ └── TestSubtreeCrossover.java │ │ └── rewrite │ │ ├── TestRewriteAlgebraic.java │ │ └── TestRewriteConstants.java │ ├── neural │ ├── activation │ │ ├── TestActivationBiPolar.java │ │ ├── TestActivationGaussian.java │ │ ├── TestActivationLOG.java │ │ ├── TestActivationLinear.java │ │ ├── TestActivationSIN.java │ │ ├── TestActivationSigmoid.java │ │ ├── TestActivationSoftMax.java │ │ └── TestActivationTANH.java │ ├── data │ │ ├── TestNeuralDataError.java │ │ ├── bipolar │ │ │ └── TestBiPolarNeuralData.java │ │ ├── buffer │ │ │ ├── TestBinaryData.java │ │ │ ├── TestBufferedNeuralDataSet.java │ │ │ └── TestExcel.java │ │ ├── csv │ │ │ └── TestCSVNeuralData.java │ │ └── image │ │ │ └── TestImageDataSet.java │ ├── flat │ │ └── FlatNetworkTest.java │ ├── freeform │ │ ├── TestFreeform.java │ │ └── TestFreeformTraining.java │ ├── networks │ │ ├── NetworkUtil.java │ │ ├── TestBiasActivation.java │ │ ├── TestConsistency.java │ │ ├── TestLimited.java │ │ ├── TestSRN.java │ │ ├── TestWeightAccess.java │ │ ├── XOR.java │ │ ├── layers │ │ │ └── TestClone.java │ │ ├── logic │ │ │ └── TestADALINE.java │ │ ├── neat │ │ │ └── training │ │ │ │ └── species │ │ │ │ └── TestSortGenomesForSpecies.java │ │ ├── structure │ │ │ └── TestAnalyzeNetwork.java │ │ └── training │ │ │ ├── MockTrain.java │ │ │ ├── TestFolded.java │ │ │ ├── TestNEAT.java │ │ │ ├── TestStrategy.java │ │ │ ├── TestTraining.java │ │ │ ├── TestTrainingContinuation.java │ │ │ ├── TrainComplete.java │ │ │ ├── competitive │ │ │ ├── TestCompetitive.java │ │ │ └── neighborhood │ │ │ │ └── TestNeighborhood.java │ │ │ └── concurrent │ │ │ └── TestConcurrent.java │ └── prune │ │ └── TestPruneSelective.java │ ├── parse │ ├── expression │ │ ├── common │ │ │ ├── TestBoolean.java │ │ │ ├── TestExpression.java │ │ │ ├── TestExpressionVar.java │ │ │ ├── TestFunctions.java │ │ │ ├── TestRenderCommon.java │ │ │ └── TestString.java │ │ ├── epl │ │ │ └── TestRenderEPL.java │ │ └── rpn │ │ │ └── TestRenderRPN.java │ └── tags │ │ ├── read │ │ └── TestXMLRead.java │ │ └── write │ │ └── TestXMLWrite.java │ ├── persist │ ├── TestPersistART.java │ ├── TestPersistBAM.java │ ├── TestPersistBasicNetwork.java │ ├── TestPersistBayes.java │ ├── TestPersistBoltzmann.java │ ├── TestPersistCPN.java │ ├── TestPersistEPLPopulation.java │ ├── TestPersistFreeform.java │ ├── TestPersistHMM.java │ ├── TestPersistHopfield.java │ ├── TestPersistLargeHopfield.java │ ├── TestPersistNEAT.java │ ├── TestPersistPNN.java │ ├── TestPersistPopulation.java │ ├── TestPersistPopulationNPE.java │ ├── TestPersistRBF.java │ ├── TestPersistSOM.java │ ├── TestPersistSVM.java │ └── TestPersistTrainingContinuation.java │ ├── platformspecific │ └── j2se │ │ └── data │ │ └── image │ │ └── TestImageMLDataSet.java │ └── util │ ├── HSQLUtil.java │ ├── SerializeRoundTrip.java │ ├── StatusCounter.java │ ├── TempDir.java │ ├── TestEngineArray.java │ ├── TestErrorCalculation.java │ ├── TestTimeSpan.java │ ├── arrayutil │ ├── ArrayTest.java │ ├── TestNorm.java │ └── TestVectorWindow.java │ ├── csv │ ├── TestNumberList.java │ └── TestReadCSV.java │ ├── datastruct │ ├── TestStackInt.java │ └── TestWindowInt.java │ ├── downsample │ └── TestRGBDownsample.java │ ├── normalize │ ├── TestMapped.java │ ├── TestMultiplicative.java │ ├── TestNormArray.java │ ├── TestNormCSV.java │ ├── TestNormDataSet.java │ ├── TestSegregate.java │ └── TestZAxis.java │ ├── obj │ └── TestReflectionUtil.java │ └── text │ └── TestBagOfWords.java └── resources └── org └── encog └── data ├── analyst.csv ├── blank.xlsx ├── classes.txt ├── encodernet.eg ├── encog25.xml ├── img ├── a.png ├── b.png └── c.png ├── iris-euro.csv ├── iris.csv ├── mt4.mql4 ├── networks.eg ├── ninja.cs ├── simple-c.ega ├── simple-r.ega ├── simple.csv └── testresource /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | *.java diff=java 7 | *.sln merge=union 8 | *.csproj merge=union 9 | *.vbproj merge=union 10 | *.fsproj merge=union 11 | *.dbproj merge=union 12 | 13 | # Standard to msysgit 14 | *.doc diff=astextplain 15 | *.DOC diff=astextplain 16 | *.docx diff=astextplain 17 | *.DOCX diff=astextplain 18 | *.dot diff=astextplain 19 | *.DOT diff=astextplain 20 | *.pdf diff=astextplain 21 | *.PDF diff=astextplain 22 | *.rtf diff=astextplain 23 | *.RTF diff=astextplain 24 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .classpath 2 | .project 3 | .settings 4 | <<<<<<< HEAD 5 | *.class 6 | *.o 7 | *.so 8 | !libaparapi_x86_64.so 9 | cache.bin 10 | ======= 11 | .DS_Store 12 | .gradle 13 | >>>>>>> refs/remotes/choose_remote_name/master 14 | target 15 | local.properties 16 | encog.* 17 | iris_* 18 | test.* 19 | xor.bin 20 | build 21 | bin 22 | 23 | *.iml 24 | .idea 25 | 26 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: java 2 | jdk: 3 | - oraclejdk8 4 | -------------------------------------------------------------------------------- /classes/production/encog-java-core/org/encog/data/blank.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeffheaton/encog-java-core/06bed745403a1a670675b606b6ae483fbf7a6b97/classes/production/encog-java-core/org/encog/data/blank.xlsx -------------------------------------------------------------------------------- /classes/test/encog-java-core/org/encog/data/blank.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeffheaton/encog-java-core/06bed745403a1a670675b606b6ae483fbf7a6b97/classes/test/encog-java-core/org/encog/data/blank.xlsx -------------------------------------------------------------------------------- /classes/test/encog-java-core/org/encog/data/encodernet.eg: -------------------------------------------------------------------------------- 1 | encog,BasicNetwork,java,3.1.0,1,1318268874065 2 | [BASIC] 3 | [BASIC:PARAMS] 4 | [BASIC:NETWORK] 5 | beginTraining=0 6 | connectionLimit=0 7 | contextTargetOffset=0,0,0 8 | contextTargetSize=0,0,0 9 | endTraining=2 10 | hasContext=f 11 | inputCount=4 12 | layerCounts=4,3,5 13 | layerFeedCounts=4,2,4 14 | layerContextCount=0,0,0 15 | layerIndex=0,4,7 16 | output=-0.17396776912301476,0.4716368944097234,-0.06546016263584258,0.6788836534207789,0.9581925409591189,-0.16743010407685982,1,0,0,0,1,1 17 | outputCount=4 18 | weightIndex=0,12,22 19 | weights=0.040412107263322006,1.6318492071769406,0.058742726390888546,0.43589204735120113,-0.5159917997643333,0.008112354095120074,-0.8555860696052167,0.07497410740247332,0.7668152092361858,0.9911552253200567,-0.8643149724379915,-0.26738946379986345,1.0788222265035896,0.3470739685034085,-0.8302594385878788,1.1248619976654748,0.7984891944426319,0.6841167879211988,-0.6059767178697457,-0.6729328356252361,-0.720851612348345,0.551830141185627 20 | biasActivation=0,1,1 21 | [BASIC:ACTIVATION] 22 | "ActivationTANH" 23 | "ActivationTANH" 24 | "ActivationLinear" 25 | -------------------------------------------------------------------------------- /classes/test/encog-java-core/org/encog/data/img/a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeffheaton/encog-java-core/06bed745403a1a670675b606b6ae483fbf7a6b97/classes/test/encog-java-core/org/encog/data/img/a.png -------------------------------------------------------------------------------- /classes/test/encog-java-core/org/encog/data/img/b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeffheaton/encog-java-core/06bed745403a1a670675b606b6ae483fbf7a6b97/classes/test/encog-java-core/org/encog/data/img/b.png -------------------------------------------------------------------------------- /classes/test/encog-java-core/org/encog/data/img/c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeffheaton/encog-java-core/06bed745403a1a670675b606b6ae483fbf7a6b97/classes/test/encog-java-core/org/encog/data/img/c.png -------------------------------------------------------------------------------- /classes/test/encog-java-core/org/encog/data/simple.csv: -------------------------------------------------------------------------------- 1 | "feature-1","feature-2","ntype","type" 2 | 10,0,1,type-a 3 | 11,1,1,type-a 4 | 12,2,1,type-a 5 | 11,3,1,type-a 6 | 10,100,2,type-b 7 | 11,101,2,type-b 8 | 12,102,2,type-b 9 | 11,103,2,type-b 10 | 1,200,3,type-c 11 | 2,201,3,type-c 12 | 1,202,3,type-c 13 | 2,203,3,type-c 14 | -------------------------------------------------------------------------------- /classes/test/encog-java-core/org/encog/data/testresource: -------------------------------------------------------------------------------- 1 | This is a test resource -------------------------------------------------------------------------------- /dependencies/UmlGraph.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeffheaton/encog-java-core/06bed745403a1a670675b606b6ae483fbf7a6b97/dependencies/UmlGraph.jar -------------------------------------------------------------------------------- /dependencies/hsqldb.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeffheaton/encog-java-core/06bed745403a1a670675b606b6ae483fbf7a6b97/dependencies/hsqldb.jar -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | version=3.4.1 2 | rootProject.name = "encog-core" -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeffheaton/encog-java-core/06bed745403a1a670675b606b6ae483fbf7a6b97/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Apr 11 06:03:29 CDT 2016 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.1-bin.zip 7 | -------------------------------------------------------------------------------- /src/.gitignore: -------------------------------------------------------------------------------- 1 | /runs 2 | -------------------------------------------------------------------------------- /src/main/java/org/encog/EncogShutdownTask.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog; 25 | 26 | public interface EncogShutdownTask { 27 | void performShutdownTask(); 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/AnalystGoal.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst; 25 | 26 | /** 27 | * What is the goal of the Encog Analyst? 28 | * 29 | */ 30 | public enum AnalystGoal { 31 | /** 32 | * Goal of regression. 33 | */ 34 | Regression, 35 | 36 | /** 37 | * Goal of classification. 38 | */ 39 | Classification 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/analyze/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.analyze; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/commands/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.commands; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/csv/balance/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.csv.balance; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/csv/basic/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.csv.basic; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/csv/filter/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.csv.filter; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/csv/normalize/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.csv.normalize; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/csv/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.csv; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/csv/segregate/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.csv.segregate; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/csv/shuffle/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.csv.shuffle; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/csv/sort/SortType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.csv.sort; 25 | 26 | /** 27 | * The type of sort. 28 | */ 29 | public enum SortType { 30 | /** 31 | * Sort fields as ints. 32 | */ 33 | SortInteger, 34 | 35 | /** 36 | * Sort fields as strings. 37 | */ 38 | SortString, 39 | 40 | /** 41 | * Sort fields as real numbers. 42 | */ 43 | SortDecimal 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/csv/sort/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.csv.sort; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/missing/HandleMissingValues.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.missing; 25 | 26 | import org.encog.app.analyst.EncogAnalyst; 27 | import org.encog.app.analyst.script.normalize.AnalystField; 28 | 29 | public interface HandleMissingValues { 30 | double []handleMissing(EncogAnalyst analyst, AnalystField stat); 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/report/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.report; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/script/normalize/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.script.normalize; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/script/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.script; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/script/preprocess/PreprocessAction.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.script.preprocess; 25 | 26 | public enum PreprocessAction { 27 | CalculateField 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/script/prop/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.script.prop; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/script/segregate/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.script.segregate; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/script/task/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.script.task; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/util/FieldDirection.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.util; 25 | 26 | public enum FieldDirection { 27 | Input, 28 | Output, 29 | InputOutput 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/util/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.util; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/wizard/NormalizeRange.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.wizard; 25 | 26 | /** 27 | * The normalization range that the Encog Analyst Wizard should use. 28 | * 29 | */ 30 | public enum NormalizeRange { 31 | /** 32 | * Range from -1 to 1. 33 | */ 34 | NegOne2One, 35 | /** 36 | * Range from 0 to 1. 37 | */ 38 | Zero2One 39 | } 40 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/wizard/PredictionType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.wizard; 25 | 26 | public enum PredictionType { 27 | fieldmax, 28 | fieldmaxpip 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/wizard/SourceElement.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.wizard; 25 | 26 | public class SourceElement { 27 | private final String name; 28 | private final String source; 29 | public SourceElement(String name, String source) { 30 | super(); 31 | this.name = name; 32 | this.source = source; 33 | } 34 | public String getName() { 35 | return name; 36 | } 37 | public String getSource() { 38 | return source; 39 | } 40 | 41 | 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/analyst/wizard/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.analyst.wizard; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/generate/generators/ProgramGenerator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.generate.generators; 25 | 26 | import org.encog.app.generate.program.EncogGenProgram; 27 | 28 | /** 29 | * This interface defines a generator that works from program blocks, rather 30 | * than a template. Encog uses this generator for Java, C# and Javascript. 31 | */ 32 | public interface ProgramGenerator extends LanguageSpecificGenerator { 33 | void generate(EncogGenProgram program, boolean embed); 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/generate/program/EncogArgType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.generate.program; 25 | 26 | /** 27 | * The type of argument. 28 | */ 29 | public enum EncogArgType { 30 | /** 31 | * A string type. 32 | */ 33 | String, 34 | /** 35 | * A floating point type. 36 | */ 37 | Float, 38 | /** 39 | * An int type. 40 | */ 41 | Int, 42 | /** 43 | * An object type. 44 | */ 45 | ObjectType 46 | } 47 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/quant/QuantTask.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.quant; 25 | 26 | /** 27 | * Defines an interface for Encog quant tasks. 28 | * @author jheaton 29 | * 30 | */ 31 | public interface QuantTask { 32 | 33 | /** 34 | * Request to stop. 35 | */ 36 | void requestStop(); 37 | 38 | /** 39 | * @return Determine if we should stop. 40 | */ 41 | boolean shouldStop(); 42 | 43 | } 44 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/quant/indicators/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.quant.indicators; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/quant/indicators/predictive/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.quant.indicators.predictive; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/quant/loader/MarketLoader.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.quant.loader; 25 | 26 | import org.encog.app.quant.QuantTask; 27 | 28 | /** 29 | * Common interface for market loaders. 30 | */ 31 | public interface MarketLoader extends QuantTask { 32 | 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/quant/loader/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.quant.loader; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/quant/loader/yahoo/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.quant.loader.yahoo; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/quant/ninja/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.quant.ninja; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/quant/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.quant; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/app/quant/util/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.app.quant.util; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/bot/browse/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.bot.browse; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/bot/browse/range/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.bot.browse.range; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/bot/dataunit/DataUnit.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.bot.dataunit; 25 | 26 | /** 27 | * Data units are very abstract pieces of data that the browser processes. 28 | * @author jheaton 29 | * 30 | */ 31 | public abstract class DataUnit { 32 | 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/org/encog/bot/dataunit/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.bot.dataunit; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/bot/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.bot; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/bot/rss/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.bot.rss; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ca/program/CAProgram.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ca.program; 25 | 26 | import org.encog.ca.universe.Universe; 27 | 28 | public interface CAProgram { 29 | 30 | void iteration(); 31 | 32 | void randomize(); 33 | 34 | /** 35 | * @return the sourceUniverse 36 | */ 37 | Universe getSourceUniverse(); 38 | void setSourceUniverse(Universe sourceUniverse); 39 | Universe getTargetUniverse(); 40 | void setTargetUniverse(Universe targetUniverse); 41 | 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ca/universe/ContinuousCell.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ca.universe; 25 | 26 | public interface ContinuousCell extends UniverseCell { 27 | 28 | void add(UniverseCell x); 29 | 30 | void multiply(UniverseCell mult); 31 | 32 | void set(int i, double[] d); 33 | 34 | void clamp(double low, double high); 35 | 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ca/universe/DiscreteCell.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ca.universe; 25 | 26 | 27 | public interface DiscreteCell extends UniverseCell { 28 | 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ca/universe/UniverseCell.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ca.universe; 25 | 26 | public interface UniverseCell { 27 | 28 | void randomize(); 29 | 30 | void copy(UniverseCell universeCell); 31 | 32 | double getAvg(); 33 | 34 | double get(int i); 35 | 36 | void set(int i, double d); 37 | 38 | void set(int i, double[] d); 39 | 40 | int size(); 41 | 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ca/universe/UniverseCellFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ca.universe; 25 | 26 | public interface UniverseCellFactory { 27 | 28 | UniverseCell factor(); 29 | 30 | int size(); 31 | 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ca/universe/UniverseListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ca.universe; 25 | 26 | public interface UniverseListener { 27 | void iterationComplete(); 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ca/visualize/CAVisualizer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ca.visualize; 25 | 26 | import java.awt.Image; 27 | 28 | public interface CAVisualizer { 29 | 30 | int getZoom(); 31 | void setZoom(int z); 32 | Image visualize(); 33 | 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/org/encog/engine/network/activation/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.engine.network.activation; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ensemble/EnsembleTypes.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ensemble; 25 | 26 | public class EnsembleTypes { 27 | public static enum ProblemType { CLASSIFICATION, REGRESSION} 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ensemble/EnsembleWeightedAggregator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ensemble; 25 | 26 | import java.util.List; 27 | 28 | public interface EnsembleWeightedAggregator extends EnsembleAggregator { 29 | 30 | public void setWeights(List weights); 31 | public List getWeights(); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/encog/mathutil/EncogFunction.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.mathutil; 25 | 26 | /** 27 | * A generic single or multivariate function. 28 | */ 29 | public interface EncogFunction { 30 | double fn(double[] x); 31 | int size(); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/encog/mathutil/error/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.mathutil.error; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/mathutil/matrices/decomposition/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.mathutil.matrices.decomposition; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/mathutil/matrices/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.mathutil.matrices; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/mathutil/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.mathutil; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/mathutil/randomize/factory/RandomFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.mathutil.randomize.factory; 25 | 26 | import java.util.Random; 27 | 28 | public interface RandomFactory { 29 | Random factor(); 30 | RandomFactory factorFactory(); 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/encog/mathutil/randomize/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.mathutil.randomize; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/mathutil/rbf/RBFEnum.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.mathutil.rbf; 25 | 26 | /** 27 | * The implemented function types of the RBFs. 28 | * 29 | */ 30 | public enum RBFEnum { 31 | /** 32 | * Gaussian. 33 | */ 34 | Gaussian, 35 | 36 | /** 37 | * Multiquadric. 38 | */ 39 | Multiquadric, 40 | 41 | 42 | /** 43 | * Inverse Multiquadric. 44 | */ 45 | InverseMultiquadric, 46 | 47 | /** 48 | * Mexican hat. 49 | */ 50 | MexicanHat 51 | } 52 | -------------------------------------------------------------------------------- /src/main/java/org/encog/mathutil/rbf/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.mathutil.rbf; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/MLContext.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml; 25 | 26 | /** 27 | * Defines a MLMethod that can hold context. This allows the context to be 28 | * cleared. Examples of MLMethod objects that support this are NEAT, 29 | * Elmann and Jordan. 30 | * 31 | */ 32 | public interface MLContext extends MLMethod { 33 | 34 | /** 35 | * Clear the context. 36 | */ 37 | void clearContext(); 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/MLError.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml; 25 | 26 | import org.encog.ml.data.MLDataSet; 27 | 28 | 29 | /** 30 | * Defines Machine Learning Method that can calculate an error based on a 31 | * data set. 32 | * 33 | */ 34 | public interface MLError extends MLMethod { 35 | /** 36 | * Calculate the error of the ML method, given a dataset. 37 | * @param data The dataset. 38 | * @return The error. 39 | */ 40 | double calculateError(final MLDataSet data); 41 | } 42 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/MethodFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml; 25 | 26 | /** 27 | * Factor MLMethods. 28 | */ 29 | public interface MethodFactory { 30 | /** 31 | * @return Factor a MLMethod. 32 | */ 33 | MLMethod factor(); 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/anneal/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.anneal; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/bayesian/bif/FileSection.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.bayesian.bif; 25 | 26 | /** 27 | * The section of the BIF file that we are currently in. 28 | */ 29 | public enum FileSection { 30 | /** 31 | * The BIF header. 32 | */ 33 | BIF, 34 | /** 35 | * The network specs. 36 | */ 37 | NETWORK, 38 | /** 39 | * A variable. 40 | */ 41 | VARIABLE, 42 | /** 43 | * A definition. 44 | */ 45 | DEFINITION 46 | } 47 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/bayesian/training/BayesianInit.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.bayesian.training; 25 | 26 | /** 27 | * The method by which a Bayesian network should be initialized. 28 | */ 29 | public enum BayesianInit { 30 | /** 31 | * No init, do not change anything. 32 | */ 33 | InitNoChange, 34 | 35 | /** 36 | * Start with no connections. 37 | */ 38 | InitEmpty, 39 | 40 | /** 41 | * Init as Naive Bayes. 42 | */ 43 | InitNaiveBayes 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/data/basic/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.data.basic; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/data/buffer/codec/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.data.buffer.codec; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/data/buffer/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.data.buffer; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/data/cross/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.data.cross; 25 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/data/folded/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.data.folded; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/data/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.data; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/data/specific/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.data.specific; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/data/versatile/columns/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.data.versatile.columns; 25 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/data/versatile/division/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.data.versatile.division; 25 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/data/versatile/missing/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.data.versatile.missing; 25 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/data/versatile/normalizers/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.data.versatile.normalizers; 25 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/data/versatile/normalizers/strategies/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.data.versatile.normalizers.strategies; 25 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/data/versatile/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.data.versatile; 25 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/data/versatile/sources/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.data.versatile.sources; 25 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/ea/population/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.ea.population; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/ea/rules/ConstraintRule.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.ea.rules; 25 | 26 | import org.encog.ml.ea.genome.Genome; 27 | 28 | import java.io.Serializable; 29 | 30 | /** 31 | * Defines a constraint. A constraint specifies if a genome is invalid. 32 | */ 33 | public interface ConstraintRule extends Serializable { 34 | /** 35 | * Is this genome valid? 36 | * @param genome The genome. 37 | * @return True, if valid. 38 | */ 39 | boolean isValid(Genome genome); 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/factory/method/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.factory.method; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/factory/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.factory; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/factory/parse/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.factory.parse; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/factory/train/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.factory.train; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/genetic/crossover/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.genetic.crossover; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/genetic/genome/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.genetic.genome; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/genetic/mutate/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.genetic.mutate; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/genetic/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.genetic; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/graph/search/CostEstimator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.graph.search; 25 | 26 | import org.encog.ml.graph.BasicNode; 27 | 28 | public interface CostEstimator { 29 | double estimateCost(BasicNode startingNode, SearchGoal goal); 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/graph/search/GraphSearch.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.graph.search; 25 | 26 | import org.encog.ml.graph.BasicGraph; 27 | import org.encog.ml.graph.BasicPath; 28 | 29 | public interface GraphSearch extends Prioritizer { 30 | 31 | public BasicGraph getGraph(); 32 | 33 | public SearchGoal getGoal(); 34 | 35 | public void iteration(); 36 | 37 | /** 38 | * @return the solution 39 | */ 40 | public BasicPath getSolution(); 41 | 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/graph/search/Prioritizer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.graph.search; 25 | 26 | import org.encog.ml.graph.BasicPath; 27 | 28 | public interface Prioritizer { 29 | boolean isHigherPriority(BasicPath first, BasicPath second); 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/graph/search/SearchGoal.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.graph.search; 25 | 26 | import org.encog.ml.graph.BasicPath; 27 | 28 | public interface SearchGoal { 29 | boolean isGoalMet(BasicPath path); 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/kmeans/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.kmeans; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/model/config/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.model.config; 25 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/model/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.model; 25 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/prg/expvalue/ValueType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.prg.expvalue; 25 | 26 | /** 27 | * The type of value. 28 | */ 29 | public enum ValueType { 30 | /** 31 | * Floating point. 32 | */ 33 | floatingType, 34 | /** 35 | * String 36 | */ 37 | stringType, 38 | /** 39 | * boolean 40 | */ 41 | booleanType, 42 | /** 43 | * Integer. 44 | */ 45 | intType, 46 | /** 47 | * Enumeration 48 | */ 49 | enumType 50 | } 51 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/svm/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.svm; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/svm/training/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.svm.training; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/train/strategy/end/EndTrainingStrategy.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.train.strategy.end; 25 | 26 | import org.encog.ml.train.strategy.Strategy; 27 | 28 | public interface EndTrainingStrategy extends Strategy { 29 | /** 30 | * @return True if training should stop. 31 | */ 32 | boolean shouldStop(); 33 | 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/tree/traverse/TreeTraversal.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.tree.traverse; 25 | 26 | import org.encog.ml.tree.TreeNode; 27 | 28 | /** 29 | * Defines a method for traversing a tree. 30 | */ 31 | public interface TreeTraversal { 32 | /** 33 | * Traverse the tree. 34 | * @param tree The tree to traverse. 35 | * @param task The task to execute on each tree node. 36 | */ 37 | void traverse(TreeNode tree, TreeTraversalTask task); 38 | 39 | } 40 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/tree/traverse/TreeTraversalTask.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.tree.traverse; 25 | 26 | import org.encog.ml.tree.TreeNode; 27 | 28 | /** 29 | * A task used to traverse the tree. 30 | */ 31 | public interface TreeTraversalTask { 32 | /** 33 | * @param node The node visiting. 34 | * @return True, if traversal should continue. 35 | */ 36 | boolean task(TreeNode node); 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/world/Action.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.world; 25 | 26 | public interface Action { 27 | String getLabel(); 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/world/ActionProbability.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.world; 25 | 26 | import java.util.Set; 27 | 28 | public interface ActionProbability { 29 | double calculate(State targetState, State currentState, Action action); 30 | Set determineSuccessorStates(State state, Action action); 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/world/AgentPolicy.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.world; 25 | 26 | public interface AgentPolicy { 27 | Action determineNextAction(WorldAgent agent); 28 | World getWorld(); 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/world/PerformAction.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.world; 25 | 26 | public interface PerformAction { 27 | void perform(World w, State s, Action a); 28 | double determineCost(World w, State s, Action a); 29 | boolean isPossible(World w, State s, Action a); 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/world/State.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.world; 25 | 26 | public interface State { 27 | void setProperty(String key, Object value); 28 | Object getProperty(String key); 29 | double getReward(); 30 | void setReward(double r); 31 | double []getPolicyValue(); 32 | void setAllPolicyValues(double d); 33 | void setPolicyValueSize(int s); 34 | boolean wasVisited(); 35 | void setVisited(int i); 36 | int getVisited(); 37 | void increaseVisited(); 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/org/encog/ml/world/WorldAgent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.ml.world; 25 | 26 | public interface WorldAgent { 27 | State getCurrentState(); 28 | void setCurrentState(State s); 29 | AgentPolicy getPolicy(); 30 | void setAgentPolicy(AgentPolicy policy); 31 | void tick(); 32 | World getWorld(); 33 | void setWorld(World world); 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/art/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.art; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/bam/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.bam; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/cpn/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.cpn; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/cpn/training/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.cpn.training; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/data/NeuralData.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.data; 25 | 26 | import org.encog.ml.data.MLData; 27 | 28 | /** 29 | * This is an alias class for Encog 2.5 compatibility. This class aliases 30 | * MLData. Newer code should use MLData in place of this class. 31 | */ 32 | public interface NeuralData extends MLData { 33 | 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/data/NeuralDataPair.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.data; 25 | 26 | import org.encog.ml.data.MLDataPair; 27 | 28 | /** 29 | * This is an alias class for Encog 2.5 compatibility. This class aliases 30 | * MLDataPair. Newer code should use MLDataPair in place of this class. 31 | */ 32 | public interface NeuralDataPair extends MLDataPair { 33 | 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/data/NeuralDataSet.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.data; 25 | 26 | import org.encog.ml.data.MLDataSet; 27 | 28 | /** 29 | * This is an alias class for Encog 2.5 compatibility. This class aliases 30 | * MLDataSet. Newer code should use MLDataSet in place of this class. 31 | */ 32 | public interface NeuralDataSet extends MLDataSet { 33 | 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/data/basic/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.data.basic; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/data/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.data; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/flat/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.flat; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/freeform/factory/FreeformLayerFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.freeform.factory; 25 | 26 | import org.encog.neural.freeform.FreeformLayer; 27 | 28 | /** 29 | * A factory that creates layers. 30 | * 31 | */ 32 | public interface FreeformLayerFactory { 33 | /** 34 | * Create a layer. 35 | * @return The newly created layer. 36 | */ 37 | FreeformLayer factor(); 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/freeform/task/ConnectionTask.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.freeform.task; 25 | 26 | import org.encog.neural.freeform.FreeformConnection; 27 | 28 | /** 29 | * Implements a task that will be performed for every connection. 30 | */ 31 | public interface ConnectionTask { 32 | /** 33 | * The task. 34 | * @param connection The connection. 35 | */ 36 | void task(FreeformConnection connection); 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/freeform/task/NeuronTask.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.freeform.task; 25 | 26 | import org.encog.neural.freeform.FreeformNeuron; 27 | 28 | /** 29 | * Defines a task that is carried out for every neuron. 30 | */ 31 | public interface NeuronTask { 32 | /** 33 | * The task. 34 | * @param neuron The neuron. 35 | */ 36 | void task(FreeformNeuron neuron); 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/networks/ContainsFlat.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.networks; 25 | 26 | import org.encog.ml.MLMethod; 27 | import org.encog.neural.flat.FlatNetwork; 28 | 29 | /** 30 | * Interface that specifies that a machine learning method contains a 31 | * flat network. 32 | * 33 | */ 34 | public interface ContainsFlat extends MLMethod { 35 | /** 36 | * @return The flat network associated with this neural network. 37 | */ 38 | FlatNetwork getFlat(); 39 | 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/networks/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.networks; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/networks/structure/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.networks.structure; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/networks/training/Train.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.networks.training; 25 | 26 | import org.encog.ml.train.MLTrain; 27 | 28 | /** 29 | * This is an alias class for Encog 2.5 compatibility. This class aliases 30 | * MLTrain. Newer code should use MLTrain in place of this class. 31 | */ 32 | public interface Train extends MLTrain { 33 | 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/networks/training/anneal/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.networks.training.anneal; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/networks/training/concurrent/jobs/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.networks.training.concurrent.jobs; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/networks/training/concurrent/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.networks.training.concurrent; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/networks/training/concurrent/performers/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.networks.training.concurrent.performers; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/networks/training/cross/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.networks.training.cross; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/networks/training/lma/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.networks.training.lma; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/networks/training/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.networks.training; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/networks/training/pnn/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.networks.training.pnn; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/networks/training/propagation/back/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.networks.training.propagation.back; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/networks/training/propagation/manhattan/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.networks.training.propagation.manhattan; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/networks/training/propagation/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.networks.training.propagation; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/networks/training/propagation/quick/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.networks.training.propagation.quick; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/networks/training/propagation/resilient/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.networks.training.propagation.resilient; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/networks/training/propagation/scg/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.networks.training.propagation.scg; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/networks/training/simple/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.networks.training.simple; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/networks/training/strategy/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.networks.training.strategy; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/pattern/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.pattern; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/pnn/PNNKernelType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.pnn; 25 | 26 | /** 27 | * Specifies the kernel type for the PNN. 28 | */ 29 | public enum PNNKernelType { 30 | /** 31 | * A Gaussian curved kernel. The usual choice. 32 | */ 33 | Gaussian, 34 | 35 | /** 36 | * A steep kernel. 37 | */ 38 | Reciprocal 39 | } 40 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/pnn/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.pnn; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/prune/NetworkPattern.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.prune; 25 | 26 | /** 27 | * Specify which network pattern to use. 28 | * 29 | * @author jheaton 30 | * 31 | */ 32 | public enum NetworkPattern { 33 | 34 | /** 35 | * Multilayer feedforward. 36 | */ 37 | MultiLayerFeedforward, 38 | 39 | /** 40 | * Elman. 41 | */ 42 | Elman, 43 | 44 | /** 45 | * Jordan. 46 | */ 47 | Jordan 48 | } 49 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/prune/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.prune; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/rbf/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.rbf; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/rbf/training/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.rbf.training; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/som/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.som; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/som/training/basic/neighborhood/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.som.training.basic.neighborhood; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/som/training/basic/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.som.training.basic; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/som/training/clustercopy/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.som.training.clustercopy; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/som/training/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.som.training; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/neural/thermal/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.neural.thermal; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/parse/expression/ExpressionNodeType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.parse.expression; 25 | 26 | public enum ExpressionNodeType { 27 | ConstVal, 28 | Operator, 29 | Variable, 30 | Function, 31 | ConstKnown 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/encog/persist/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.persist; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/platformspecific/j2se/EncogPlatformSpecific.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.platformspecific.j2se; 25 | 26 | 27 | public class EncogPlatformSpecific { 28 | 29 | 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/org/encog/platformspecific/j2se/data/image/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.platformspecific.j2se.data.image; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/plugin/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.plugin; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/plugin/system/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.plugin.system; 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/org/encog/util/concurrency/EngineTask.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.util.concurrency; 25 | 26 | /** 27 | * An individual task that can be submitted to the EncogCurrency utility. 28 | * 29 | * @author jheaton 30 | * 31 | */ 32 | public interface EngineTask { 33 | /** 34 | * The task to perform. 35 | */ 36 | void run(); 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/org/encog/util/identity/GenerateID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.util.identity; 25 | 26 | /** 27 | * Interface that defines a unique ID generator. 28 | */ 29 | public interface GenerateID { 30 | 31 | /** 32 | * Generate the next ID. 33 | * 34 | * @return The next ID. 35 | */ 36 | long generate(); 37 | 38 | /** 39 | * @return the currentID 40 | */ 41 | long getCurrentID(); 42 | 43 | void setCurrentID(long currentID); 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/org/encog/util/kmeans/CentroidFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.util.kmeans; 25 | 26 | /** 27 | * An object that can create centroids. 28 | * @param The element type for the centroid. 29 | */ 30 | public interface CentroidFactory 31 | { 32 | /** 33 | * @return The centroid. 34 | */ 35 | public Centroid createCentroid(); 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/org/encog/util/normalize/output/RequireTwoPass.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.util.normalize.output; 25 | 26 | import java.io.Serializable; 27 | 28 | /** 29 | * Interface flag that indicates that a field type requires two passes. 30 | * 31 | */ 32 | public interface RequireTwoPass extends Serializable { 33 | 34 | } 35 | -------------------------------------------------------------------------------- /src/main/resources/org/encog/data/blank.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeffheaton/encog-java-core/06bed745403a1a670675b606b6ae483fbf7a6b97/src/main/resources/org/encog/data/blank.xlsx -------------------------------------------------------------------------------- /src/test/java/org/encog/util/StatusCounter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.util; 25 | 26 | import org.encog.StatusReportable; 27 | 28 | public class StatusCounter implements StatusReportable { 29 | 30 | private int count; 31 | 32 | public void report(int total, int current, String message) { 33 | count++; 34 | } 35 | 36 | public int getCount() 37 | { 38 | return count; 39 | } 40 | 41 | } 42 | -------------------------------------------------------------------------------- /src/test/java/org/encog/util/TestEngineArray.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.util; 25 | 26 | import junit.framework.TestCase; 27 | import org.junit.Assert; 28 | import org.junit.Test; 29 | 30 | public class TestEngineArray extends TestCase { 31 | 32 | @Test 33 | public void testReplace() { 34 | Assert.assertEquals("aa01bb", EngineArray.replace("aa##bb", "##", "01")); 35 | Assert.assertEquals("aabbcc", EngineArray.replace("aabbcc", "##", "01")); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/test/java/org/encog/util/obj/TestReflectionUtil.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.util.obj; 25 | 26 | import org.encog.engine.network.activation.ActivationSigmoid; 27 | import org.junit.Assert; 28 | import org.junit.Test; 29 | 30 | public class TestReflectionUtil { 31 | 32 | @Test 33 | public void testResolve() { 34 | Class c = ReflectionUtil.resolveEncogClass("ActivationSigmoid"); 35 | Assert.assertTrue(c==ActivationSigmoid.class); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/test/java/org/encog/util/text/TestBagOfWords.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Encog(tm) Core v3.4 - Java Version 3 | * http://www.heatonresearch.com/encog/ 4 | * https://github.com/encog/encog-java-core 5 | 6 | * Copyright 2008-2017 Heaton Research, Inc. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | * 20 | * For more information on Heaton Research copyrights, licenses 21 | * and trademarks visit: 22 | * http://www.heatonresearch.com/copyright 23 | */ 24 | package org.encog.util.text; 25 | 26 | import org.junit.Assert; 27 | import org.junit.Test; 28 | 29 | public class TestBagOfWords { 30 | public static final String SAMPLE1 = "Now is the time for all good men to come to the aid of their country."; 31 | 32 | @Test 33 | public void testCount() { 34 | BagOfWords bag = new BagOfWords(); 35 | bag.process(SAMPLE1); 36 | Assert.assertEquals(14,bag.getUniqueWords()); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/test/resources/org/encog/data/blank.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeffheaton/encog-java-core/06bed745403a1a670675b606b6ae483fbf7a6b97/src/test/resources/org/encog/data/blank.xlsx -------------------------------------------------------------------------------- /src/test/resources/org/encog/data/encodernet.eg: -------------------------------------------------------------------------------- 1 | encog,BasicNetwork,java,3.1.0,1,1318268874065 2 | [BASIC] 3 | [BASIC:PARAMS] 4 | [BASIC:NETWORK] 5 | beginTraining=0 6 | connectionLimit=0 7 | contextTargetOffset=0,0,0 8 | contextTargetSize=0,0,0 9 | endTraining=2 10 | hasContext=f 11 | inputCount=4 12 | layerCounts=4,3,5 13 | layerFeedCounts=4,2,4 14 | layerContextCount=0,0,0 15 | layerIndex=0,4,7 16 | output=-0.17396776912301476,0.4716368944097234,-0.06546016263584258,0.6788836534207789,0.9581925409591189,-0.16743010407685982,1,0,0,0,1,1 17 | outputCount=4 18 | weightIndex=0,12,22 19 | weights=0.040412107263322006,1.6318492071769406,0.058742726390888546,0.43589204735120113,-0.5159917997643333,0.008112354095120074,-0.8555860696052167,0.07497410740247332,0.7668152092361858,0.9911552253200567,-0.8643149724379915,-0.26738946379986345,1.0788222265035896,0.3470739685034085,-0.8302594385878788,1.1248619976654748,0.7984891944426319,0.6841167879211988,-0.6059767178697457,-0.6729328356252361,-0.720851612348345,0.551830141185627 20 | biasActivation=0,1,1 21 | [BASIC:ACTIVATION] 22 | "ActivationTANH" 23 | "ActivationTANH" 24 | "ActivationLinear" 25 | -------------------------------------------------------------------------------- /src/test/resources/org/encog/data/img/a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeffheaton/encog-java-core/06bed745403a1a670675b606b6ae483fbf7a6b97/src/test/resources/org/encog/data/img/a.png -------------------------------------------------------------------------------- /src/test/resources/org/encog/data/img/b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeffheaton/encog-java-core/06bed745403a1a670675b606b6ae483fbf7a6b97/src/test/resources/org/encog/data/img/b.png -------------------------------------------------------------------------------- /src/test/resources/org/encog/data/img/c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeffheaton/encog-java-core/06bed745403a1a670675b606b6ae483fbf7a6b97/src/test/resources/org/encog/data/img/c.png -------------------------------------------------------------------------------- /src/test/resources/org/encog/data/simple.csv: -------------------------------------------------------------------------------- 1 | "feature-1","feature-2","ntype","type" 2 | 10,0,1,type-a 3 | 11,1,1,type-a 4 | 12,2,1,type-a 5 | 11,3,1,type-a 6 | 10,100,2,type-b 7 | 11,101,2,type-b 8 | 12,102,2,type-b 9 | 11,103,2,type-b 10 | 1,200,3,type-c 11 | 2,201,3,type-c 12 | 1,202,3,type-c 13 | 2,203,3,type-c 14 | -------------------------------------------------------------------------------- /src/test/resources/org/encog/data/testresource: -------------------------------------------------------------------------------- 1 | This is a test resource --------------------------------------------------------------------------------