patchGNU Octave - Patches: patch #10010, [octave forge] (statistics) Add...

 
 

patch #10010: [octave forge] (statistics) Add dataset 'fisheriris'

Submitter:  None
Submitted:  Sun 03 Jan 2021 02:53:26 PM UTC
   
 
Category:  Forge : other Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 25 Jan 2021 07:42:48 PM UTC, comment #6: 

Pushed here:
http://hg.code.sf.net/p/octave/statistics/rev/93afa3bbfc76

Thank you for this fix.
Closing report.

Philip Nienhuis <philipnienhuis>
Group Member
Sun 17 Jan 2021 05:07:07 PM UTC, comment #5: 

My bad, hg export -r tip did not work.
I used hgk this time.

(file #50735)

Anonymous
Sun 17 Jan 2021 01:32:20 PM UTC, comment #4: 

Hmmm, the .mat file is not present in the cset. That just has:



diff -r 8d55ef9d1e43 -r c97ca8adc5e4 inst/fisheriris.mat
Binary file inst/fisheriris.mat has changed


Philip Nienhuis <philipnienhuis>
Group Member
Sun 17 Jan 2021 11:22:35 AM UTC, comment #3: 

OK, it should be ok now: binary format and no removal of fisheriris.txt.

(file #50728)

Anonymous
Thu 14 Jan 2021 09:38:53 PM UTC, comment #2: 

I have no idea of how far 'fisheriris.txt' in current and previous statistics package releases is in use Out There so maybe it should be deprecated first to avoid breaking code?

Other than that I'd suggest to rather provide a binary mat file (Mercurial accepts binary files):

save -v7 fisheriris.mat meas species

(BTW I've been looking into your other patch contributions, but it's all in between the scenes so progresses slowly)

Philip Nienhuis <philipnienhuis>
Group Member
Tue 05 Jan 2021 03:28:11 PM UTC, comment #1: 

New patch. This one deletes fisheriris.txt. Differences between fisheriris.mat and fisheriris.txt:

  • like in the original datasets, measures are now in cm instead of mm
  • the string of text with the species name is included


(file #50660)

Anonymous
Sun 03 Jan 2021 02:53:26 PM UTC, original submission:  

In MATLAB there is a number of useful datasets in the "statistics" package. The dataset 'fisheriris' contains two variables:

meas - a matrix of measurements
species - a cellstring array with the names of the species corresponding to the measurements

The data is taken from https://archive.ics.uci.edu/ml/datasets/Iris

Usage example:


>> load fisheriris;
>> Z = linkage(meas,'average','chebychev');
>> inconsistent (Z)


Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #50735:  commit-c97ca8a.diff added by None (2KiB - text/x-patch)
file #50728:  fisheriris.binary.patch added by None (356B - text/x-patch - binary format - does not remove fisheriris.txt)
file #50660:  fisheriris.2.patch added by None (18KiB - text/x-patch)
file #50631:  fisheriris.patch added by None (15KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by None (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 logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-01-25 philipnienhuis StatusNone Done
        Open/ClosedOpen Closed
    2021-01-17 None Attached File- Added commit-c97ca8a.diff, #50735
    2021-01-17 None Attached File- Added fisheriris.binary.patch, #50728
    2021-01-05 None Attached File- Added fisheriris.2.patch, #50660
    2021-01-03 None Attached File- Added fisheriris.patch, #50631

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code