[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57917] fitgmdist does not return AIC, BIC, et
From: |
Alois Schlögl |
Subject: |
[Octave-bug-tracker] [bug #57917] fitgmdist does not return AIC, BIC, etc. - patch attached |
Date: |
Fri, 28 Feb 2020 08:41:04 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
URL:
<https://savannah.gnu.org/bugs/?57917>
Summary: fitgmdist does not return AIC, BIC, etc. - patch
attached
Project: GNU Octave
Submitted by: 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: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 4.4.1
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
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.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 28 Feb 2020 01:41:02 PM UTC Name:
patch_fitgmdist_fix-missing-outputs.diff Size: 1KiB By: schloegl
<http://savannah.gnu.org/bugs/download.php?file_id=48516>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57917>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57917] fitgmdist does not return AIC, BIC, etc. - patch attached,
Alois Schlögl <=