Skip to content

Commit

Permalink
simplified examples
Browse files Browse the repository at this point in the history
  • Loading branch information
samirchowdhury committed Dec 18, 2021
1 parent cebc899 commit 6571618
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
2 changes: 1 addition & 1 deletion examples/haxby_decoding/haxby_decoding_neumapper.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%% Configure paths
addpath(genpath('~/neumapper/code/'));
addpath(genpath('../../code/'));


%% Load the data
Expand Down
15 changes: 2 additions & 13 deletions examples/trefoil_knot/trefoil_knot_neumapper.m
Original file line number Diff line number Diff line change
@@ -1,24 +1,13 @@
%% Configure paths
addpath(genpath('~/neumapper/code/neumapper'));
addpath(genpath('~/neumapper/code/tools'));
addpath(genpath('../../code/'));


%% Load the data
X = create_trefoil_knot(1000,'euclidean');


%% Configure options
%% Use default options
options = struct();
options.binning = 'cball';
options.dimreduce = 'none';
options.resolution = 100;
options.knnparam = 8;
options.gain = 40;

options.save_to = 'trefoil_knot_neumapper.mat';
options.save_plot = 'trefoil_knot_neumapper.png';
options.show_plot = true;
options.show_embed = true;


%% Run NeuMapper
Expand Down

0 comments on commit 6571618

Please sign in to comment.