| Home | Trees | Indices | Help | 
 | 
|---|
|  | 
 
GLM-Net regression (GLMNET) Classifier.
GLM-Net is the model selection algorithm from:
Friedman, J., Hastie, T. and Tibshirani, R. (2008) Regularization Paths for Generalized Linear Models via Coordinate Descent. http://www-stat.stanford.edu/~hastie/Papers/glmnet.pdf
To make use of GLMNET, you must have R and RPy installed as well as both the glmnet contributed package. You can install the R and RPy with the following command on Debian-based machines:
sudo aptitude install python-rpy python-rpy-doc r-base-dev
You can then install the glmnet package by running R as root and calling:
install.packages()
| 
 | |||
| Inherited from  | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| Inherited from  Inherited from  Inherited from  Inherited from  | |||
| 
 | |||
| _clf_internals = ['glmnet', 'linear', 'has_sensitivity', 'doesDescribes some specifics about the classifier -- is that it is doing regression for instance.... | |||
| family = Parameter('gaussian', allowedtype= 'basestring', choi | |||
| alpha = Parameter(1.0, min= 0.01, max= 1.0, allowedtype= 'floa | |||
| nlambda = Parameter(100, allowedtype= 'int', min= 1, doc= """M | |||
| standardize = Parameter(True, allowedtype= 'bool', doc= """Whe | |||
| thresh = Parameter(1e-4, min= 1e-10, max= 1.0, allowedtype= 'f | |||
| pmax = Parameter(None, min= 1, allowedtype= 'None or int', doc | |||
| maxit = Parameter(100, min= 10, allowedtype= 'int', doc= """Ma | |||
| model_type = Parameter('covariance', allowedtype= 'basestring' | |||
| weights = property(lambda self: self.__weights) | |||
| Inherited from  Inherited from  | |||
| 
 | |||
| Inherited from  | |||
| 
 | |||
| 
 Initialize GLM-Net. See the help in R for further details on the parameters 
 | 
| 
 data(Dataset).
 | 
| 
 
 | 
| 
 
 | 
| 
 
 | 
| 
 | |||
| _clf_internalsDescribes some specifics about the classifier -- is that it is doing regression for instance....
 | 
| family
 | 
| alpha
 | 
| nlambda
 | 
| standardize
 | 
| thresh
 | 
| pmax
 | 
| maxit
 | 
| model_type
 | 
| Home | Trees | Indices | Help | 
 | 
|---|
| Generated by Epydoc 3.0.1 on Mon Apr 23 23:09:18 2012 | http://epydoc.sourceforge.net |