[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #10008] [octave forge] (statistics) Add fu
From: |
anonymous |
Subject: |
[Octave-patch-tracker] [patch #10008] [octave forge] (statistics) Add function inconsistent |
Date: |
Fri, 1 Jan 2021 13:12:28 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
URL:
<https://savannah.gnu.org/patch/?10008>
Summary: [octave forge] (statistics) Add function
inconsistent
Project: GNU Octave
Submitted by: None
Submitted on: Fri 01 Jan 2021 06:12:26 PM UTC
Category: Forge : new function
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email: s.guidoni@virgilio.it
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
The function "inconsistent" computes the inconsistency coefficient for each
link of a hierarchical cluster tree, which is usually the output of the
"linkage" function.
This is an example from the MATLAB documentation (where I substituted
"gallery('uniformdata',[10 2], 12)" with its values for reproducibility):
>> X = [.5266 .3142; .7502 .4603; .6655 .6940; .9640 .0014; .1082 .5530; .9314
.8254; .6781 .3419; .9827 .7046; .6147 .0470; .5802 .9174];
>> Y = pdist(X);
>> Z = linkage(Y, 'single');
>> inconsistent(Z)
ans =
0.13124 0.00000 1.00000 0.00000
0.13863 0.00000 1.00000 0.00000
0.14632 0.01088 2.00000 0.70711
0.23913 0.00000 1.00000 0.00000
0.21391 0.05208 3.00000 0.66564
0.26496 0.02317 2.00000 0.70711
0.23640 0.09138 3.00000 0.65875
0.32443 0.03936 2.00000 0.70711
0.41701 0.09156 2.00000 0.70711
This patch was generated by the command "hg -r".
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 01 Jan 2021 06:12:26 PM UTC Name: inconsistent.patch Size: 4KiB
By: None
<http://savannah.gnu.org/patch/download.php?file_id=50599>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/patch/?10008>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-patch-tracker] [patch #10008] [octave forge] (statistics) Add function inconsistent,
anonymous <=
- [Octave-patch-tracker] [patch #10008] [octave forge] (statistics) Add function inconsistent, anonymous, 2021/01/03
- [Octave-patch-tracker] [patch #10008] [octave forge] (statistics) Add function inconsistent, Philip Nienhuis, 2021/01/03
- [Octave-patch-tracker] [patch #10008] [octave forge] (statistics) Add function inconsistent, anonymous, 2021/01/03
- [Octave-patch-tracker] [patch #10008] [octave forge] (statistics) Add function inconsistent, Nir Krakauer, 2021/01/03
- [Octave-patch-tracker] [patch #10008] [octave forge] (statistics) Add function inconsistent, anonymous, 2021/01/05
- [Octave-patch-tracker] [patch #10008] [octave forge] (statistics) Add function inconsistent, Philip Nienhuis, 2021/01/17
- [Octave-patch-tracker] [patch #10008] [octave forge] (statistics) Add function inconsistent, Philip Nienhuis, 2021/01/25