bugGNU Octave - Bugs: bug #57917, [octave forge] (statistics)...

 
 

bug #57917: [octave forge] (statistics) fitgmdist does not return AIC, BIC, etc.

Submitted by:  Alois Schlögl <schloegl>
Submitted on:  Fri 28 Feb 2020 01:41:02 PM UTC  
 
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Ready For Test Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  4.4.1 Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 28 Feb 2020 05:06:36 PM UTC, comment #1: 

Thanks, I applied the patch.

Nir Krakauer <nir_krakauer>
Fri 28 Feb 2020 01:41:02 PM UTC, original submission:  

When running fitgmdist, matlab reports AIC, BIC, and a number of additional parameters about convergences and goodness-of-fit paramaters. The implementation in the current statistics package (v1.4.1), shows only empty values. The attached patch fixes this.

I've tested this on octave 4.4.1 on Linux, but it is obviously an issue for any octave version.

Here is a test :

 ## Generate a two-cluster problem
 C1 = randn (100, 2) + 1;
 C2 = randn (100, 2) - 1;
 data = [C1; C2];

 ## Perform clustering
 GMModel = fitgmdist (data, 2);
 GMModel.AIC

Please consider applying the patch to the stastistics package.

 
Alois Schlögl <schloegl>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by siko1056 (Updated the item)
  • -email is unavailable- added by nir_krakauer (Posted a comment)
  • -email is unavailable- added by schloegl (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-29 siko1056 StatusNone => Ready For Test
        Summaryfitgmdist does not return AIC, BIC, etc. - patch attached => [octave forge] (statistics) fitgmdist does not return AIC, BIC, etc.
    2020-02-28 schloegl Attached File- => Added patch_fitgmdist_fix-missing-outputs.diff, #48516

    Back to the top


    Powered by Savane 3.5