Free cookie consent management tool by TermsFeed Policy Generator

Opened 10 years ago

Closed 10 years ago

#2351 closed feature request (done)

Kernel density estimation for histogram control

Reported by: gkronber Owned by: ascheibe
Priority: medium Milestone: HeuristicLab 3.3.12
Component: Analysis.Statistics.Views Version: 3.3.11
Keywords: Cc:

Description (last modified by gkronber)

looks good.

Change History (17)

comment:1 Changed 10 years ago by gkronber

  • Owner set to gkronber
  • Status changed from new to accepted

comment:2 Changed 10 years ago by gkronber

r12134: added kernel density calculation

comment:3 Changed 10 years ago by gkronber

r12135 sigma as parameter of the density estimation routine

comment:4 Changed 10 years ago by gkronber

  • Owner changed from gkronber to ascheibe
  • Status changed from accepted to assigned

comment:5 Changed 10 years ago by ascheibe

TODO:

  • Rename class to KernelDensityEstimator
  • Add rule of thumb for determining sigma
  • Make sigma configurable in UI
Last edited 10 years ago by ascheibe (previous) (diff)

comment:6 Changed 10 years ago by ascheibe

r12139

  • renamed NormalDistribution class
  • added Silverman's rule of thumb for bandwidth estimation
  • made bandwidth configurable in UI

comment:7 Changed 10 years ago by ascheibe

  • Status changed from assigned to accepted

comment:8 Changed 10 years ago by ascheibe

r12140 fixed name of NumericUpDown

comment:9 Changed 10 years ago by ascheibe

  • Owner changed from ascheibe to gkronber
  • Status changed from accepted to reviewing

comment:10 Changed 10 years ago by gkronber

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)

comment:11 Changed 10 years ago by gkronber

  • Owner changed from gkronber to ascheibe
  • Status changed from reviewing to assigned

comment:12 Changed 10 years ago by ascheibe

  • Owner changed from ascheibe to gkronber
  • Status changed from assigned to reviewing

r12143 add minimum check for bandwidth

comment:13 Changed 10 years ago by ascheibe

  • Owner changed from gkronber to ascheibe
  • Status changed from reviewing to assigned

comment:14 Changed 10 years ago by ascheibe

  • Status changed from assigned to accepted

comment:15 Changed 10 years ago by ascheibe

  • Owner changed from ascheibe to gkronber
  • Status changed from accepted to reviewing

r12145 the histogram and density curves now have the same color

comment:16 Changed 10 years ago by gkronber

  • Description modified (diff)
  • Owner changed from gkronber to ascheibe
  • Status changed from reviewing to readytorelease

comment:17 Changed 10 years ago by ascheibe

  • Resolution set to done
  • Status changed from readytorelease to closed

r12154: merged r12134,r12135,r12139,r12140,r12143,r12145 into stable

Note: See TracTickets for help on using tickets.