예제 #1
0
        public void GenerateOverlapMatrixes(ILogBuilder log, folderNode folder)
        {
            List <histogramModel> histograms = new List <histogramModel>();


            foreach (Int32 atSize in FSTests.Get1stKeys())
            {
                ConcurrentDictionary <string, FeatureSelectionAnalysis> concurrentDictionary = FSTests[atSize];



                String prefix = concurrentDictionary.Keys.toCsvInLine() + "_" + atSize;
                GenerateOverlapMatrixes(prefix, concurrentDictionary, log, folder);


                List <histogramModel> models = new List <histogramModel>();

                foreach (var selcol in concurrentDictionary.Values)
                {
                    //histogramModel model = new histogramModel(50, "SelectedDistributionAt" + atSize);
                    var freq = selcol.weightedFeatures.index.Values.OrderByDescending(x => x.weight);

                    histogramModel model = histogramModelExtensions.GetHistogramModel(freq, "Weights", x => x.weight, 20);

                    models.Add(model);
                }

                models.BlendHistogramModels(prefix).GetReportAndSave(folder, null, "histogram" + prefix);
            }
        }
예제 #2
0
        static void Main(string[] args)
        {
            // Pokud proměnná bude v metodě a ne v třídě, nedávat comment

            //RoslynHelperTests r = new RoslynHelperTests();
            //r.AddXmlDocumentationCommentTest();


            FSTests x = new FSTests();

            x.GetRelativePathTest4();
        }