Lambda
This is a collection of several simple functional languages all based on combinator graph reduction techniques for interpretation. For now there's only one package here: lazy-l, which is an interpreter for Alonzo Church's untyped lambda calculus.
Platforms: Windows, Mac, Linux
License: Freeware | Size: 42.22 KB | Download (48): The Combinator Engine Download |
This script is a class to allow programmers to curry functions, so that arguments can be supplied one at a time instead of all at once. E.g., if F = Curry(lambda a,b: a b), then F(1,2) == F(1)(2).
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (57): Curried functions Download |
This script is a groupby function for arrays. Given a list of arrays and a `key` function, it will group each array based on the value of `key(args[0])`. The returned arrays will be two dimensional. The size of the first dimension is equal to the number of groups, and the size of the second...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): Groupby for ndarrays Download |
This code gets factorial of a number and for negative numbers returns 1.The recursive implementation of factorial is easy but using lambda keyword of python it becomes a bit tough as we can't use conditional if else in lambda. If a user wants to return a factorial function on the fly using lambda...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Factorial Download |
Open BEAGLE is a C Evolutionary Computation (EC) framework. It provides an high-level software environment to do any kind of EC, with support for tree-based genetic programming; bit string, integer-valued vector, and real-valued vector genetic algorithms; and evolution strategy.The Open BEAGLE...
Platforms: Windows, Mac, *nix, C/C++, BSD Solaris
License: Freeware | Download (59): Open BEAGLE Download |
EZFFT(T,U) plots the power spectrum of the signal U(T) , where T is a 'time' and U is a real signal (T can be considered as a space coordinate as well). If T is a scalar, then it is interpreted as the 'sampling time' of the signal U. If T is a vector, then it is interpreted as the 'time' itself....
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): EZFFT : An easy to use Power Spectrum (FFT) Download |
A fast Gentle Adaboost classifier with two different weak-learners: i) decision stump and ii) perceptron. Multiclass is performed with the one-against-all strategy.Usage ------ model = gentleboost_model(X , y , [T] , [options]); Inputs ------- X Features matrix (d x N) y Labels (1 x N). If y...
Platforms: Matlab
License: Freeware | Size: 102.4 KB | Download (51): Multiclass GentleAdaboosting Download |
The function The LMFnlsq.m serves for finding optimal solution of an overdetermined system of nonlinear equations in the least-squares sense. The standard Levenberg- Marquardt algorithm was modified by Fletcher and coded in FORTRAN many years ago (see the Reference). This version of LMFnlsq is...
Platforms: Matlab
License: Freeware | Size: 870.4 KB | Download (46): LMFnlsq - Solution of nonlinear least squares Download |
This toolbox implements an energy-based segmentation algorithm that usesfinite-difference based level set evolution. (See [1], [2]).Multiscale control of the curve evolution is implemented -- this greatly reducesthe sensitivity to initialization as well as improves the execution speedby factors...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 51.2 KB | Download (40): Image segmentation - multiscale energy-based level sets Download |
Cronbach's dodA (alpha) has an important use as a measure of the reliability of a psychometric instrument. It indicates the extent to which a set of test items can be treated as measuring a single latent variable. It was first named as alpha by Cronbach (1951), although an earlier version is the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Cronbach's Alpha Download |
UPPSALATOR is an electroosmotical oscilLATOR developed in UPPSALA by T. Teorell. Up to now oscillations were observed only at constant currrent. Oscillations at constantvoltage were considered earlier as impossible. This program demonstrates the UPPSALATOR at any constant voltage.It solves...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): UPPSALATOR Download |
[transformedHistogram,newX]=transformHistogram(originalHistogram,originalX,formula)transformHistogram transforms the histogram stored in the 1D array 'orignalHistogram' according to the formula 'formula'.'originalHistogram' is defined at bins stored in 'orignalX'.The output 'transformedHistogram'...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Histogram transformation Download |
Compute the minimum of the generalized TV functionalT = || K*U - S ||^p + lambda*|| sqrt( (Dx(U))^2 + (Dy(U))^2 ) ||^qfor grayscale / color (vector) images using the IRN [1,2] algorithm, whereS: Input imagelambda: regularization parameterK: linear operatorU: Output imageReferences[1] P....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): A Generalized Vector-Valued Total Variation Algorithm Download |
Chi-square tests of homogeneity and independence.Computes the P-value for I x J - table row/col independence.Ref.: DeltaProt toolbox at http://services.cbu.uib.no/software/deltaprot/Input:X: data matrix (I x J -table) of the observed frequency cells.method: 'RC': Read-Cressie power divergence...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Chi-square tests Download |
Implements Carnegie-Mellon STATLIB/Applied Statistics AS-99 for fitting Johnson curve pdfs and developed by:Hill, I.D., R. Hill, and R.L. Holder, 1976. Algorithm AS 99: Fitting Johnson Curves by Moments, Applied Statistics, Vol. 25, No. 2,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (51): Johnson curve fitting Download |
Helps choose a Box-Cox power transformation for a multivariate linear regression.Assume you are looking at the residuals of [b,bint,r] = regress(y,X) and it seems a transformation is in place. Use:boxcoxlm(y,X) to find the best lambda for a Box-Cox power transformation (y^lambda, or log(y) for...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Box-Cox power transformation for Linear Models Download |
This file computes a balanced incomplete block design [BIBD] analysis of variance. A BIBD is a set X of v >= 2 elements called treatments and a collection of b > 0 subsets of X, called blocks, such that the following conditions are satisfied: - each block consists of exactly k treatments, v > k >...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): bibdAOV Download |
Generalized linear models (GLMs) are a natural extension of linear regression models in which eta = X*w is related to y by a fixed nonlinearity and a possibly non-Gaussian noise source. Standard linear regression, logistic regression and Poisson regression are all special types of GLMs.This...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Fit GLM with quadratic penalty Download |
Auto Gaussian & Gabor Surface fit---Functions to fit a 1D Gaussian to a curve and a 2D Gaussian or Gabor to a surface. The routines are automatic in the sense that they do not require the specification of starting guesses for the model parameters. This is done by evaluating the quality of fit for...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): Auto Gaussian & Gabor fits Download |
__________________________MATLAB filesdldcdldcdldcdldcdldcdldcdldcdldcdldcdldcdldcdldcdldcdldcdldcdldcdldcdldcdldcdldcdldcdldcdldcdldcdldcdldcThese powerful functions study irreps of SU(n>1)... d-deD? suf.m - given an irrep, finds all weights and their individual dimensions d-deD? suw.m - using...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (39): Tools for SU(n) Download |