plateform stringclasses 1
value | repo_name stringlengths 13 113 | name stringlengths 3 74 | ext stringclasses 1
value | path stringlengths 12 229 | size int64 23 843k | source_encoding stringclasses 9
values | md5 stringlengths 32 32 | text stringlengths 23 843k |
|---|---|---|---|---|---|---|---|---|
github | BrainardLab/TeachingCode-master | GLW_Gabor.m | .m | TeachingCode-master/GLWindowExamples/GLW_Gabor.m | 4,810 | utf_8 | 1d932035a25694b0cc0366af7fae8500 | function GLW_Gabor
% GLW_Gabor Demonstrates how to show a gabor patch in GLWindow.
%
% Syntax:
% GLW_Gabor
%
% Description:
% The function createGabor at the end does the work of
% creating the gabor patch.
%
% Also demonstrated is how to use the PTB calibration routines
% to gamma correct the ga... |
github | BrainardLab/TeachingCode-master | GLW_Mouse.m | .m | TeachingCode-master/GLWindowExamples/GLW_Mouse.m | 5,836 | utf_8 | fa2bd80d702af2e7d6a36896e5e0834e | function GLW_Mouse(fullScreen)
% GLW_Mouse Shows how to capture/set the mouse with GLWindow.
%
% Syntax:
% GLW_Mouse
% GLW_Mouse(false)
%
% Description:
% Demonstrates how to capture mouse position and button clicks and how to
% set the mouse position while using GLWindow. Mouse functionality is
% pro... |
github | BrainardLab/TeachingCode-master | GLW_Text.m | .m | TeachingCode-master/GLWindowExamples/GLW_Text.m | 3,299 | utf_8 | 2c62be36a85ef53bcb2a78bba3193d3d | function GLW_Text(fullScreen)
% GLW_Text Demonstrates how to show text with GLWindow
%
% Syntax:
% GLW_Text
% GLW_Text(fullScreen)
%
% Description:
% Opens a window and shows the string 'red' on the screen.
%
% Press - 'r' to change the word
% - 'c' to change the color of the text
% ... |
github | BrainardLab/TeachingCode-master | GetTheResponse.m | .m | TeachingCode-master/GLWindowExamples/GLW_PhaseDistort/GetTheResponse.m | 3,680 | utf_8 | 6a5242c995de8001a5ccd02583cac7e8 | function [answerIsCorrect, quitExp] = GetTheResponse(win, imageSize, whichSide, leftImagePosition, rightImagePosition)
% [answerInCorrect, quitExp] = GetTheResponse(win, imageSize, whichSide, leftImagePosition, rightImagePosition)
%
% This function positions the mouse on the center of the screen and waits
% for the use... |
github | BrainardLab/TeachingCode-master | LoadImagesAndComputeTheirSpectra.m | .m | TeachingCode-master/GLWindowExamples/GLW_PhaseDistort/LoadImagesAndComputeTheirSpectra.m | 3,523 | utf_8 | c04e731ea8750c9a0e2e9608650c1853 | function [image1Struct, image2Struct, imageSize] = LoadImagesAndComputeTheirSpectra(imageResizingFactor)
% [image1struct, image2struct, imageSize] = LoadImagesAndComputeTheirSpectra(imageResizingFactor)
%
% Load images, resize them according to parameter imageResizingFactor
% (via bicubic interpolation) and perform Fou... |
github | BrainardLab/TeachingCode-master | PhaseDistortDemoGUI.m | .m | TeachingCode-master/GLWindowExamples/GLW_PhaseDistort/PhaseDistortDemoGUI.m | 5,375 | utf_8 | e5f168581d0225e06a5760f0e0990ec2 | function varargout = PhaseDistortDemoGUI(varargin)
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @PhaseDistortDemoGUI_OpeningFcn, ...
... |
github | BrainardLab/TeachingCode-master | backpropTutorial.m | .m | TeachingCode-master/MatlabTutorials/backpropTutorial.m | 5,769 | utf_8 | 6899dc4f89555b0feb61209b349d76d9 | function backpropTutorial
% backpropTutorial.m
%
% Illustrate backprop, by trying to use it to fit a function with a two
% layer network. The initial idea was to set this up to reproduce some
% of the fits shown in Figure 4.12 of Bishop, using the backpropagation
% algorithm described later in the chapter.
%
% The li... |
github | BrainardLab/TeachingCode-master | crossvalTutorial.m | .m | TeachingCode-master/MatlabTutorials/crossvalTutorial.m | 2,991 | utf_8 | 3fcbfceda64bb678c4eb5f1e92ce3200 | function crossvalTutorial
% crossvalTutorial
%
% Quick little tutorial to show how to cross-validate some data.
%
% 12/16/16 dhb, ar Wrote the skeleton.
%% Clear
clear; close all;
%% Parameters
nIndependentValues = 10;
nReplications = 100;
noiseSd = 10;
nFolds = 8;
c1 = 5;
c2 = -3;
%% Let's generate a dataset of r... |
github | BrainardLab/TeachingCode-master | fourierFitTutorial.m | .m | TeachingCode-master/MatlabTutorials/fourierFitTutorial.m | 6,908 | utf_8 | a67ecd1ea0d9e92848a1435151551bbe | function fourierFitTutorial
% fourierFitTutorial
%
% Demonstrate how to fit fourier functions to data, using optimization
% toolbox. Both unconstrained and constrained. Shows fmincon in action.
%
% 4/21/09 dhb Started on it.
% 7/15/09 dhb Check optim version and handle inconsistences in options.
%% Clear
clear; ... |
github | BrainardLab/TeachingCode-master | crossContextMLDScalingTutorial.m | .m | TeachingCode-master/MatlabTutorials/crossContextMLDScalingTutorial.m | 5,968 | utf_8 | 6678160b25bded3b8fd03551f9351930 | function CrossContextMLDSScalingTutorial
% CrossContextMLDSScalingTutorial
%
% Suppose we have cross-context data of the form, see stimulus
% X, seen in context 1, and choose which of two alternatives, Y1 and Y2,
% seen in context 2, that is most like X.
%
% We want to take a bunch of data of this form, where Y1 and ... |
github | BrainardLab/TeachingCode-master | glmTutorial.m | .m | TeachingCode-master/MatlabTutorials/glmTutorial.m | 4,724 | utf_8 | e130c3872af22a7d5482aa8d8594dce6 | function glmTutorial
%
% Demonstrate how to use Matlab's Statistics Toolbox glm routines
% to fit data.
%
% This is right basic idea, but needs a little fixing up still.
%
% Need to:
% a) Add better comments.
% b) Show how to wrap a parameter search around the parameters of
% the linking function.
% c) Worry abo... |
github | BrainardLab/TeachingCode-master | TestPredictNRAffineMatchesAnaIndividual.m | .m | TeachingCode-master/MatlabTutorials/lightessModelsTutorial/TestPredictNRAffineMatchesAnaIndividual.m | 29,899 | utf_8 | d4db10f878711848957271786b92778a | function TestPredictNRAffineMatches
% TestPredictNRAffineMatches
%
% Work out what the little model does for various choices of input
%
% 12/4/10 dhb Wrote it.
% 4/20/11 dhb Lot's of little changes. Switch polarity of data plots
%% Clear
clear; close all;
% Define relevant directories.
currentDir = pwd;
dataDir ... |
github | BrainardLab/TeachingCode-master | TestPredictNRAffineMatchesAna.m | .m | TeachingCode-master/MatlabTutorials/lightessModelsTutorial/TestPredictNRAffineMatchesAna.m | 29,372 | utf_8 | b34c4e02b1fa332bece2bf4d9fc26526 | function TestNRAPredictMatches
% TestNRAPredictMatches
%
% Work out what the little model does for various choices of input
%
% 12/4/10 dhb Wrote it.
% 4/20/11 dhb Lot's of little changes. Switch polarity of data plots
%% Clear
clear; close all;
% Define relevant directories.
currentDir = pwd;
dataDir = '/Users/... |
github | BrainardLab/TeachingCode-master | TestPredictNRAffineMatchesContol.m | .m | TeachingCode-master/MatlabTutorials/lightessModelsTutorial/TestPredictNRAffineMatchesContol.m | 21,771 | utf_8 | 3fb8e64c27a74be3bd8a49675a9464b0 | function TestPredictNRAffineMatchesContol
% TestPredictNRAffineMatchesControl
%
% Fit the model through the control conditions.
%
% 05/20/11 ar Adapded it in order to Model bunch of old controls previously done by Sarah.
%% Clear
clear; close all;
% Define relevant directories.
currentDir = pwd;
dataDir = '/Use... |
github | BrainardLab/TeachingCode-master | TestPredictNRAffineMatches.m | .m | TeachingCode-master/MatlabTutorials/lightessModelsTutorial/TestPredictNRAffineMatches.m | 21,578 | utf_8 | ebf3f7a8b2bbe30f79780c97aeb9448a | function TestPredictNRAffineMatches
% TestPredictNRAffineMatches
%
% Work out what the little model does for various choices of input
%
% 12/4/10 dhb Wrote it.
% 4/20/11 dhb Lot's of little changes. Switch polarity of data plots
%% Clear
clear; close all;
%% Choose model parameters and generate predictions, plot.
... |
github | BrainardLab/TeachingCode-master | rayleighMatchPittDiagramTutorial.m | .m | TeachingCode-master/MatlabTutorials/rayleighMatchPittDiagramTutorial/rayleighMatchPittDiagramTutorial.m | 12,692 | utf_8 | 8f45f8a84d49fb70384e5e670eaac090 | % Illustrate how Rayleigh matches and Pitt diagram work
%
% Description:
% Simulate Rayleigh match performance and plot in the form of what
% I think is called a Pitt diagram. Illustrates the principles of
% color vision testing by anomaloscope.
%
% The simulated anomaloscope allows adjustment of a monochromati... |
github | BrainardLab/TeachingCode-master | rayleighMatchPittDiagramTutorialDensity.m | .m | TeachingCode-master/MatlabTutorials/rayleighMatchPittDiagramTutorial/rayleighMatchPittDiagramTutorialDensity.m | 12,691 | utf_8 | b6b9153e08cc556256ce82415e7128ba | % Illustrate how Rayleigh matches and Pitt diagram work
%
% Description:
% Simulate Rayleigh match performance and plot in the form of what
% I think is called a Pitt diagram. Illustrates the principles of
% color vision testing by anomaloscope.
%
% The simulated anomaloscope allows adjustment of a monochromati... |
github | BrainardLab/TeachingCode-master | exploreMemBiasTutorial.m | .m | TeachingCode-master/MatlabTutorials/exploreMemBiasTutorial/exploreMemBiasTutorial.m | 10,221 | utf_8 | 53a869d8f12366bbce514f93cab2eb50 | function exploreMemBiasTutorial
% exploreMemBiasTutorial
%
% Work out predictions of a very simple memory model. The idea is to see
% what the predictions are if we start with the ideas that
% a) there is a non-linear transduction between the stimulus variable and perceptual response.
% b) noise is added in the pe... |
github | BrainardLab/TeachingCode-master | psychofitTutorialYN.m | .m | TeachingCode-master/MatlabTutorials/psychofitTutorial/psychofitTutorialYN.m | 6,771 | utf_8 | 875ba9d234f3d08d50560f4097522ab0 | function psychofitTutorialYN
% psychofitTutorialYN
%
% Show basic use Palamedes toolboxe to simulate and
% fit psychophysical data. This one for Y/N method of constant stimuli.
%
% You need both the psignifit and Palamedes toolboxes on your path, as well
% as the Brainard lab staircase class and the Psychtoolbox.
%
% ... |
github | BrainardLab/TeachingCode-master | psychofitTutorialTAFCStaircase.m | .m | TeachingCode-master/MatlabTutorials/psychofitTutorial/psychofitTutorialTAFCStaircase.m | 8,302 | utf_8 | 493bbea8ee0a6593d8f99f7e9e661094 | function psychofitTutorialTAFCStaircase
% psychofitTutorialTAFCStaircase
%
% Show a staircase procedure and illustrate how to aggregate data and fit.
%
% You need the Palamedes toolboxe (1.8.2) and BrainardLabToolbox for this to work.
% 10/30/17 dhb Separated out and updated.
%% Clear
clear; close all;
%% Specify p... |
github | BrainardLab/TeachingCode-master | psychofitTutorial2014.m | .m | TeachingCode-master/MatlabTutorials/psychofitTutorial/psychofitTutorial2014.m | 22,190 | utf_8 | 0385fcfe145686c5be6fb0f57f0c1129 | function psychofitTutorial
% psychofitTutorial2014
%
% Show basic use of psignifit and Palamedes toolboxes to simulate and
% fit psychophysical data. Has cases for Y/N and TAFC, and shows
% both method of constant stimuli and staircase procedures.
%
% This is set up for our local version of psignifit, where the funct... |
github | BrainardLab/TeachingCode-master | psychofitTutorialTAFC.m | .m | TeachingCode-master/MatlabTutorials/psychofitTutorial/psychofitTutorialTAFC.m | 5,173 | utf_8 | fa2b815076ca613d136e8e4c261f32ef | function psychofitTutorialTAFC
% psychofitTutorialTAFC
%
% Show basic use of Palamedes toolboxes to simulate and
% fit psychophysical data, TAFC, for method of constant stimuli.
%
% You need the Palamedes toolboxe (1.8.2) for this to work.
% 04/30/09 dhb Broke out from 2014 version and updated.
%% Clear
clear; close... |
github | BrainardLab/TeachingCode-master | poissonSetup.m | .m | TeachingCode-master/MatlabTutorials/filteringAndNoise (Phil Nelson)/poissonSetup.m | 716 | utf_8 | 26ec6970be1e3b049bf000cac6dbd324 | %% pcn 9/07 poissonSetup.m
% this function sets up the vector distrBins, which can then be used
% to generate random integers in a Poisson distribution:
% a. this function poissonSetup(Q) prepares the vector distrBins
% b. to use it in your main routine, initialize with:
% dist=poissonSetup(2)
% (The argument selects ... |
github | BrainardLab/TeachingCode-master | MGL_MOGL_VertexArray.m | .m | TeachingCode-master/MGLExamples/MGL_MOGL_VertexArray.m | 8,758 | utf_8 | 626bad60ec16d7eb3318b734aeb9e5e2 | function MGL_MOGL_VertexArray
% MGL_MOGL_VertexArray
%
% Description:
% Shows how to create a simple shape with vertex arrays.
% This setups up some OpenGL constants in the Matlab environment.
% Essentially, anything in C OpenGL that starts with GL_ becomes GL.., e.g.
% GL_RECT becomes GL.RECT. All GL_ are stored glo... |
github | BrainardLab/TeachingCode-master | MGL_MOGL_NURBS.m | .m | TeachingCode-master/MGLExamples/MGL_MOGL_NURBS.m | 7,889 | utf_8 | 6070c511717e4aeb6321fc2724c40d49 | function MGL_MOGL_NURBS
% MGL_MOGL_NURBS
%
% Description:
% Opens a full screen MGL window with a black background, and renders a
% NURBS surface.
%
% Keyboard Control:
% 'q' - Exits the program.
% 't', 'r' - Rotate the surface about the x-axis.
% This setups up some OpenGL constants in the Matlab environment.
% Essen... |
github | BrainardLab/TeachingCode-master | MGL_MOGL_StereoWarping.m | .m | TeachingCode-master/MGLExamples/MGL_MOGL_StereoWarping.m | 9,614 | utf_8 | 294340811667d6f6047cc2f76b701f14 | function MGL_MOGL_StereoWarping
% This setups up some OpenGL constants in the Matlab environment.
% Essentially, anything in C OpenGL that starts with GL_ becomes GL.., e.g.
% GL_RECT becomes GL.RECT. All GL_ are stored globally in the GL struct.
global GL;
InitializeMatlabOpenGL;
% Setup some parameters we'll use.
... |
github | BrainardLab/TeachingCode-master | MGL_MOGL_Surface.m | .m | TeachingCode-master/MGLExamples/MGL_MOGL_Surface.m | 9,259 | utf_8 | 6d2177251935845d4826380586c28c74 | function MGL_MOGL_Surface
% MGL_MOGL_Surface
%
% Description:
% Shows how to display an arbitrary surface/mesh.
% This setups up some OpenGL constants in the Matlab environment.
% Essentially, anything in C OpenGL that starts with GL_ becomes GL.., e.g.
% GL_RECT becomes GL.RECT. All GL_ are stored globally in the GL... |
github | BrainardLab/TeachingCode-master | MGL_MOGL_Rect3D.m | .m | TeachingCode-master/MGLExamples/MGL_MOGL_Rect3D.m | 7,826 | utf_8 | e7461951771b128e13418a47d363f41b | function MGL_MOGL_Rect3D
% MGL_MOGL_Rect3D
%
% Description:
% Opens a full screen MGL window with a black background, and renders a
% rectangle in 3D space.
%
% Keyboard Control:
% 'r' - Randomly change the rectangle color.
% 'k' - Moves the rectangle further away.
% 'j' - Moves the rectangle closer.
% 'a' - Moves the ... |
github | quantizedmassivemimo/1bit_precoding_VLSI-master | precoder_sim.m | .m | 1bit_precoding_VLSI-master/precoder_sim.m | 17,150 | iso_8859_13 | 38b9849df5b7637eb31e03b1c657cfa0 | % =========================================================================
% -- Simulator for 1-bit Massive MU-MIMO Precoding in VLSI with CxPO
% -------------------------------------------------------------------------
% -- (c) 2016 Christoph Studer, Oscar Castañeda, and Sven Jacobsson
% -- e-mail: studer@cornell.edu... |
github | AnriKaede/IM-master | FMSearchTokenField.m | .m | IM-master/mac/TeamTalk/interface/mainWindow/FMSearchTokenField.m | 4,519 | utf_8 | 2a89df28133e0c91280b5daf58944c94 | //
// FMSearchTokenField.m
// Duoduo
//
// Created by zuoye on 13-12-23.
// Copyright (c) 2013年 zuoye. All rights reserved.
//
#import "FMSearchTokenField.h"
#import "FMSearchTokenFieldCell.h"
@implementation FMSearchTokenField
@synthesize sendActionWhenEditing=_sendActionWhenEditing;
@synthesize alwaysSendAction... |
github | AnriKaede/IM-master | DDNinePartImage.m | .m | IM-master/mac/TeamTalk/interface/mainWindow/searchField/DDNinePartImage.m | 6,722 | utf_8 | 6dac0c29b80d07b31ccfd0b48ec932de | //
// DDNinePartImage.m
// Duoduo
//
// Created by zuoye on 14-1-20.
// Copyright (c) 2014年 zuoye. All rights reserved.
//
#import "DDNinePartImage.h"
@implementation DDNinePartImage
-(id)initWithNSImage:(NSImage *)image leftPartWidth:(CGFloat)leftWidth rightPartWidth:(CGFloat)rightWidth topPartHeight:(CGFloat)t... |
github | AnriKaede/IM-master | echo_diagnostic.m | .m | IM-master/win-client/3rdParty/src/libspeex/libspeex/echo_diagnostic.m | 2,076 | utf_8 | 8d5e7563976fbd9bd2eda26711f7d8dc | % Attempts to diagnose AEC problems from recorded samples
%
% out = echo_diagnostic(rec_file, play_file, out_file, tail_length)
%
% Computes the full matrix inversion to cancel echo from the
% recording 'rec_file' using the far end signal 'play_file' using
% a filter length of 'tail_length'. The output is saved to 'o... |
github | AnriKaede/IM-master | echo_diagnostic.m | .m | IM-master/android/app/src/main/jni/libspeex/echo_diagnostic.m | 2,076 | utf_8 | 8d5e7563976fbd9bd2eda26711f7d8dc | % Attempts to diagnose AEC problems from recorded samples
%
% out = echo_diagnostic(rec_file, play_file, out_file, tail_length)
%
% Computes the full matrix inversion to cancel echo from the
% recording 'rec_file' using the far end signal 'play_file' using
% a filter length of 'tail_length'. The output is saved to 'o... |
github | truongd8593/1D-Shallow-Water-equations-master | Fr.m | .m | 1D-Shallow-Water-equations-master/Fr.m | 207 | utf_8 | b7adb7763a8a9f44c45ad2ce3924eec0 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Froude
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [froude] = Fr(U)
global g;
if ( U(1) == 0 )
froude = 0.;
else
froude = U(2)/(U(1)*sqrt(g*U(1)));
end
end |
github | posgraph/coupe.bilateral-texture-filtering-master | btf_2d_color_gpu.m | .m | coupe.bilateral-texture-filtering-master/bilateralTextureFiltering/btf_2d_color_gpu.m | 3,053 | utf_8 | d6329d1d843ceb6c8424dd6bc33deca4 | function r_img = btf_2d_color_gpu(I, fr, n_iter, fr_blf)
% btf_2d_color_gpu - Bilateral Texture Filtering
%
% S = btf_2d_color_gpu(I, fr, n_iter, fr_blf) extracts structure S from
% input I, with scale parameter fr, joint filtering scale fr_blf and
% iteration number n_iter.
%
% Paras:
% @I :... |
github | latelee/caffe-master | classification_demo.m | .m | caffe-master/matlab/demo/classification_demo.m | 5,466 | utf_8 | 45745fb7cfe37ef723c307dfa06f1b97 | function [scores, maxlabel] = classification_demo(im, use_gpu)
% [scores, maxlabel] = classification_demo(im, use_gpu)
%
% Image classification demo using BVLC CaffeNet.
%
% IMPORTANT: before you run this demo, you should download BVLC CaffeNet
% from Model Zoo (http://caffe.berkeleyvision.org/model_zoo.html)
%
% *****... |
github | InverseTampere/TreeQSM-master | make_models_parallel.m | .m | TreeQSM-master/src/make_models_parallel.m | 8,030 | utf_8 | 11981cd204b15a2aced81d8c7a0a25ad | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope that... |
github | InverseTampere/TreeQSM-master | make_models.m | .m | TreeQSM-master/src/make_models.m | 7,381 | utf_8 | 4c4a04194131735e4fc02825bc11a987 | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope that... |
github | InverseTampere/TreeQSM-master | select_optimum.m | .m | TreeQSM-master/src/select_optimum.m | 41,288 | utf_8 | 4810c22b2697e27fafb380cec479755f | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope that... |
github | InverseTampere/TreeQSM-master | estimate_precision.m | .m | TreeQSM-master/src/estimate_precision.m | 5,602 | utf_8 | 7781426d9cbcdfb71f74a079141e9b6b | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope that... |
github | InverseTampere/TreeQSM-master | treeqsm.m | .m | TreeQSM-master/src/treeqsm.m | 19,257 | utf_8 | 2fdd2b10f8257521a3ebf4f33ec31125 | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope th... |
github | InverseTampere/TreeQSM-master | plot_models_segmentations.m | .m | TreeQSM-master/src/plotting/plot_models_segmentations.m | 3,161 | utf_8 | 5a2123902cb06456971999fd9aee3156 | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope th... |
github | InverseTampere/TreeQSM-master | cubical_partition.m | .m | TreeQSM-master/src/tools/cubical_partition.m | 4,085 | utf_8 | 5c56478a02bcbdc77d66b72d7288c317 | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the ho... |
github | InverseTampere/TreeQSM-master | connected_components.m | .m | TreeQSM-master/src/tools/connected_components.m | 5,720 | utf_8 | 533338e9122eb5441ad9d27f943075fc | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope th... |
github | InverseTampere/TreeQSM-master | growth_volume_correction.m | .m | TreeQSM-master/src/tools/growth_volume_correction.m | 5,308 | utf_8 | 43642ad1b72156592dd2da09e8efa614 | function cylinder = growth_volume_correction(cylinder,inputs)
% ---------------------------------------------------------------------
% GROWTH_VOLUME_CORRECTION.M Use growth volume allometry approach to
% modify the radius of cylinders.
%
% Version 2.0.0
% Latest update 16 ... |
github | InverseTampere/TreeQSM-master | simplify_qsm.m | .m | TreeQSM-master/src/tools/simplify_qsm.m | 10,948 | utf_8 | 56b1bb310e2e1ffb3db492223c4c62d8 | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope th... |
github | InverseTampere/TreeQSM-master | save_model_text.m | .m | TreeQSM-master/src/tools/save_model_text.m | 4,758 | utf_8 | b477a27d4b1f21363cdf3c28f6c7f863 | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope th... |
github | InverseTampere/TreeQSM-master | define_input.m | .m | TreeQSM-master/src/tools/define_input.m | 4,812 | utf_8 | fc9070dc19351ba25dce1ec2036e2d6d | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope that... |
github | InverseTampere/TreeQSM-master | update_tree_data.m | .m | TreeQSM-master/src/tools/update_tree_data.m | 22,826 | utf_8 | e026d8880095f35cc2322e8a540a7ed4 | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope that... |
github | InverseTampere/TreeQSM-master | initial_boundary_curve.m | .m | TreeQSM-master/src/triangulation/initial_boundary_curve.m | 6,528 | utf_8 | e1d5805313e080d63fe8c8cd0fe44b2e | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope that... |
github | InverseTampere/TreeQSM-master | boundary_curve2.m | .m | TreeQSM-master/src/triangulation/boundary_curve2.m | 4,546 | utf_8 | 66ccb1233259456e8b6ba495d5ff178a | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope that... |
github | InverseTampere/TreeQSM-master | boundary_curve.m | .m | TreeQSM-master/src/triangulation/boundary_curve.m | 8,054 | utf_8 | 8dbebbed345eaa90bcef38e7c4e1da9f | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope that... |
github | InverseTampere/TreeQSM-master | curve_based_triangulation.m | .m | TreeQSM-master/src/triangulation/curve_based_triangulation.m | 16,621 | utf_8 | 0a258bbf13767bf5a6c076d151b6307f | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope that... |
github | InverseTampere/TreeQSM-master | check_self_intersection.m | .m | TreeQSM-master/src/triangulation/check_self_intersection.m | 6,103 | utf_8 | 28cf4603e614bcb3a761c35f28e1964f | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope that... |
github | InverseTampere/TreeQSM-master | branches.m | .m | TreeQSM-master/src/main_steps/branches.m | 4,480 | utf_8 | e5a63f1d1e99bdd56ea657a41c8df921 | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope that... |
github | InverseTampere/TreeQSM-master | tree_data.m | .m | TreeQSM-master/src/main_steps/tree_data.m | 31,615 | utf_8 | 29dd42794f0a3a84a3855ab686bba020 | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope that... |
github | InverseTampere/TreeQSM-master | cylinders.m | .m | TreeQSM-master/src/main_steps/cylinders.m | 34,496 | utf_8 | 21b6b835cd40db99681596120408488e | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope that... |
github | InverseTampere/TreeQSM-master | correct_segments.m | .m | TreeQSM-master/src/main_steps/correct_segments.m | 30,167 | utf_8 | 3e6a16d9d908979779eec4d463d9d735 | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope that... |
github | InverseTampere/TreeQSM-master | cover_sets.m | .m | TreeQSM-master/src/main_steps/cover_sets.m | 10,655 | utf_8 | 60e3bf5398cc4bf4ade45637819e26a7 | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope that... |
github | InverseTampere/TreeQSM-master | point_model_distance.m | .m | TreeQSM-master/src/main_steps/point_model_distance.m | 5,875 | utf_8 | 7b7c334df5d7577f4570e5e7df063761 | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope th... |
github | InverseTampere/TreeQSM-master | tree_sets.m | .m | TreeQSM-master/src/main_steps/tree_sets.m | 28,351 | utf_8 | 7b0856d9e0338fff9560f3d810b825c8 | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the ho... |
github | InverseTampere/TreeQSM-master | segments.m | .m | TreeQSM-master/src/main_steps/segments.m | 13,369 | utf_8 | 775d0a7de8b20ebd931b2cf4c554cabf | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope th... |
github | InverseTampere/TreeQSM-master | filtering.m | .m | TreeQSM-master/src/main_steps/filtering.m | 8,700 | utf_8 | 67b53b588752ce6985691d1aff849e99 | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the ... |
github | InverseTampere/TreeQSM-master | relative_size.m | .m | TreeQSM-master/src/main_steps/relative_size.m | 3,969 | utf_8 | ca5b31c61626f8eab338648a462c355b | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope th... |
github | InverseTampere/TreeQSM-master | func_grad_cylinder.m | .m | TreeQSM-master/src/least_squares_fitting/func_grad_cylinder.m | 3,370 | utf_8 | 20d0b6e220003ae8a669e991c4c73090 | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope th... |
github | InverseTampere/TreeQSM-master | func_grad_axis.m | .m | TreeQSM-master/src/least_squares_fitting/func_grad_axis.m | 3,013 | utf_8 | 7a75b492055072602912f3a4b149510d | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope th... |
github | InverseTampere/TreeQSM-master | nlssolver.m | .m | TreeQSM-master/src/least_squares_fitting/nlssolver.m | 2,534 | utf_8 | d76f851140186c08867124872cbcc554 | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope th... |
github | InverseTampere/TreeQSM-master | least_squares_axis.m | .m | TreeQSM-master/src/least_squares_fitting/least_squares_axis.m | 3,918 | utf_8 | f47fffa17b2cc0925b40301fcc7076dd |
function cyl = least_squares_axis(P,Axis,Point0,Rad0,weight)
% ---------------------------------------------------------------------
% LEAST_SQUARES_AXIS.M Least-squares cylinder axis fitting using
% Gauss-Newton when radius and point are given
%
% Version 1.0
% Latest update 1 Oct 2021... |
github | InverseTampere/TreeQSM-master | rotate_to_z_axis.m | .m | TreeQSM-master/src/least_squares_fitting/rotate_to_z_axis.m | 1,206 | utf_8 | 249265c0c3047e01a4cc30792d37be20 | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the ... |
github | InverseTampere/TreeQSM-master | least_squares_cylinder.m | .m | TreeQSM-master/src/least_squares_fitting/least_squares_cylinder.m | 6,889 | utf_8 | 60305126c9e7fe2681c9f15ee98d5e21 | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the hope th... |
github | InverseTampere/TreeQSM-master | form_rotation_matrices.m | .m | TreeQSM-master/src/least_squares_fitting/form_rotation_matrices.m | 1,449 | utf_8 | b8928d5554f70ccfc10d9b4a2e5af802 | % This file is part of TREEQSM.
%
% TREEQSM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TREEQSM is distributed in the ... |
github | soumendu041/clustering-network-valued-data-master | moments.m | .m | clustering-network-valued-data-master/moments.m | 897 | utf_8 | 1e2789b8f0f75799935c1311361a06e2 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Comparison of graphs via normalizec count statistics/moments of the adjacency
% matrix
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function y = moments(A, k, method)
% A = adjacency matrix of the desired grap... |
github | wvu-navLab/RobustGNSS-master | ccolamd_test.m | .m | RobustGNSS-master/gtsam/gtsam/3rdparty/CCOLAMD/MATLAB/ccolamd_test.m | 11,944 | utf_8 | ab91fed9a7d6b40fa30544983b26cc7f | function ccolamd_test
%CCOLAMD_TEST extensive test of ccolamd and csymamd
%
% Example:
% ccolamd_test
%
% See also csymamd, ccolamd, ccolamd_make.
% Copyright 1998-2007, Timothy A. Davis, Stefan Larimore, and Siva Rajamanickam
% Developed in collaboration with J. Gilbert and E. Ng.
help ccolamd_test
global ccolamd... |
github | wvu-navLab/RobustGNSS-master | geodarea.m | .m | RobustGNSS-master/gtsam/gtsam/3rdparty/GeographicLib/matlab/geodarea.m | 4,241 | utf_8 | a20b9abbe24d8781e0c053b3ddfd9f3a | function [A, P, N] = geodarea(lats, lons, ellipsoid)
%GEODAREA Surface area of polygon on an ellipsoid
%
% A = GEODAREA(lats, lons)
% [A, P, N] = GEODAREA(lats, lons, ellipsoid)
%
% calculates the surface area A of the geodesic polygon specified by the
% input vectors lats, lons (in degrees). The ellipsoid ve... |
github | wvu-navLab/RobustGNSS-master | geoddistance.m | .m | RobustGNSS-master/gtsam/gtsam/3rdparty/GeographicLib/matlab/geoddistance.m | 17,333 | utf_8 | 3b8e33df114efbd010cafcfdd2b79868 | function [s12, azi1, azi2, S12, m12, M12, M21, a12] = geoddistance ...
(lat1, lon1, lat2, lon2, ellipsoid)
%GEODDISTANCE Distance between points on an ellipsoid
%
% [s12, azi1, azi2] = GEODDISTANCE(lat1, lon1, lat2, lon2)
% [s12, azi1, azi2, S12, m12, M12, M21, a12] =
% GEODDISTANCE(lat1, lon1, lat2, lo... |
github | wvu-navLab/RobustGNSS-master | tranmerc_fwd.m | .m | RobustGNSS-master/gtsam/gtsam/3rdparty/GeographicLib/matlab/tranmerc_fwd.m | 5,674 | utf_8 | acff0226812f95bc17989337218cdde5 | function [x, y, gam, k] = tranmerc_fwd(lat0, lon0, lat, lon, ellipsoid)
%TRANMERC_FWD Forward transverse Mercator projection
%
% [X, Y] = TRANMERC_FWD(LAT0, LON0, LAT, LON)
% [X, Y, GAM, K] = TRANMERC_FWD(LAT0, LON0, LAT, LON, ELLIPSOID)
%
% performs the forward transverse Mercator projection of points (LAT,LON)... |
github | wvu-navLab/RobustGNSS-master | tranmerc_inv.m | .m | RobustGNSS-master/gtsam/gtsam/3rdparty/GeographicLib/matlab/tranmerc_inv.m | 5,994 | utf_8 | 3ccf6b37ca13daed68a0ae8f166151ce | function [lat, lon, gam, k] = tranmerc_inv(lat0, lon0, x, y, ellipsoid)
%TRANMERC_INV Inverse transverse Mercator projection
%
% [LAT, LON] = TRANMERC_INV(LAT0, LON0, X, Y)
% [LAT, LON, GAM, K] = TRANMERC_INV(LAT0, LON0, X, Y, ELLIPSOID)
%
% performs the inverse transverse Mercator projection of points (X,Y) to
... |
github | jhalakpatel/AI-ML-DL-master | submit.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex2/ex2/submit.m | 1,605 | utf_8 | 9b63d386e9bd7bcca66b1a3d2fa37579 | function submit()
addpath('./lib');
conf.assignmentSlug = 'logistic-regression';
conf.itemName = 'Logistic Regression';
conf.partArrays = { ...
{ ...
'1', ...
{ 'sigmoid.m' }, ...
'Sigmoid Function', ...
}, ...
{ ...
'2', ...
{ 'costFunction.m' }, ...
'Logistic R... |
github | jhalakpatel/AI-ML-DL-master | submitWithConfiguration.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex2/ex2/lib/submitWithConfiguration.m | 3,734 | utf_8 | 84d9a81848f6d00a7aff4f79bdbb6049 | function submitWithConfiguration(conf)
addpath('./lib/jsonlab');
parts = parts(conf);
fprintf('== Submitting solutions | %s...\n', conf.itemName);
tokenFile = 'token.mat';
if exist(tokenFile, 'file')
load(tokenFile);
[email token] = promptToken(email, token, tokenFile);
else
[email token] = p... |
github | jhalakpatel/AI-ML-DL-master | savejson.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex2/ex2/lib/jsonlab/savejson.m | 17,462 | utf_8 | 861b534fc35ffe982b53ca3ca83143bf | function json=savejson(rootname,obj,varargin)
%
% json=savejson(rootname,obj,filename)
% or
% json=savejson(rootname,obj,opt)
% json=savejson(rootname,obj,'param1',value1,'param2',value2,...)
%
% convert a MATLAB object (cell, struct or array) into a JSON (JavaScript
% Object Notation) string
%
% author: Qianqian Fa... |
github | jhalakpatel/AI-ML-DL-master | loadjson.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex2/ex2/lib/jsonlab/loadjson.m | 18,732 | ibm852 | ab98cf173af2d50bbe8da4d6db252a20 | function data = loadjson(fname,varargin)
%
% data=loadjson(fname,opt)
% or
% data=loadjson(fname,'param1',value1,'param2',value2,...)
%
% parse a JSON (JavaScript Object Notation) file or string
%
% authors:Qianqian Fang (fangq<at> nmr.mgh.harvard.edu)
% created on 2011/09/09, including previous works from
%
% ... |
github | jhalakpatel/AI-ML-DL-master | loadubjson.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex2/ex2/lib/jsonlab/loadubjson.m | 15,574 | utf_8 | 5974e78e71b81b1e0f76123784b951a4 | function data = loadubjson(fname,varargin)
%
% data=loadubjson(fname,opt)
% or
% data=loadubjson(fname,'param1',value1,'param2',value2,...)
%
% parse a JSON (JavaScript Object Notation) file or string
%
% authors:Qianqian Fang (fangq<at> nmr.mgh.harvard.edu)
% created on 2013/08/01
%
% $Id: loadubjson.m 460 2015-01-... |
github | jhalakpatel/AI-ML-DL-master | saveubjson.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex2/ex2/lib/jsonlab/saveubjson.m | 16,123 | utf_8 | 61d4f51010aedbf97753396f5d2d9ec0 | function json=saveubjson(rootname,obj,varargin)
%
% json=saveubjson(rootname,obj,filename)
% or
% json=saveubjson(rootname,obj,opt)
% json=saveubjson(rootname,obj,'param1',value1,'param2',value2,...)
%
% convert a MATLAB object (cell, struct or array) into a Universal
% Binary JSON (UBJSON) binary string
%
% author... |
github | jhalakpatel/AI-ML-DL-master | submit.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex4/ex4/submit.m | 1,635 | utf_8 | ae9c236c78f9b5b09db8fbc2052990fc | function submit()
addpath('./lib');
conf.assignmentSlug = 'neural-network-learning';
conf.itemName = 'Neural Networks Learning';
conf.partArrays = { ...
{ ...
'1', ...
{ 'nnCostFunction.m' }, ...
'Feedforward and Cost Function', ...
}, ...
{ ...
'2', ...
{ 'nnCostFunct... |
github | jhalakpatel/AI-ML-DL-master | submitWithConfiguration.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex4/ex4/lib/submitWithConfiguration.m | 3,734 | utf_8 | 84d9a81848f6d00a7aff4f79bdbb6049 | function submitWithConfiguration(conf)
addpath('./lib/jsonlab');
parts = parts(conf);
fprintf('== Submitting solutions | %s...\n', conf.itemName);
tokenFile = 'token.mat';
if exist(tokenFile, 'file')
load(tokenFile);
[email token] = promptToken(email, token, tokenFile);
else
[email token] = p... |
github | jhalakpatel/AI-ML-DL-master | savejson.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex4/ex4/lib/jsonlab/savejson.m | 17,462 | utf_8 | 861b534fc35ffe982b53ca3ca83143bf | function json=savejson(rootname,obj,varargin)
%
% json=savejson(rootname,obj,filename)
% or
% json=savejson(rootname,obj,opt)
% json=savejson(rootname,obj,'param1',value1,'param2',value2,...)
%
% convert a MATLAB object (cell, struct or array) into a JSON (JavaScript
% Object Notation) string
%
% author: Qianqian Fa... |
github | jhalakpatel/AI-ML-DL-master | loadjson.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex4/ex4/lib/jsonlab/loadjson.m | 18,732 | ibm852 | ab98cf173af2d50bbe8da4d6db252a20 | function data = loadjson(fname,varargin)
%
% data=loadjson(fname,opt)
% or
% data=loadjson(fname,'param1',value1,'param2',value2,...)
%
% parse a JSON (JavaScript Object Notation) file or string
%
% authors:Qianqian Fang (fangq<at> nmr.mgh.harvard.edu)
% created on 2011/09/09, including previous works from
%
% ... |
github | jhalakpatel/AI-ML-DL-master | loadubjson.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex4/ex4/lib/jsonlab/loadubjson.m | 15,574 | utf_8 | 5974e78e71b81b1e0f76123784b951a4 | function data = loadubjson(fname,varargin)
%
% data=loadubjson(fname,opt)
% or
% data=loadubjson(fname,'param1',value1,'param2',value2,...)
%
% parse a JSON (JavaScript Object Notation) file or string
%
% authors:Qianqian Fang (fangq<at> nmr.mgh.harvard.edu)
% created on 2013/08/01
%
% $Id: loadubjson.m 460 2015-01-... |
github | jhalakpatel/AI-ML-DL-master | saveubjson.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex4/ex4/lib/jsonlab/saveubjson.m | 16,123 | utf_8 | 61d4f51010aedbf97753396f5d2d9ec0 | function json=saveubjson(rootname,obj,varargin)
%
% json=saveubjson(rootname,obj,filename)
% or
% json=saveubjson(rootname,obj,opt)
% json=saveubjson(rootname,obj,'param1',value1,'param2',value2,...)
%
% convert a MATLAB object (cell, struct or array) into a Universal
% Binary JSON (UBJSON) binary string
%
% author... |
github | jhalakpatel/AI-ML-DL-master | submit.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex6/ex6/submit.m | 1,318 | utf_8 | bfa0b4ffb8a7854d8e84276e91818107 | function submit()
addpath('./lib');
conf.assignmentSlug = 'support-vector-machines';
conf.itemName = 'Support Vector Machines';
conf.partArrays = { ...
{ ...
'1', ...
{ 'gaussianKernel.m' }, ...
'Gaussian Kernel', ...
}, ...
{ ...
'2', ...
{ 'dataset3Params.m' }, ...
... |
github | jhalakpatel/AI-ML-DL-master | porterStemmer.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex6/ex6/porterStemmer.m | 9,902 | utf_8 | 7ed5acd925808fde342fc72bd62ebc4d | function stem = porterStemmer(inString)
% Applies the Porter Stemming algorithm as presented in the following
% paper:
% Porter, 1980, An algorithm for suffix stripping, Program, Vol. 14,
% no. 3, pp 130-137
% Original code modeled after the C version provided at:
% http://www.tartarus.org/~martin/PorterStemmer/c.tx... |
github | jhalakpatel/AI-ML-DL-master | submitWithConfiguration.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex6/ex6/lib/submitWithConfiguration.m | 5,562 | utf_8 | 4ac719ea6570ac228ea6c7a9c919e3f5 | function submitWithConfiguration(conf)
addpath('./lib/jsonlab');
parts = parts(conf);
fprintf('== Submitting solutions | %s...\n', conf.itemName);
tokenFile = 'token.mat';
if exist(tokenFile, 'file')
load(tokenFile);
[email token] = promptToken(email, token, tokenFile);
else
[email token] = p... |
github | jhalakpatel/AI-ML-DL-master | savejson.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex6/ex6/lib/jsonlab/savejson.m | 17,462 | utf_8 | 861b534fc35ffe982b53ca3ca83143bf | function json=savejson(rootname,obj,varargin)
%
% json=savejson(rootname,obj,filename)
% or
% json=savejson(rootname,obj,opt)
% json=savejson(rootname,obj,'param1',value1,'param2',value2,...)
%
% convert a MATLAB object (cell, struct or array) into a JSON (JavaScript
% Object Notation) string
%
% author: Qianqian Fa... |
github | jhalakpatel/AI-ML-DL-master | loadjson.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex6/ex6/lib/jsonlab/loadjson.m | 18,732 | ibm852 | ab98cf173af2d50bbe8da4d6db252a20 | function data = loadjson(fname,varargin)
%
% data=loadjson(fname,opt)
% or
% data=loadjson(fname,'param1',value1,'param2',value2,...)
%
% parse a JSON (JavaScript Object Notation) file or string
%
% authors:Qianqian Fang (fangq<at> nmr.mgh.harvard.edu)
% created on 2011/09/09, including previous works from
%
% ... |
github | jhalakpatel/AI-ML-DL-master | loadubjson.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex6/ex6/lib/jsonlab/loadubjson.m | 15,574 | utf_8 | 5974e78e71b81b1e0f76123784b951a4 | function data = loadubjson(fname,varargin)
%
% data=loadubjson(fname,opt)
% or
% data=loadubjson(fname,'param1',value1,'param2',value2,...)
%
% parse a JSON (JavaScript Object Notation) file or string
%
% authors:Qianqian Fang (fangq<at> nmr.mgh.harvard.edu)
% created on 2013/08/01
%
% $Id: loadubjson.m 460 2015-01-... |
github | jhalakpatel/AI-ML-DL-master | saveubjson.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex6/ex6/lib/jsonlab/saveubjson.m | 16,123 | utf_8 | 61d4f51010aedbf97753396f5d2d9ec0 | function json=saveubjson(rootname,obj,varargin)
%
% json=saveubjson(rootname,obj,filename)
% or
% json=saveubjson(rootname,obj,opt)
% json=saveubjson(rootname,obj,'param1',value1,'param2',value2,...)
%
% convert a MATLAB object (cell, struct or array) into a Universal
% Binary JSON (UBJSON) binary string
%
% author... |
github | jhalakpatel/AI-ML-DL-master | submit.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex5/ex5/submit.m | 1,765 | utf_8 | b1804fe5854d9744dca981d250eda251 | function submit()
addpath('./lib');
conf.assignmentSlug = 'regularized-linear-regression-and-bias-variance';
conf.itemName = 'Regularized Linear Regression and Bias/Variance';
conf.partArrays = { ...
{ ...
'1', ...
{ 'linearRegCostFunction.m' }, ...
'Regularized Linear Regression Cost Fun... |
github | jhalakpatel/AI-ML-DL-master | submitWithConfiguration.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex5/ex5/lib/submitWithConfiguration.m | 5,562 | utf_8 | 4ac719ea6570ac228ea6c7a9c919e3f5 | function submitWithConfiguration(conf)
addpath('./lib/jsonlab');
parts = parts(conf);
fprintf('== Submitting solutions | %s...\n', conf.itemName);
tokenFile = 'token.mat';
if exist(tokenFile, 'file')
load(tokenFile);
[email token] = promptToken(email, token, tokenFile);
else
[email token] = p... |
github | jhalakpatel/AI-ML-DL-master | savejson.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex5/ex5/lib/jsonlab/savejson.m | 17,462 | utf_8 | 861b534fc35ffe982b53ca3ca83143bf | function json=savejson(rootname,obj,varargin)
%
% json=savejson(rootname,obj,filename)
% or
% json=savejson(rootname,obj,opt)
% json=savejson(rootname,obj,'param1',value1,'param2',value2,...)
%
% convert a MATLAB object (cell, struct or array) into a JSON (JavaScript
% Object Notation) string
%
% author: Qianqian Fa... |
github | jhalakpatel/AI-ML-DL-master | loadjson.m | .m | AI-ML-DL-master/AndrewNg_MachineLearning/machine-learning-ex5/ex5/lib/jsonlab/loadjson.m | 18,732 | ibm852 | ab98cf173af2d50bbe8da4d6db252a20 | function data = loadjson(fname,varargin)
%
% data=loadjson(fname,opt)
% or
% data=loadjson(fname,'param1',value1,'param2',value2,...)
%
% parse a JSON (JavaScript Object Notation) file or string
%
% authors:Qianqian Fang (fangq<at> nmr.mgh.harvard.edu)
% created on 2011/09/09, including previous works from
%
% ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.