Changeset 2238


Ignore:
Timestamp:
08/05/09 11:41:32 (12 years ago)
Author:
gkronber
Message:

Deleted unused files in HL.CEDMA plugins. #712

Location:
trunk/sources
Files:
15 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.CEDMA.Server/3.3/ExecuterBase.cs

    r2223 r2238  
    4545    protected IDispatcher Dispatcher {
    4646      get { return dispatcher; }
    47     }   
     47    }
    4848    private IModelingDatabase databaseService;
    4949
     
    8484    protected void StoreResults(HeuristicLab.Modeling.IAlgorithm finishedAlgorithm) {
    8585      databaseService.Persist(finishedAlgorithm);
    86       //Entity modelEntity = new Entity(Ontology.CedmaNameSpace + Guid.NewGuid());
    87       //IModel model = finishedAlgorithm.Model;
    88       //List<Statement> statements = new List<Statement>();
    89       //statements.Add(new Statement(modelEntity, Ontology.InstanceOf, Ontology.TypeModel));
    90       //statements.Add(new Statement(modelEntity, Ontology.TargetVariable, new Literal(model.TargetVariable)));
    91       //statements.Add(new Statement(modelEntity, Ontology.Name, new Literal(finishedAlgorithm.Name)));
    92      
    93       //statements.Add(new Statement(modelEntity, Ontology.TrainingMeanSquaredError, new Literal(model.TrainingMeanSquaredError)));
    94       //statements.Add(new Statement(modelEntity, Ontology.ValidationMeanSquaredError, new Literal(model.ValidationMeanSquaredError)));
    95       //statements.Add(new Statement(modelEntity, Ontology.TestMeanSquaredError, new Literal(model.TestMeanSquaredError)));
    96       //statements.Add(new Statement(modelEntity, Ontology.TrainingCoefficientOfDetermination, new Literal(model.TrainingCoefficientOfDetermination)));
    97       //statements.Add(new Statement(modelEntity, Ontology.ValidationCoefficientOfDetermination, new Literal(model.ValidationCoefficientOfDetermination)));
    98       //statements.Add(new Statement(modelEntity, Ontology.TestCoefficientOfDetermination, new Literal(model.TestCoefficientOfDetermination)));
    99       //statements.Add(new Statement(modelEntity, Ontology.TrainingVarianceAccountedFor, new Literal(model.TrainingVarianceAccountedFor)));
    100       //statements.Add(new Statement(modelEntity, Ontology.ValidationVarianceAccountedFor, new Literal(model.ValidationVarianceAccountedFor)));
    101       //statements.Add(new Statement(modelEntity, Ontology.TestVarianceAccountedFor, new Literal(model.TestVarianceAccountedFor)));
    102       //statements.Add(new Statement(modelEntity, Ontology.TrainingMeanAbsolutePercentageError, new Literal(model.TrainingMeanAbsolutePercentageError)));
    103       //statements.Add(new Statement(modelEntity, Ontology.ValidationMeanAbsolutePercentageError, new Literal(model.ValidationMeanAbsolutePercentageError)));
    104       //statements.Add(new Statement(modelEntity, Ontology.TestMeanAbsolutePercentageError, new Literal(model.TestMeanAbsolutePercentageError)));
    105       //statements.Add(new Statement(modelEntity, Ontology.TrainingMeanAbsolutePercentageOfRangeError, new Literal(model.TrainingMeanAbsolutePercentageOfRangeError)));
    106       //statements.Add(new Statement(modelEntity, Ontology.ValidationMeanAbsolutePercentageOfRangeError, new Literal(model.ValidationMeanAbsolutePercentageOfRangeError)));
    107       //statements.Add(new Statement(modelEntity, Ontology.TestMeanAbsolutePercentageOfRangeError, new Literal(model.TestMeanAbsolutePercentageOfRangeError)));
    108 
    109       //for (int i = 0; i < finishedAlgorithm.Dataset.Columns; i++) {
    110       //  try {
    111       //    string variableName = finishedAlgorithm.Dataset.GetVariableName(i);
    112       //    double qualImpact = model.GetVariableQualityImpact(variableName);
    113       //    double evalImpact = model.GetVariableEvaluationImpact(variableName);
    114 
    115       //    Entity inputVariableEntity = new Entity(Ontology.CedmaNameSpace + Guid.NewGuid());
    116       //    statements.Add(new Statement(inputVariableEntity, Ontology.InstanceOf, Ontology.TypeVariableImpact));
    117       //    statements.Add(new Statement(modelEntity, Ontology.HasInputVariable, inputVariableEntity));
    118       //    statements.Add(new Statement(inputVariableEntity, Ontology.EvaluationImpact, new Literal(evalImpact)));
    119       //    statements.Add(new Statement(inputVariableEntity, Ontology.QualityImpact, new Literal(qualImpact)));
    120       //    statements.Add(new Statement(inputVariableEntity, Ontology.Name, new Literal(variableName)));
    121       //  }
    122       //  catch (ArgumentException) {
    123       //    // ignore
    124       //  }
    125       //}
    126 
    127       //byte[] serializedModel = PersistenceManager.SaveToGZip(model.Data);
    128       //statements.Add(new Statement(modelEntity, Ontology.SerializedData, new Literal(Convert.ToBase64String(serializedModel))));
    129       //store.AddRange(statements);
    13086    }
    13187
  • trunk/sources/HeuristicLab.CEDMA.Server/3.3/Problem.cs

    r2223 r2238  
    8686    }
    8787
    88     //private List<int> allowedInputVariables;
    89     //public List<int> AllowedInputVariables {
    90     //  get { return allowedInputVariables; }
    91     //}
    92 
    93     //private List<int> allowedTargetVariables;
    94     //public List<int> AllowedTargetVariables {
    95     //  get { return allowedTargetVariables; }
    96     //}
    97 
    9888    private bool autoRegressive;
    9989    public bool AutoRegressive {
     
    122112    public Problem()
    123113      : base() {
    124       //allowedInputVariables = new List<int>();
    125       //allowedTargetVariables = new List<int>();
    126114      Dataset = new HeuristicLab.DataAnalysis.Dataset();
    127115    }
  • trunk/sources/HeuristicLab.CEDMA.Server/3.3/ProblemView.cs

    r2223 r2238  
    102102          problem.TestSamplesStart = parser.TestSamplesStart;
    103103          problem.TestSamplesEnd = parser.TestSamplesEnd;
    104           //problem.AllowedTargetVariables.Add(parser.TargetVariable);
    105104          problem.FireChanged();
    106           //List<int> nonInputVariables = parser.NonInputVariables;
    107           //for (int i = 0; i < dataset.Columns; i++) {
    108           //  if (!nonInputVariables.Contains(i)) problem.AllowedInputVariables.Add(i);
    109           //}
    110105          Refresh();
    111106        }
    112107      }
    113108    }
    114 
    115     //private void targetsListBox_ItemCheck(object sender, ItemCheckEventArgs e) {
    116     //  if (e.NewValue == CheckState.Checked && !problem.AllowedTargetVariables.Contains(e.Index))
    117     //    problem.AllowedTargetVariables.Add(e.Index);
    118     //  else if (e.NewValue == CheckState.Unchecked && problem.AllowedTargetVariables.Contains(e.Index))
    119     //    problem.AllowedTargetVariables.Remove(e.Index);
    120     //}
    121 
    122     //private void inputsListBox_ItemCheck(object sender, ItemCheckEventArgs e) {
    123     //  if (e.NewValue == CheckState.Checked && !problem.AllowedInputVariables.Contains(e.Index))
    124     //    problem.AllowedInputVariables.Add(e.Index);
    125     //  else if (e.NewValue == CheckState.Unchecked && problem.AllowedInputVariables.Contains(e.Index))
    126     //    problem.AllowedInputVariables.Remove(e.Index);
    127     //}
    128109
    129110    private void autoregressiveCheckBox_CheckedChanged(object sender, EventArgs e) {
Note: See TracChangeset for help on using the changeset viewer.