Rank: 470 based on 286 downloads (last 30 days) and 8 files submitted
photo

Patrick Mineault

E-mail
Company/University
McGill University
Lat/Long
45.50872039794922, -73.58116149902344

Personal Profile:

http://xcorr.net


 

Watch this Author's files

 

Files Posted by Patrick Mineault View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
13 Nov 2012 Screenshot mexme - write MEX files in no time writes fully valid MEX .cpp files including mexFunction boilerplate based on numeric C/C++ snippet Author: Patrick Mineault mex, c, compiled code, mex tools, compile mex, mex code 22 6
  • 4.66667
4.7 | 3 ratings
07 Dec 2011 Screenshot Fit GLM with quadratic penalty Fits GLM with a quadratic penalty, determines hyperparams through cross-validation or evidence Author: Patrick Mineault glm, generalized linear mo..., maximum a posteriori, map, regularization, linear regression 22 5
  • 5.0
5.0 | 2 ratings
02 Nov 2011 Screenshot Auto Gaussian & Gabor fits Fit 1D/2D Gaussian or Gabor to a curve/surface without start guesses for params Author: Patrick Mineault gaussian, curve fit, global optimization, gibbs sampling, surface fit, 2d gaussian 53 21
  • 4.28571
4.3 | 7 ratings
22 Sep 2011 Screenshot Matching pursuit for 1D signals Performs Matching Pursuit on 1d (temporal) signals with custom basis Author: Patrick Mineault matching pursuit, basis pursuit, temporal signal, spectrogram, timefrequency analysi..., convolution 66 0
02 Sep 2011 Screenshot Fast B-spline class Fit, evaluate, differentiate non-uniform B-splines of any order - fast Author: Patrick Mineault bspline, pspline, spline, cubic spline, smoothing spline, interpolation 65 7
  • 5.0
5.0 | 5 ratings
Comments and Ratings by Patrick Mineault View all
Updated File Comments Rating
02 May 2013 Fast B-spline class Fit, evaluate, differentiate non-uniform B-splines of any order - fast Author: Patrick Mineault

These are 1d splines. You can obtain 2d/3d splines using tensor products of the basis given by the class.

07 Nov 2012 Fast B-spline class Fit, evaluate, differentiate non-uniform B-splines of any order - fast Author: Patrick Mineault

Richard has sent me an email with this solution for his problems which stem from using a different compiler (VC++ on Windows rather than gcc on Linux):

"Under Windows it is important that all files have the ending .cpp instead of .c so that the right compiler is taken. After correcting that (*.c à *.cpp) and stepping through all calls of .c files in the code which also have to be corrected, of course, everything works perfect!"

22 Apr 2012 Fit GLM with quadratic penalty Fits GLM with a quadratic penalty, determines hyperparams through cross-validation or evidence Author: Patrick Mineault

Either Generalized Linear Models by McCullough and Nelder or Generalized Additive Models: An introduction with R by Simon Wood.

26 Mar 2012 Auto Gaussian & Gabor fits Fit 1D/2D Gaussian or Gabor to a curve/surface without start guesses for params Author: Patrick Mineault

Ben, bootstrapping might work incorrectly if the Gaussian bump takes only a few pixels. In general, MCMC should be more reliable. The only reason I would use bootstrapping over MCMC is that MCMC is mathematically complicated and it's a bit tough to explain in the methods section of a paper.

Daniel, it's difficult to say without having access to the data you have. It's possible that there's a bug in the code that only appears for very specific datasets. Try to boil it down to the simplest example that shows the bug and send me the code to replicate the problem.

20 Feb 2012 Auto Gaussian & Gabor fits Fit 1D/2D Gaussian or Gabor to a curve/surface without start guesses for params Author: Patrick Mineault

Ben, look at the r2 values that Matlab gives you. If it's 1, then it's a perfect fit, if it's 0, then not. The other cue is if you compute error bars using one of the many methods that's included in the code, and your error bars are huge, that's a signal of misfit.

Comments and Ratings on Patrick Mineault's Files View all
Updated File Comment by Comments Rating
11 Oct 2014 Auto Gaussian & Gabor fits Fit 1D/2D Gaussian or Gabor to a curve/surface without start guesses for params Author: Patrick Mineault md.

i want to use sum of two Gaussian i.e [zi=a0*exp(-((xi-x0).^2/2/sigmax^2 +a1*exp(-((xi-x1).^2/2/sigmax1^2 + b] in the autoGaussianCurve(xi, yi) function.
Here i need to change. Please help me.

30 Jul 2014 Embiggen Add (or multiply, divide, etc) a matrix A to a vector b with the simple syntax A + Embiggen(b) Author: Patrick Mineault Ian

13 May 2014 Unique elements in cell array unique for numeric cell arrays. If c = {[0],[1,2],[0],[8],[1,2]} returns {[0],[1,2],[8]} Author: Patrick Mineault I Chieh Chen

Really nice, thanks a lot~

19 Feb 2014 Auto Gaussian & Gabor fits Fit 1D/2D Gaussian or Gabor to a curve/surface without start guesses for params Author: Patrick Mineault Ivan Mikhaylov

I also have the same error as described by Leo. How to fix it?

05 Nov 2013 Unique elements in cell array unique for numeric cell arrays. If c = {[0],[1,2],[0],[8],[1,2]} returns {[0],[1,2],[8]} Author: Patrick Mineault Kevin Bartlett

Contact us