protected override void Content_CorrelationCalculationFinished(object sender, FeatureCorrelationCalculator.CorrelationCalculationFinishedArgs e)
        {
            if (InvokeRequired)
            {
                Invoke(new FeatureCorrelationCalculator.CorrelationCalculationFinishedHandler(Content_CorrelationCalculationFinished), sender, e);
                return;
            }
            correlationCache.SetCorrelation(e.Calculcator, e.Partition, e.Correlation);
            var correlation = new DoubleMatrix(e.Correlation, Content.Dataset.DoubleVariables, Content.Dataset.DoubleVariables);

            UpdateDataView(correlation);
        }
 protected override void Content_CorrelationCalculationFinished(object sender, FeatureCorrelationCalculator.CorrelationCalculationFinishedArgs e)
 {
     if (InvokeRequired)
     {
         Invoke(new FeatureCorrelationCalculator.CorrelationCalculationFinishedHandler(Content_CorrelationCalculationFinished), sender, e);
     }
     else
     {
         correlationTimeframCache.SetTimeframeCorrelation(e.Calculcator, e.Partition, e.Variable, e.Correlation);
         var columnNames = Enumerable.Range(0, e.Correlation.GetLength(1)).Select(x => x.ToString());
         var correlation = new DoubleMatrix(e.Correlation, columnNames, Content.Dataset.DoubleVariables);
         UpdateDataView(correlation);
     }
 }
 protected abstract void Content_CorrelationCalculationFinished(object sender, FeatureCorrelationCalculator.CorrelationCalculationFinishedArgs e);