private void InitializeCaches()
 {
     correlationsCache = new Dictionary <FeatureCorrelationEnums.CorrelationCalculators, Dictionary <FeatureCorrelationEnums.Partitions, double[, ]> >();
     foreach (var calc in FeatureCorrelationEnums.EnumToList <FeatureCorrelationEnums.CorrelationCalculators>())
     {
         correlationsCache.Add(calc, new Dictionary <FeatureCorrelationEnums.Partitions, double[, ]>());
     }
 }
 private void InitializeCaches()
 {
     timeFrameCorrelationsCache = new Dictionary <FeatureCorrelationEnums.CorrelationCalculators, Dictionary <FeatureCorrelationEnums.Partitions, Dictionary <string, double[, ]> > >();
     foreach (var calc in FeatureCorrelationEnums.EnumToList <FeatureCorrelationEnums.CorrelationCalculators>())
     {
         timeFrameCorrelationsCache.Add(calc, new Dictionary <FeatureCorrelationEnums.Partitions, Dictionary <string, double[, ]> >());
         foreach (var part in FeatureCorrelationEnums.EnumToList <FeatureCorrelationEnums.Partitions>())
         {
             timeFrameCorrelationsCache[calc].Add(part, new Dictionary <string, double[, ]>());
         }
     }
 }