Example #1
0
        public PcaResults <int> PerformPcaOnColumnGroup(PivotedProperties.SeriesGroup seriesGroup, int maxLevels)
        {
            ClusterDataSet <RowItem, int> dataSet = new ClusterDataSet <RowItem, int>(RowItems,
                                                                                      ImmutableList.Singleton(ImmutableList.ValueOf(MakeDataFrames(seriesGroup.SeriesList))));

            return(dataSet.PerformPcaOnColumnGroups(maxLevels).FirstOrDefault());
        }
Example #2
0
 private CaptionedValues GetDefaultColumnHeader(IList <RowItem> rowItems,
                                                PivotedProperties.SeriesGroup seriesGroup)
 {
     return(new CaptionedValues(CaptionComponentList.EMPTY, typeof(IColumnCaption), seriesGroup.PivotCaptions));
 }
Example #3
0
 public IEnumerable <PivotedProperties.Series> GetColumnHeaders(PivotedProperties.SeriesGroup group)
 {
     return(group.SeriesList.Where(series => ClusterRole.COLUMNHEADER == GetColumnRole(series)));
 }