- Timestamp:
- 10/02/13 17:04:43 (11 years ago)
- Location:
- stable
- Files:
-
- 13 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/Interfaces/IEvaluator.cs
r9745 r10020 20 20 #endregion 21 21 22 using HeuristicLab.Problems.DataAnalysis. Trading;22 using HeuristicLab.Problems.DataAnalysis.Symbolic; 23 23 24 namespace HeuristicLab.Problems.DataAnalysis. Symbolic.Trading{24 namespace HeuristicLab.Problems.DataAnalysis.Trading.Symbolic { 25 25 public interface IEvaluator : ISymbolicDataAnalysisEvaluator<IProblemData> { 26 26 } -
stable/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/Interfaces/IModel.cs
r9745 r10020 20 20 #endregion 21 21 22 using HeuristicLab.Problems.DataAnalysis. Trading;22 using HeuristicLab.Problems.DataAnalysis.Symbolic; 23 23 24 namespace HeuristicLab.Problems.DataAnalysis. Symbolic.Trading{25 public interface IModel : DataAnalysis.Trading.IModel, ISymbolicDataAnalysisModel {24 namespace HeuristicLab.Problems.DataAnalysis.Trading.Symbolic { 25 public interface IModel : Trading.IModel, ISymbolicDataAnalysisModel { 26 26 } 27 27 } -
stable/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/Interfaces/ISingleObjectiveEvaluator.cs
r9745 r10020 20 20 #endregion 21 21 22 using HeuristicLab.Problems.DataAnalysis. Trading;22 using HeuristicLab.Problems.DataAnalysis.Symbolic; 23 23 24 namespace HeuristicLab.Problems.DataAnalysis. Symbolic.Trading{24 namespace HeuristicLab.Problems.DataAnalysis.Trading.Symbolic { 25 25 public interface ISingleObjectiveEvaluator : IEvaluator, ISymbolicDataAnalysisSingleObjectiveEvaluator<IProblemData> { 26 26 } -
stable/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/Interfaces/ISolution.cs
r9745 r10020 20 20 #endregion 21 21 22 using HeuristicLab.Problems.DataAnalysis.Symbolic; 22 23 23 using HeuristicLab.Problems.DataAnalysis.Trading; 24 25 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Trading { 26 public interface ISolution : DataAnalysis.Trading.ISolution, ISymbolicDataAnalysisSolution { 24 namespace HeuristicLab.Problems.DataAnalysis.Trading.Symbolic { 25 public interface ISolution : Trading.ISolution, ISymbolicDataAnalysisSolution { 27 26 new IModel Model { get; } 28 27 } -
stable/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/Model.cs
r9745 r10020 26 26 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 27 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 using HeuristicLab.Problems.DataAnalysis.Symbolic; 28 29 29 namespace HeuristicLab.Problems.DataAnalysis. Symbolic.Trading{30 namespace HeuristicLab.Problems.DataAnalysis.Trading.Symbolic { 30 31 /// <summary> 31 32 /// Represents a symbolic trading model -
stable/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/SingleObjective/Evaluator.cs
r9745 r10020 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 25 using HeuristicLab.Problems.DataAnalysis. Trading;25 using HeuristicLab.Problems.DataAnalysis.Symbolic; 26 26 27 namespace HeuristicLab.Problems.DataAnalysis. Symbolic.Trading{27 namespace HeuristicLab.Problems.DataAnalysis.Trading.Symbolic { 28 28 public abstract class SingleObjectiveEvaluator : SymbolicDataAnalysisSingleObjectiveEvaluator<IProblemData>, ISingleObjectiveEvaluator { 29 29 [StorableConstructor] -
stable/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/SingleObjective/Problem.cs
r9745 r10020 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 25 using HeuristicLab.Problems.DataAnalysis. Trading;25 using HeuristicLab.Problems.DataAnalysis.Symbolic; 26 26 27 namespace HeuristicLab.Problems.DataAnalysis. Symbolic.Trading{27 namespace HeuristicLab.Problems.DataAnalysis.Trading.Symbolic { 28 28 [Item("Symbolic Trading Problem (single objective)", "Represents a single objective symbolic trading problem.")] 29 29 [StorableClass] … … 45 45 46 46 InitializeOperators(); 47 ConfigureGrammarSymbols(); 48 } 49 50 private void ConfigureGrammarSymbols() { 51 var grammar = SymbolicExpressionTreeGrammar as TypeCoherentExpressionGrammar; 52 if (grammar != null) grammar.ConfigureAsDefaultTimeSeriesPrognosisGrammar(); 47 53 } 48 54 -
stable/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/SingleObjective/ProfitEvaluator.cs
r9745 r10020 21 21 22 22 using System.Collections.Generic; 23 using System.Linq;24 23 using HeuristicLab.Common; 25 24 using HeuristicLab.Core; … … 27 26 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 28 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 using HeuristicLab.Problems.DataAnalysis. Trading;28 using HeuristicLab.Problems.DataAnalysis.Symbolic; 30 29 31 namespace HeuristicLab.Problems.DataAnalysis. Symbolic.Trading{30 namespace HeuristicLab.Problems.DataAnalysis.Trading.Symbolic { 32 31 [Item("Profit Evaluator", "")] 33 32 [StorableClass] … … 60 59 public static double Calculate(ISymbolicDataAnalysisExpressionTreeInterpreter interpreter, ISymbolicExpressionTree solution, IProblemData problemData, IEnumerable<int> rows) { 61 60 IEnumerable<double> signals = GetSignals(interpreter, solution, problemData.Dataset, rows); 62 IEnumerable<double> returns = problemData.Dataset.GetDoubleValues(problemData.Price Variable, rows);61 IEnumerable<double> returns = problemData.Dataset.GetDoubleValues(problemData.PriceChangeVariable, rows); 63 62 OnlineCalculatorError errorState; 64 63 double profit = OnlineProfitCalculator.Calculate(returns, signals, problemData.TransactionCosts, out errorState); -
stable/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/SingleObjective/SharpeRatioEvaluator.cs
r9745 r10020 21 21 22 22 using System.Collections.Generic; 23 using System.Linq;24 23 using HeuristicLab.Common; 25 24 using HeuristicLab.Core; … … 27 26 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 28 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 using HeuristicLab.Problems.DataAnalysis. Trading;28 using HeuristicLab.Problems.DataAnalysis.Symbolic; 30 29 31 namespace HeuristicLab.Problems.DataAnalysis. Symbolic.Trading{30 namespace HeuristicLab.Problems.DataAnalysis.Trading.Symbolic { 32 31 [Item("Sharpe Ratio Evaluator", "")] 33 32 [StorableClass] … … 60 59 public static double Calculate(ISymbolicDataAnalysisExpressionTreeInterpreter interpreter, ISymbolicExpressionTree solution, IProblemData problemData, IEnumerable<int> rows) { 61 60 IEnumerable<double> signals = GetSignals(interpreter, solution, problemData.Dataset, rows); 62 IEnumerable<double> returns = problemData.Dataset.GetDoubleValues(problemData.Price Variable, rows);61 IEnumerable<double> returns = problemData.Dataset.GetDoubleValues(problemData.PriceChangeVariable, rows); 63 62 OnlineCalculatorError errorState; 64 63 double sharpRatio = OnlineSharpeRatioCalculator.Calculate(returns, signals, problemData.TransactionCosts, out errorState); -
stable/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/SingleObjective/TrainingBestSolutionAnalyzer.cs
r9745 r10020 25 25 using HeuristicLab.Parameters; 26 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 27 using HeuristicLab.Problems.DataAnalysis. Trading;27 using HeuristicLab.Problems.DataAnalysis.Symbolic; 28 28 29 namespace HeuristicLab.Problems.DataAnalysis. Symbolic.Trading{29 namespace HeuristicLab.Problems.DataAnalysis.Trading.Symbolic { 30 30 /// <summary> 31 31 /// An operator that analyzes the training best symbolic trading solution for single objective symbolic trading problems. -
stable/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/SingleObjective/ValidationBestSolutionAnalyzer.cs
r9745 r10020 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HeuristicLab.Problems.DataAnalysis. Trading;26 using HeuristicLab.Problems.DataAnalysis.Symbolic; 27 27 28 namespace HeuristicLab.Problems.DataAnalysis. Symbolic.Trading{28 namespace HeuristicLab.Problems.DataAnalysis.Trading.Symbolic { 29 29 /// <summary> 30 30 /// An operator that analyzes the validation best symbolic trading solution for single objective symbolic trading problems. -
stable/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/Solution.cs
r9745 r10020 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 27 using HeuristicLab.Problems.DataAnalysis. Trading;27 using HeuristicLab.Problems.DataAnalysis.Symbolic; 28 28 29 namespace HeuristicLab.Problems.DataAnalysis. Symbolic.Trading{29 namespace HeuristicLab.Problems.DataAnalysis.Trading.Symbolic { 30 30 /// <summary> 31 31 /// Represents a symbolic trading solution (model + data) and attributes of the solution like accuracy and complexity
Note: See TracChangeset
for help on using the changeset viewer.