Changeset 2382 for trunk/sources/HeuristicLab.Modeling.Database
- Timestamp:
- 09/23/09 14:05:28 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Modeling.Database/3.2
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Modeling.Database/3.2/HeuristicLab.Modeling.Database-3.2.csproj
r2355 r2382 84 84 <Compile Include="IMetaData.cs" /> 85 85 <Compile Include="IModelMetaData.cs" /> 86 <Compile Include="IProblem.cs" />87 86 <Compile Include="IVariable.cs" /> 88 87 <Compile Include="IInputVariable.cs" /> -
trunk/sources/HeuristicLab.Modeling.Database/3.2/IInputVariableResult.cs
r2223 r2382 30 30 IVariable Variable { get; } 31 31 IResult Result { get; } 32 double Value { get; }32 double Value { get; set; } 33 33 } 34 34 } -
trunk/sources/HeuristicLab.Modeling.Database/3.2/IModel.cs
r2371 r2382 36 36 int ValidationSamplesEnd { get; } 37 37 int TestSamplesStart { get; } 38 int TestSamplesEnd { get; } 38 int TestSamplesEnd { get; } 39 39 } 40 40 } -
trunk/sources/HeuristicLab.Modeling.Database/3.2/IModelMetaData.cs
r2355 r2382 29 29 IMetaData MetaData { get; } 30 30 IModel Model { get; } 31 double Value { get; }31 double Value { get; set; } 32 32 } 33 33 } -
trunk/sources/HeuristicLab.Modeling.Database/3.2/IModelResult.cs
r2223 r2382 29 29 IResult Result { get; } 30 30 IModel Model { get; } 31 double Value { get; }31 double Value { get; set; } 32 32 } 33 33 } -
trunk/sources/HeuristicLab.Modeling.Database/3.2/IModelingDatabase.cs
r2355 r2382 28 28 namespace HeuristicLab.Modeling.Database { 29 29 public interface IModelingDatabase { 30 IModel Persist(HeuristicLab.Modeling.IAlgorithm algorithm); 31 IModel Persist(HeuristicLab.Modeling.IAnalyzerModel model, string algorithmName, string algorithmDescription); 32 IProblem PersistProblem(Dataset dataset); 33 34 void UpdateModel(IModel model); 35 void UpdateModelData(IModel model, byte[] modelData); 30 void Connect(); 31 void EmptyDatabase(); 32 void Disconnect(); 36 33 37 34 IEnumerable<IModel> GetAllModels(); 38 IEnumerable<IResult> GetAllResults(); 35 IEnumerable<IVariable> GetAllVariables(); 36 IEnumerable<IResult> GetAllResults(); 39 37 IEnumerable<IResult> GetAllResultsForInputVariables(); 40 38 IEnumerable<IMetaData> GetAllMetaData(); 41 39 IEnumerable<IAlgorithm> GetAllAlgorithms(); 42 40 41 IModel Persist(HeuristicLab.Modeling.IAlgorithm algorithm); 42 IModel Persist(HeuristicLab.Modeling.IAnalyzerModel model, string algorithmName, string algorithmDescription); 43 44 IModel CreateModel(ModelType modelType, IAlgorithm algorithm, IVariable targetVariable, 45 int trainingSamplesStart, int trainingSamplesEnd, int validationSamplesStart, int validationSamplesEnd, int testSamplesStart, int testSamplesEnd); 46 IModel CreateModel(string modelName, ModelType modelType, IAlgorithm algorithm, IVariable targetVariable, 47 int trainingSamplesStart, int trainingSamplesEnd, int validationSamplesStart, int validationSamplesEnd, int testSamplesStart, int testSamplesEnd); 48 void PersistModel(IModel model); 49 void DeleteModel(IModel model); 50 43 51 Dataset GetDataset(); 44 byte[] GetModelData(IModel model); 52 void PersistProblem(Dataset dataset); 53 IVariable GetVariable(string variableName); 54 45 55 IPredictor GetModelPredictor(IModel model); 56 void PersistPredictor(IModel model, IPredictor predictor); 57 58 IAlgorithm GetOrPersistAlgorithm(string algorithmName); 59 60 IResult GetOrPersistResult(string resultName); 61 IMetaData GetOrPersistMetaData(string metaDataName); 62 46 63 IEnumerable<IModelResult> GetModelResults(IModel model); 47 64 IEnumerable<IInputVariableResult> GetInputVariableResults(IModel model); 48 65 IEnumerable<IModelMetaData> GetModelMetaData(IModel model); 49 66 50 void Connect(); 51 void EmptyDatabase(); 52 void Disconnect(); 67 IModelResult CreateModelResult(IModel model, IResult result, double value); 68 void PersistModelResults(IModel model, IEnumerable<IModelResult> modelResults); 69 IInputVariableResult CreateInputVariableResult(IInputVariable inputVariable, IResult result, double value); 70 void PersistInputVariableResults(IModel model, IEnumerable<IInputVariableResult> inputVariableResults); 71 IModelMetaData CreateModelMetaData(IModel model, IMetaData metadata, double value); 72 void PersistModelMetaData(IModel model, IEnumerable<IModelMetaData> modelMetaData); 53 73 } 54 74 }
Note: See TracChangeset
for help on using the changeset viewer.