Closed HeuristicLab-Trac-Bot closed 9 years ago
r12135 sigma as parameter of the density estimation routine
TODO:
Rename class to KernelDensityEstimatorAdd rule of thumb for determining sigmaMake sigma configurable in UI
- renamed NormalDistribution class
- added Silverman's rule of thumb for bandwidth estimation
- made bandwidth configurable in UI
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. -************* Exception Text ************** System.ArgumentOutOfRangeException: Value of '0,0451577805747279' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'. Parameter name: Value at System.Windows.Forms.NumericUpDown.set_Value(Decimal value) at HeuristicLab.Analysis.Views.HistogramControl.CalculateDensity(Series series, List`1 row, Double bandwidth) in c:\reps\HeuristicLab\trunk\sources\HeuristicLab.Analysis.Views\3.3\HistogramControl.cs:line 203 at HeuristicLab.Analysis.Views.HistogramControl.UpdateHistogram(Double bandwith) in c:\reps\HeuristicLab\trunk\sources\HeuristicLab.Analysis.Views\3.3\HistogramControl.cs:line 170 at HeuristicLab.Analysis.Views.HistogramControl.AddPoints(String name, IEnumerable`1 points, Boolean replace) in c:\reps\HeuristicLab\trunk\sources\HeuristicLab.Analysis.Views\3.3\HistogramControl.cs:line 119 at HeuristicLab.Analysis.Statistics.Views.StatisticalTestsView.GenerateChart(DataTable histogramTable) in c:\reps\HeuristicLab\trunk\sources\HeuristicLab.Analysis.Statistics.Views\3.3\StatisticalTestsView.cs:line 234 at HeuristicLab.Analysis.Statistics.Views.StatisticalTestsView.RebuildDataTable() in c:\reps\HeuristicLab\trunk\sources\HeuristicLab.Analysis.Statistics.Views\3.3\StatisticalTestsView.cs:line 228 at HeuristicLab.Analysis.Statistics.Views.StatisticalTestsView.groupComboBox_SelectedValueChanged(Object sender, EventArgs e) in c:\reps\HeuristicLab\trunk\sources\HeuristicLab.Analysis.Statistics.Views\3.3\StatisticalTestsView.cs:line 271 at System.Windows.Forms.ComboBox.OnSelectedValueChanged(EventArgs e) at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e) at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value) at HeuristicLab.Analysis.Statistics.Views.StatisticalTestsView.OnContentChanged() in c:\reps\HeuristicLab\trunk\sources\HeuristicLab.Analysis.Statistics.Views\3.3\StatisticalTestsView.cs:line 80 at HeuristicLab.MainForm.WindowsForms.ContentView.set_Content(IContent value) in c:\reps\HeuristicLab\trunk\sources\HeuristicLab.MainForm.WindowsForms\3.3\Views\ContentView.cs:line 52 at HeuristicLab.MainForm.WindowsForms.ViewHost.OnContentChanged() in c:\reps\HeuristicLab\trunk\sources\HeuristicLab.MainForm.WindowsForms\3.3\Controls\ViewHost.cs:line 149 at HeuristicLab.MainForm.WindowsForms.ContentView.set_Content(IContent value) in c:\reps\HeuristicLab\trunk\sources\HeuristicLab.MainForm.WindowsForms\3.3\Views\ContentView.cs:line 52 at HeuristicLab.MainForm.WindowsForms.MainForm.ShowContent(IContent content, Type viewType) in c:\reps\HeuristicLab\trunk\sources\HeuristicLab.MainForm.WindowsForms\3.3\MainForms\MainForm.cs:line 261 at HeuristicLab.Optimization.Views.RunCollectionView.menuItem_Click(Object sender, EventArgs e) in c:\reps\HeuristicLab\trunk\sources\HeuristicLab.Optimization.Views\3.3\RunCollectionViews\RunCollectionView.cs:line 349 at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
r12145 the histogram and density curves now have the same color
Issue migrated from trac ticket # 2351
milestone: HeuristicLab 3.3.12 | component: Analysis.Statistics.Views | priority: medium | resolution: done
2015-03-05 10:17:30: @gkronber created the issue