similar to: Elastic net in R (enet package)

Displaying 20 results from an estimated 1000 matches similar to: "Elastic net in R (enet package)"

2017 Dec 08
0
Elastic net
Dear R users,? ? ? ? ? ? ? ? ? ? ? ? ? I am using "Glmnet" package in R for applying "elastic net" method. In elastic net, two penalities are applied one is lambda1 for?LASSO and lambda2 for ridge ( zou, 2005) penalty.?How can I? write the code to? pre-chose the? lambda1 for?LASSO and lambda2 for ridge without using cross-validation Thanks in advance? Tayo? [[alternative
2009 Aug 04
2
error in Elastic net
Dear R users,   I am new user for elastic net. I am trying to use elasticnet library. I have marker data with 359 markers and 168 samples, and response is metabolites. I am trying to do regression between a metabolite and markers.  But i am getting the following error:   > en<-enet(marker,as.numeric(vio),lambda=0.5,normalize=FALSE,intercept=TRUE) Error in one %*% x : requires numeric
2008 Dec 09
1
Can elastic net do binary classification?
Hi, List The elastic net package (by Hastie and Zou at Stanford) is used to do regularization and variable selection, it can also do regression. I am wondering if it can perform binary classification (discrete outcome). Anybody having similar experience? Many thanks, -Jack [[alternative HTML version deleted]]
2009 Apr 05
2
loop problem for extract coefficients
Dear R users, I have problem with extracting coefficients from a object. Here, X (predictor)and Y (response) are two matrix , I am regressing X ( dimensions 10 x 20) on each of columns of Y[,1] (10 x 1) and want to store the coefficient values. I have performed a Elastic Net regression and I want to store the coeffcients in each iteration. I got an error message . I do not
2009 May 04
1
Caret package: coeffcients for regression
Dear All, I am using "Caret"package for SVM regression and elastic net regression . I can get the final fiited vs observed values. How can I get the coefficients? Any ideas? Thanks Alex [[alternative HTML version deleted]]
2008 Aug 21
0
Elastic net loop problem
Dear Members, I am working on Elastic net and using R package for that. I have two matrix. My response is a matrix of size 50X50 and predictor is also in same size. I want to extract only cloumns from the matrix and do the elastic net analysis then store them as a matrix. library(elasticnet) library(lars) XB<-matrix(rnorm(2500,0,1), ncol=50,nrow=50) y1<-matrix(rnorm(2500,0,1),
2009 Jan 17
3
[Cucumber] Struggling with "multiple step definitions"
Hey gang, I find myself struggling with multiple step definitions in cucumber all the time. I regularly test the contents of my flash[:notice] in steps, since I think that''s part of the behaviour of the app. So, while implementing a new feature, I ran into the following error: /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.15/bin/../lib/cucumber/ step_mother.rb:81:in
2019 Sep 19
2
fts-elastic plugin
Hi all, I have recently worked on fts plugin for ElasticSearch. https://github.com/filiphanes/fts-elastic It is forked from fts-elasticsearch as you can see in PR https://github.com/atkinsj/fts-elasticsearch/pull/21 with following changes (maybe some more) - no duplicate json keys in indexed documents, so compatible with ES 7.x - 1 elastic index for all users with routing by username -
2012 Jan 03
1
AWS Elastic Beanstalk & Puppet
Anyone have experience and willing to share for Beanstalk? e.g. How does Puppet fit in when we mainly use AWS Elastic Beanstalk? Seems most features are provided by Beanstalk. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email
2014 Oct 13
2
Running Icecast2 behind Amazon Elastic Load Balancer (ELB)
Hello, I'm writing to see if anyone here has had any success running Icecast2 (specifically I am using 2.4) on Amazon EC2 behind an Elastic Load Balancer? I have the ELB configured to do TCP loadbalancing rather than HTTP. I am able to connect and to stream music via the ELB, but when I disconnect, the listener count in Icecast does not decrease. On examining the state of the sockets table
2017 Sep 15
4
libimoblidevice prevents updating to Centos7.4
Hello All, this problem occured both before the release with CR repo and now after the release. I have 150 laptops running Centos7 / MATe, including my own laptop. We have these repo's enabled: repo id repo naam status base/7/x86_64 CentOS-7 - Base 9.591 beid-release/7 Belgian eID package archive 68 epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 11.904 extras/7/x86_64
2009 Mar 05
1
Question about SwfdecAsScriptFunction in swfdec
Hello, I got a question about the script function class(SwfdecAsScriptFunction) design in swfdec. Why doesn't a script function mark its target(SwfdecAsScriptFunction::target) in the marking phase? What if the function's target has been destroyed while the function itself is still kept alive? (Answer myself: then there would be a segfault when executing that function) Let me give a
2017 Sep 15
2
libimoblidevice prevents updating to Centos7.4
> Date: Friday, September 15, 2017 05:34:11 -0500 > From: Johnny Hughes <johnny at centos.org> > > On 09/15/2017 03:06 AM, johan.vermeulen7 at telenet.be wrote: >> Hello All, >> >> this problem occured both before the release with CR repo and now >> after the release. I have 150 laptops running Centos7 / MATe, >> including my own laptop. >>
2009 Dec 28
4
How to change the default Date format for write.csv function?
Hi, I have a data.frame containing a Date column. When using write.csv() function to generate a CSV file, I always get the Date column formatted as "YYYY-MM-DD". I would like to have it formatted as "MM/DD/YYYY", but could not find an easy way to do it. Here is the test code: d <- data.frame(ticker=c("IBM", "IBM"), date =
2009 Jul 12
0
Plotting problem [lars()/elasticnet()]
Dear all, I am using modified LARS algorithm (ref: The Adaptive Lasso and Its Oracle Properties, Zou 2006) for adaptive lasso penalized linear regression. 1. w(j) <- |beta_ols(j)|^(-gamma) gamma>0 and j = 1,...,p 2. define x_new(j) <- x(j)*w(j) 3. apply LARS to solve modified lasso problem out.adalasso <- lars(X_new,y,type="lasso") or enet(X_new,
2020 Apr 21
1
[PATCH -next] drm/nouveau/acr: Use kmemdup instead of kmalloc and memcpy
Fixes coccicheck warning: drivers/gpu/drm/nouveau/nvkm/subdev/acr/hsfw.c:103:23-30: WARNING opportunity for kmemdup drivers/gpu/drm/nouveau/nvkm/subdev/acr/hsfw.c:113:22-29: WARNING opportunity for kmemdup Fixes: 22dcda45a3d1 ("drm/nouveau/acr: implement new subdev to replace "secure boot"") Reported-by: Hulk Robot <hulkci at huawei.com> Signed-off-by: Zou Wei
2010 May 25
1
Need Help! Poor performance about randomForest for large data
Hi, dears, I am processing some data with 60 columns, and 286,730 rows. Most columns are numerical value, and some columns are categorical value. It turns out that: when ntree sets to the default value (500), it says "can not allocate a vector of 1.1 GB size"; And when I set ntree to be a very small number like 10, it will run for hours. I use the (x,y) rather than the (formula,data).
2009 May 16
1
maxLik pakage
Hi all; I recently have been used 'maxLik' function for maximizing G2StNV178 function with gradient function gradlik; for receiving this goal, I write the following program; but I have been seen an error  in calling gradient  function; The maxLik function can't enter gradlik function (definition of gradient function); I guess my mistake is in line ******** ,that the vector  ‘h’ is
2009 Jan 05
1
transform R to C
Dear R users, i would like to transform the following function from R-code to C-code and call it from R in order to speed up the computation because in my other functions this function is called many times. `dgcpois` <- function(z, lambda1, lambda2) { `f1` <- function(alpha, lambda1, lambda2) return(exp(log(lambda1) * (alpha - 1) - lambda2 * lgamma(alpha))) `f2` <-
2008 Sep 18
1
caret package: arguments passed to the classification or regression routine
Hi, I am having problems passing arguments to method="gbm" using the train() function. I would like to train gbm using the laplace distribution or the quantile distribution. here is the code I used and the error: gbm.test <- train(x.enet, y.matrix[,7], method="gbm", distribution=list(name="quantile",alpha=0.5), verbose=FALSE,