From 53e234116611f4143d5551ece73bfc155855c923 Mon Sep 17 00:00:00 2001 From: Samir Chowdhury Date: Fri, 17 Dec 2021 20:59:40 -0600 Subject: [PATCH] simplified --- .../haxby_decoding/haxby_decoding_neumapper.m | 25 ++++--------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/examples/haxby_decoding/haxby_decoding_neumapper.m b/examples/haxby_decoding/haxby_decoding_neumapper.m index 7da434a..da42145 100644 --- a/examples/haxby_decoding/haxby_decoding_neumapper.m +++ b/examples/haxby_decoding/haxby_decoding_neumapper.m @@ -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 @@ -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