Skip to content

Commit

Permalink
simplified
Browse files Browse the repository at this point in the history
  • Loading branch information
samirchowdhury committed Dec 18, 2021
1 parent 82f8273 commit 53e2341
Showing 1 changed file with 5 additions and 20 deletions.
25 changes: 5 additions & 20 deletions examples/haxby_decoding/haxby_decoding_neumapper.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
%% Configure paths
addpath(genpath('~/neumapper/code/neumapper'));
addpath(genpath('~/neumapper/code/dimReducMethods'));
addpath(genpath('~/neumapper/code/tools'));
addpath(genpath('~/neumapper/code/'));


%% Load the data
Expand All @@ -13,24 +11,11 @@

%% Configure options
options = struct();
options.binning = 'ball';
options.dimreduce = 'bdl_isomap';
options.dim_embed = 3;
options.resolution = 240;
options.knnparam = 50;
options.metric = 'correlation';
options.k = 30;
options.resolution = 400;
options.gain = 40;

options.dXtype = 'correlation';
options.dXgeod = false;
options.dfXtype = 'cityblock';
options.dfXgeod = true;

options.save_to = 'haxby_decoding_neumapper.mat';
options.save_plot = 'haxby_decoding_neumapper.png';
options.show_plot = true;
options.show_embed = true;
options.colors = colors;
options.labels = labels;
options.labels = timing.task + 1; %reindex to start from 1


%% Run NeuMapper
Expand Down

0 comments on commit 53e2341

Please sign in to comment.