13+ results for 'robustDemo' (1102 ms)
13#include "itkProbabilisticRegistrationFunction.h" 14#include "itkRobustDemonsRegistrationFunction.h" 15#include "itkRobustOpticalFlow.h"index.html http://pmtk3.googlecode.com/svn/trunk/ | HTML | 203 lines
176<tr bgcolor="white" align="left"> 177<td>robustDemo</td> 178 <td> <a href="robustDemo.html"> Illustrate the robustness of the student and laplace distributions compared to the Gaussian. </td>linregRobustDemo.html http://pmtk3.googlecode.com/svn/trunk/ | HTML | 213 lines
8To make changes, update the MATLAB code and republish this document. 9 --><title>Robust linear regression demo</title><meta name="generator" content="MATLAB 7.12"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2012-03-27"><meta name="DC.source" content="linregRobustDemo.m"><style type="text/css"> 10 66 67<span class="keyword">function</span> linregRobustDemo() 68</pre><pre class="codeinput">requireOptimToolbox 90printPmtkFigure(<span class="string">'linregRobustLaplaceStudent'</span>) 91</pre><img vspace="5" hspace="5" src="linregRobustDemo_01.png" alt=""> <h2>Huber loss<a name="6"></a></h2><pre class="codeinput"><span class="keyword">if</span> 1 92 legendStr = {<span class="string">'Least Squares'</span>}; 102<span class="keyword">end</span> 103</pre><img vspace="5" hspace="5" src="linregRobustDemo_02.png" alt=""> <pre class="codeinput"><span class="keyword">end</span> 104</pre><pre class="codeinput"><span class="keyword">function</span> doPlot(x, y, yhat, legendStr) 136 137function linregRobustDemo() 138requireOptimToolboxlinregRobustDemoCombined.html http://pmtk3.googlecode.com/svn/trunk/ | HTML | 213 lines
8To make changes, update the MATLAB code and republish this document. 9 --><title>Robust linear regression demo</title><meta name="generator" content="MATLAB 7.12"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2012-03-27"><meta name="DC.source" content="linregRobustDemoCombined.m"><style type="text/css"> 10 66 67<span class="keyword">function</span> linregRobustDemoCombined() 68</pre><pre class="codeinput">requireOptimToolbox 101printPmtkFigure(<span class="string">'linregRobustAll'</span>) 102</pre><img vspace="5" hspace="5" src="linregRobustDemoCombined_01.png" alt=""> <pre class="codeinput"><span class="keyword">end</span> 103</pre><pre class="codeinput"><span class="keyword">function</span> doPlot(x, y, yhat, legendStr) 135 136function linregRobustDemoCombined() 137requireOptimToolboxrobustDemo.html http://pmtk3.googlecode.com/svn/trunk/ | HTML | 178 lines
8To make changes, update the MATLAB code and republish this document. 9 --><title>Illustrate the robustness of the student and laplace distributions compared to the Gaussian.</title><meta name="generator" content="MATLAB 7.12"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2012-03-27"><meta name="DC.source" content="robustDemo.m"><style type="text/css"> 10 66 67<span class="keyword">function</span> robustDemo() 68</pre><pre class="codeinput">n = 30; 77plotPDFs(data); 78printPmtkFigure(<span class="string">'robustDemoNoOutliers'</span>) 79</pre><img vspace="5" hspace="5" src="robustDemo_01.png" alt=""> <pre class="codeinput">figure; 82plotPDFs([data ; outliers]); 83printPmtkFigure(<span class="string">'robustDemoOutliers'</span>) 84</pre><img vspace="5" hspace="5" src="robustDemo_02.png" alt=""> <h2>Bucket the data into nbins, divide the size of each bin by norm and plot<a name="4"></a></h2><h2>the normalized histogram.<a name="5"></a></h2><pre class="codeinput"><span class="keyword">function</span> plotHist(data,nbins,norm) 121 122function robustDemo() 123linregRobustDemo.m http://pmtk3.googlecode.com/svn/trunk/ | Objective C | 81 lines
6 7function linregRobustDemo() 8requireOptimToolboxrobustDemo.m http://pmtk3.googlecode.com/svn/trunk/ | Objective C | 61 lines
6 7function robustDemo() 8 18plotPDFs(data); 19printPmtkFigure('robustDemoNoOutliers') 20%% 24plotPDFs([data ; outliers]); 25printPmtkFigure('robustDemoOutliers') 26index.html http://pmtk3.googlecode.com/svn/trunk/ | HTML | 161 lines
140<tr bgcolor="white" align="left"> 141<td>linregRobustDemoCombined</td> 142 <td> <a href="linregRobustDemoCombined.html"> Robust linear regression demo </td>linregRobustDemoCombined.m http://pmtk3.googlecode.com/svn/trunk/ | Objective C | 82 lines
6 7function linregRobustDemoCombined() 8requireOptimToolboxitkRobustDemonsRegistrationFunction.hxx https://github.com/ntustison/Utilities.git | C++ Header | 276 lines
3 Program: Insight Segmentation & Registration Toolkit 4 Module: $RCSfile: itkRobustDemonsRegistrationFunction.hxx,v $ 5 Language: C++ 16=========================================================================*/ 17#ifndef _itkRobustDemonsRegistrationFunction_hxx_ 18#define _itkRobustDemonsRegistrationFunction_hxx_ 19 20#include "itkRobustDemonsRegistrationFunction.h" 21#include "itkExceptionObject.h" 29template <class TFixedImage, class TMovingImage, class TDeformationField> 30RobustDemonsRegistrationFunction<TFixedImage,TMovingImage,TDeformationField> 31::RobustDemonsRegistrationFunction() 73void 74RobustDemonsRegistrationFunction<TFixedImage,TMovingImage,TDeformationField> 75::PrintSelf(std::ostream& os, Indent indent) constitkRobustDemonsRegistrationFunction.h https://github.com/ntustison/Utilities.git | C Header | 235 lines
3 Program: Insight Segmentation & Registration Toolkit 4 Module: $RCSfile: itkRobustDemonsRegistrationFunction.h,v $ 5 Language: C++ 16=========================================================================*/ 17#ifndef _itkRobustDemonsRegistrationFunction_h_ 18#define _itkRobustDemonsRegistrationFunction_h_ 29/** 30* \class RobustDemonsRegistrationFunction 31* 32* This class encapsulate the PDE which drives the demons registration 33* algorithm. It is used by RobustDemonsRegistrationFilter to compute the 34* output deformation field which will map a moving image onto a 48* 49* \sa RobustDemonsRegistrationFilter 50* \ingroup FiniteDifferenceFunctionsregression_svm3.m https://github.com/chew-z/libsvm.git | MATLAB | 28 lines
26% plot(z, y(N+1:end), '.'); 27% robustdemo(z, y(N/2+1:end)) 28regression_svm2.m https://github.com/chew-z/libsvm.git | MATLAB | 34 lines
24figure('color','w'); plot(z, y(N/2+1:end), '.'); 25robustdemo(z, y(N/2+1:end)) 26% axis equal;axis square;