Rank: 7256 based on 9 downloads (last 30 days) and 1 file submitted
photo

C Jethro Lam

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by C Jethro Lam
Updated   File Tags Downloads
(last 30 days)
Comments Rating
08 Apr 2009 Screenshot Finding the Similar Entries: A Quantitative Approach based on CPU Runtime Behavior Entry to Matlab contest Spring 2009 Author: C Jethro Lam vis2009 9 7
  • 3.8
3.8 | 5 ratings
Comments and Ratings by C Jethro Lam View all
Updated File Comments Rating
10 Apr 2009 Code overlap The aim here is to visualize the degree of overlap between all pairs of entries in the contest. Author: Rajiv Narayan

Btw, I think we both wrote some fancy scripts to generate the country flag of Finland. :)

Small suggestion: you may flip the x-axis, so that readers won't need to travel twice the board size to read the correlation of the entry located at the end.

10 Apr 2009 Code overlap The aim here is to visualize the degree of overlap between all pairs of entries in the contest. Author: Rajiv Narayan

wow, I learnt a lot from you guys...

The rules said "The thing you will be judging is the HTML document resulting from the published M-file"... so the main objective of a publish m file is still to generate the cleanest looking HTML. So adding these codes may not help the case... well, at least this is the direction I was heading towards. :)

10 Apr 2009 meet the family Visualisation of a family tree in the programming contest. Author: nathan q

Your idea is to plot the family tree. May be it is better to just draw the family tree nice and clean, and not worry about the time axis... it will be interesting to see who is the parent of all. :)

10 Apr 2009 MATLAB Contest - creativity The idea of the CREATIVITY visualization is to find most creative participants of the contests. Author: Rafal Kasztelanic

I like the fact that you mine insightful information from the data.

Many people in the first plot do not show up in the second plot... so I guess creativity is not enough to win a contest. :)

10 Apr 2009 LINEAGE v1.1 LINEAGE helps visualize the evolution of the code throughout the Peg Solitaire contest Author: Kenneth Eaton

Your idea is to create a GUI to visualize the entries... very cool. I think there are a bit too much information to visualize so it is a little overwhelming, but the GUI control is very useful. Zooming in and out with the middle mouse button is fun. :)

Comments and Ratings on C Jethro Lam's Files View all
Updated File Comment by Comments Rating
09 Apr 2009 Finding the Similar Entries: A Quantitative Approach based on CPU Runtime Behavior Entry to Matlab contest Spring 2009 Author: C Jethro Lam Doug Hull

To answer the question of using data not normally on the MATLAB path, I offer the following modification.

if ~exist('contest_data.mat','file')
warning ('This was an entry to the MATLAB programming contest (http://www.mathworks.com/contest/datavis/home.html). Please load the contest data and unzip it to place contest_data.mat on your MATLAB path.')
web('http://www.mathworks.com/matlabcentral/fileexchange/23509?controller=file_infos&download=true')
end

09 Apr 2009 Finding the Similar Entries: A Quantitative Approach based on CPU Runtime Behavior Entry to Matlab contest Spring 2009 Author: C Jethro Lam Rajiv Narayan

Really like this approach to comparing code.

08 Apr 2009 Finding the Similar Entries: A Quantitative Approach based on CPU Runtime Behavior Entry to Matlab contest Spring 2009 Author: C Jethro Lam C Jethro Lam

Thanks for your comments!

I want to acknowledge Matthew Simoneau in his work "MATLAB Contest Statistics" 23510. Also to James Tursa who wrote bsxfun, although I didn't really use bsxfun in my code - one of the entries I am testing does. You can delete bsxfun if you have R2009a.

us:
You have to get "contest_data.mat" first and run "main_publish.m". In the format of this contest, all documentations are included in the published m file.

08 Apr 2009 Finding the Similar Entries: A Quantitative Approach based on CPU Runtime Behavior Entry to Matlab contest Spring 2009 Author: C Jethro Lam us

contains bsxfun
(clashing with ML's stock function of the same name:
Warning: Function ...\bsxfun.m has the same name as a
MATLAB builtin. We suggest you rename the function to avoid a potential
name conflict.
) created by james tursa - but he is not being acknowledged anywhere in this submission for his nice contribution...

a collection of incomprehensible functions, which yield this when run one by one
help code
No help found for code.m.
code
??? Input argument "board" is undefined.
help compute_clam_sig
Filename: compute_clam_sig.m
Author: C Jethro Lam, jethrolam@gmail.com
Date: 4/4/2009
Purpose: Compute the clam signature of an entry
compute_clam_sig
??? Input argument "entry_id" is undefined.
help compute_correlation
Filename: compute_and_plot_correlation.m
Author: C Jethro Lam, jethrolam@gmail.com
Date: 4/4/2009
Purpose: Compute and plot the correlation matrix
compute_correlation
?? Input argument "d" is undefined.
help filterByAuthor
No help found for filterByAuthor.m.
filterByAuthor
??? Input argument "d" is undefined.
help main_publish
Finding the Similar Entries: A Quantitative Approach based on CPU Runtime Behavior
Chunwei Jethro Lam, jethrolam@gmail.com, April 8 2009
Published output in the Help browser
showdemo main_publish
main_publish
??? Error using ==> load
Unable to read file contest_data: No such file or directory.
help mostActive
No help found for mostActive.m.
mostActive
??? Input argument "s" is undefined.
help prepareData
No help found for prepareData.m.
prepareData
??? Error using ==> load
Unable to read file contest_data.mat: No such file or directory.
help test_code
Entry ID: 42204. Author: JohanH
test_code
??? Index exceeds matrix dimensions.

what - does anyone think - is the average ML user gain from this...

us

08 Apr 2009 Finding the Similar Entries: A Quantitative Approach based on CPU Runtime Behavior Entry to Matlab contest Spring 2009 Author: C Jethro Lam Yi Cao

Beautiful analysis. The similarity measure is novel.

Contact us