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

 
 

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

Submitter:  Alois Schlögl <schloegl>
Submitted:  Fri 28 Feb 2020 01:41:02 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.4.1 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 09 Oct 2020 12:03:09 PM UTC, comment #4: 

Released as part of statistics 1.4.2

John Donoghue <lostbard>
Group Member
Mon 27 Jul 2020 06:53:00 PM UTC, comment #3: 

Yes, this can be closed.


Alois Schlögl <schloegl>
Mon 27 Jul 2020 01:03:59 PM UTC, comment #2: 

OK to close this report as fixed?

John W. Eaton <jwe>
Group administrator
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 lostbard (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-10-09 lostbard StatusReady For Test Fixed
        Open/ClosedOpen Closed
    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.13-f8d8.
    Corresponding source code