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

 
 

patch #10009: [octave forge] (statistics) Add function cluster

Submitter:  None
Submitted:  Sun 03 Jan 2021 02:43:57 PM UTC
   
 
Category:  Forge : new function 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
   

Mon 25 Jan 2021 07:48:47 PM UTC, comment #4: 

I've fixed a few style thingies here:
http://hg.code.sf.net/p/octave/statistics/rev/98878dfa3cdd
which gave me an opportunity to add a patch report no. (which I forgot at the initial push).

Closing report.

Philip Nienhuis <philipnienhuis>
Group Member
Sun 17 Jan 2021 01:38:43 PM UTC, comment #3: 

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

Status -> Ready for test

Philip Nienhuis <philipnienhuis>
Group Member
Tue 05 Jan 2021 03:23:22 PM UTC, comment #2: 

New patch, fixed the coding style and added a few more tests.

(file #50659)

Anonymous
Sun 03 Jan 2021 08:17:57 PM UTC, comment #1: 

Thanks for this contribution as well.

My remarks for your other contribution 'inconsistent' apply more or less verbatim to this one, please see there (patch #10008).

I tried them with the Matlab on-line example, apart from having to use a smaller data set the results match nicely and yield a similar graph.

Philip Nienhuis <philipnienhuis>
Group Member
Sun 03 Jan 2021 02:43:57 PM UTC, original submission:  

This is a patch to add the 'cluster' function to Octave.
It depends on patch #10008 ("Add function inconsistent").

I included a test for this function which is also a good example.
Just run the test code and then:


scatter(X(:,1), X(:,2), 36, T);


to see how it works.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #50659:  cluster.2.patch added by None (7KiB - text/x-patch - more tests - better coding style)
file #50630:  cluster.patch added by None (7KiB - 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 philipnienhuis
  • -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 StatusReady For Test Done
        Open/ClosedOpen Closed
    2021-01-17 philipnienhuis StatusNone Ready For Test
    2021-01-05 None Attached File- Added cluster.2.patch, #50659
    2021-01-04 philipnienhuis Carbon-Copy- Added philipnienhuis
    2021-01-03 None Attached File- Added cluster.patch, #50630

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code