No BSD License  

Highlights from
Code overlap

1.0

1.0 | 1 rating Rate this file 17 Downloads (last 30 days) File Size: 1.19 MB File ID: #23593
image thumbnail

Code overlap

by

 

The aim here is to visualize the degree of overlap between all pairs of entries in the contest.

| Watch this File

File Information
Description

I have tried to quantify the overlap between any given pair of submissions. The pairwise overlap matrix is fairly trivial to compute but time-consuming, so I've included a low precision pairwise overlap matrix.
Heatmaps and graphs are used to visualize the results. Visualizing large networks is one area where I find Matlab lacking and need to resort to third-party tools. Perhaps we can see better network visualiztion tools in the future?

Required Products Bioinformatics Toolbox
MATLAB release MATLAB 7.4 (R2007a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
10 Apr 2009 C Jethro Lam

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 C Jethro Lam

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. :)

09 Apr 2009 Rajiv Narayan

@us
Your point about the missing file is well taken. However I dont think it would have been optimal to bundle the dataset with each submission. While one can argue whether file exchange is the best repository for this code, I dont think comparing the contest entries to regular file exchange submissions is valid. Moreover I feel that there is definitely something to gain from examining the entries in this contest. I certainly have.

@Doug
Thats a nice idea. In the spirit of over-engineering things, I extended your idea further to actually do the download and extract the dataset.

% GET_CONTEST_DATA Download dataset for the Data visualization contest 2009
% GET_CONTEST_DATA(WD) Downloads the data to the folder WD
function get_contest_data(cwd)
url='http://www.mathworks.com/matlabcentral/fileexchange/23509?controller=file_infos&download=true';
if (exist (cwd, 'dir'))
try
td=tempname;
outfile = fullfile(td,'entry1.zip');
datafile = fullfile(td,'contest_data.mat');
mkdir (td);
urlwrite(url,outfile);
unzip (outfile, td);
movefile(datafile, cwd);
rmdir(td,'s');
catch
err=lasterror;
disp(err.message)
end
else
error('Folder %s not found', cwd)
end

09 Apr 2009 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

08 Apr 2009 us

no H1 line, no help section, no example(s), loads a file, which the typical ML user does not have and, therefore, causes an error right away...
however, first and foremost, requires an expensive toolbox to run, which is simply unheard of of any former coding contest...

us

Contact us