Encog.App.Analyst.Wizard.AnalystWizard.GenerateSVM C# (CSharp) Method

GenerateSVM() private method

Generate a SVM machine learning method.
private GenerateSVM ( ) : void
return void
        private void GenerateSVM()
        {
            var arch = new StringBuilder();
            arch.Append("?->");
            arch.Append(_goal == AnalystGoal.Classification ? "C" : "R");
            arch.Append("(type=new,kernel=rbf)->?");

            _script.Properties.SetProperty(
                ScriptProperties.MlConfigType, MLMethodFactory.TypeSVM);
            _script.Properties.SetProperty(
                ScriptProperties.MlConfigArchitecture, arch.ToString());

            _script.Properties.SetProperty(ScriptProperties.MlTrainType,
                                          MLTrainFactory.TypeSVMSearch);
            _script.Properties.SetProperty(
                ScriptProperties.MlTrainTargetError, DefaultTrainError);
        }