You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: visualiseClassifier.m
    path of file: ./repos/deep-sudoku-solver/src/sudoku/+sudoku
    
    the code of the file until where you have to start completion: function visualiseClassifier(net)
% visualiseClassifier   Generate tsne based visualisation of classifier.

    
function visualiseClassifier(net)
% visualiseClassifier   Generate tsne based visualisation of classifier.
%
%   sudoku.visualiseClassifier(net);
%
%   Args:
%       net:  Classifier network

% Copyright 2018, The MathWorks, Inc.

    % Parameters
    perplexity = 25;
    canvasScale = 15;
    imageSize = 10;

    % Get test data
    [~, test] = sudoku.training.getNumberData(0, false);

    % Get the activations
    X = activations(net, test, 'fc_1', 'OutputAs', 'channels');
    predictions = net.classify(test);
    X = squeeze(X);
    Y = tsne(X', 'Perplexity', perplexity);

    % Generate the figure
    figure
    hold on
    cmap = colormap('hsv');
    cmap = cmap(7:end