public virtual void Export(IDataAnalysisSolution solution, string fileName) {
   var symbSolution = solution as ISymbolicDataAnalysisSolution;
   if (symbSolution == null) throw new NotSupportedException("This solution cannot be exported to Excel");
   var formatter = new SymbolicDataAnalysisExpressionExcelFormatter();
   var formula = formatter.Format(symbSolution.Model.SymbolicExpressionTree, solution.ProblemData.Dataset);
   ExportChart(fileName, symbSolution, formula);
 }
 public override void Export(IDataAnalysisSolution solution, string fileName) {
   var symbDiscriminantSolution = solution as SymbolicDiscriminantFunctionClassificationSolution;
   if (symbDiscriminantSolution == null) throw new NotSupportedException("This solution cannot be exported to Excel");
   var formatter = new SymbolicDataAnalysisExpressionExcelFormatter();
   var formula = formatter.Format(symbDiscriminantSolution.Model.SymbolicExpressionTree, solution.ProblemData.Dataset);
   ExportChart(fileName, symbDiscriminantSolution, formula);
 }
        public override void Export(IDataAnalysisSolution solution, string fileName)
        {
            var symbDiscriminantSolution = solution as SymbolicDiscriminantFunctionClassificationSolution;

            if (symbDiscriminantSolution == null)
            {
                throw new NotSupportedException("This solution cannot be exported to Excel");
            }
            var formatter = new SymbolicDataAnalysisExpressionExcelFormatter();
            var formula   = formatter.Format(symbDiscriminantSolution.Model.SymbolicExpressionTree, solution.ProblemData.Dataset);

            ExportChart(fileName, symbDiscriminantSolution, formula);
        }
Ejemplo n.º 4
0
        public virtual void Export(IDataAnalysisSolution solution, string fileName)
        {
            var symbSolution = solution as ISymbolicDataAnalysisSolution;

            if (symbSolution == null)
            {
                throw new NotSupportedException("This solution cannot be exported to Excel");
            }
            var formatter = new SymbolicDataAnalysisExpressionExcelFormatter();
            var formula   = formatter.Format(symbSolution.Model.SymbolicExpressionTree, solution.ProblemData.Dataset);

            ExportChart(fileName, symbSolution, formula);
        }