Displaying 20 results from an estimated 400 matches similar to: "Elastic net loop problem"
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
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
2013 Mar 14
1
Elasticnet - Cross validation problem
Hello,
I am attempting to use elasticnet to classify a number of documents.
The features are words. The data is coded into a matrix with each document as a row and each word as a column. The data is binary, with {0,1} indicating the presence of a word.
I want to use the cross validation function of elasticnet (cv.enet). However, when the code selects a random subset of the data for a given
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,
2007 Nov 29
0
New versions of the caret (3.08) and caretLSF (1.12) packages
New versions of the caret (3.08) and caretLSF (1.12) packages have been
released.
caret (short for "Classification And REgression Training") aims to
simplify the model building process. The package has functions for data
splitting, pre-processing and model tuning, as well as other
miscellaneous functions.
In the new versions:
- The elasticnet and the lasso (from the enet package)
2007 Nov 29
0
New versions of the caret (3.08) and caretLSF (1.12) packages
New versions of the caret (3.08) and caretLSF (1.12) packages have been
released.
caret (short for "Classification And REgression Training") aims to
simplify the model building process. The package has functions for data
splitting, pre-processing and model tuning, as well as other
miscellaneous functions.
In the new versions:
- The elasticnet and the lasso (from the enet package)
2009 Aug 25
1
Elastic net in R (enet package)
Dear R users,
I am using "enet" 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. But while running the
analysis, I realised tht, I optimised only one lambda. ( even when I
looked at the example in R, they used only one penality) So, I am
2006 Apr 23
1
help! A quetion about the Elasticnet package in R
Can anybody help me to run the Elasticnet package of R to build some model,
i am a freshman to R language , when i use the Elasticnet package to my
data, it always reture a error, but i can't settle that problem. I
consider if there is any constrant of the data to that package? Can anyone
help me to run the elasticnet and check my data as you convenient? I put
the data in attachment.
Thank
2008 May 31
1
Loading data into a list of environments
Dear All,
Thanks to an answer which I received from a previous post, I'm now able to create a series of
environments using the following:
nmes <- c("en1", "en2", "en3")
for(i in nmes) assign(i, new.env(parent = .GlobalEnv))
My next question is how, using "load", can I automatically place data into each of these
newly created environments.
The
2012 Jan 16
1
problem in import and export
hello,
i hav a prob in R lang. i want to do correlation of data frame
22810(gene) rows and 1436 colums(experiment) when i covert this file
in csv or xls format it reads only 1024 cloumns. n when i do
correlation of data mean 22810 *22810 matrix made in terminal then i
export in csv or xls by write.table it will give me only 1024 columns
rather than 22810 columns.wat i do
plzzz help me...
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,
2011 Aug 03
3
R.app installer probs on Snow Leopard
Have tried to install R.app several times (6, in fact: versions 2.12, 13 & 14, both 32 and 64 bit versions), using packages freshly downloaded from the official project page, and failed every time, given exception reports such as the following (appended below, the 2 reports arising out of my 1st & 6th attempts).
Machine & software version specifics are all contained therein.
What
2005 Jul 18
2
Vizufon Video Phone
So I won one of these on ebay, in the auction it says it has the RJ45
ports on it but it doesn't :(
If I were to get an analog adapter would I be able to use the video
portion of this or am I SOL? The auction requires me to pay for
shipping back, so I end up losing money unless I sell it on my own.
Or has anyone hacked these to work on enet?
2014 Oct 23
1
Aix 7.1 + Samba 3.60 + W2003 AD can not access shares
Hello,
I have installed and configured Samba 3.6.0 joining a Windows 2003
server domain.
wbinfo -u works fine but when I try to access a share I get the
following error :
Failed to find authenticated user via getpwnam(), denying access
Aix client is connecting the DC over a VPN.
This is my krb5.conf :
[libdefaults]
default_realm = MYDOMAIN.COM
2011 May 17
4
Multi-Threading?
I have a backup server now restoring 6TB of data to a client machine. This has been going on for four days now, and no sign of getting close to completion.
The connexion is Gb enet end-to-end, and is running at only 40Mb/s. It has far more capacity than that. The only limiting factor I can see is on the backup server one core of the CPU is running 100% rsync. Clearly rsync is not
2011 Feb 03
1
glmnet with binary predictors
Hi Everybody!
I must start with a declaration that I am a sparse user of R. I am
creating a credit scorecard using a dataset which has a variable
depicting actual credit history (good/bad) and 41 other variables of
yes/no type. The procedure I am asked to follow is to use a penalized
logistic procedure for variable selection. I have located the package
"glmnet" which gives the complete
2006 Mar 10
1
Maximum size of Ajax partial in Firefox?
Hi,
I''m writing an app that has some ajax-y content to it and am
experiencing a weird error in Firefox (1.5.0.1) that doesn''t appear
elsewhere (where ''elsewhere'' is IE6).
I''ve basically taken the typo sidebar code and rewritten it for my
needs. One of the things I''ve written is a ''sidebar'' that lists all the
countries in
2003 Nov 21
0
how to get IPFW rules for SMTP server behind NAT server "right"?
hi all,
i've been struggling with setting appropriate rules for an SMTP-server
behind by NAT'd firewall.
it's not that there is too little info on the web -- or here, for that
matter -- there's scads of it for seemingly endless configs/req'ts --
none that seem to be exactly my own.
bottom line: i'm a bit confused, and looking for some experienced
advice.
my goals (for
2008 Apr 09
3
Problem with Dovecot Delivery Agent, Extra "From" lines and mbox
When an mbox email contains a line that looks like a "Mail" header
it should be quoted (per RFC 4155). Sendmail's delivery agent does
this, as does Procmail delivery agent. Dovecot deliver does not
do this.
Example line, with ">" quote:
>From hokan at hokan.org Thu Mar 8 17:28:01 2008
When reading email (IMAP) that contains such an unquoted line, the
email
2013 Aug 21
0
AIX 6.1 Problem with module WINBIND
Hello,
I'm new on this list, here's the problem we are experiencing :
We have installed pware61-64.samba.3.6.0.0.bff.gz on an Aix partition running on 6100-06-05-1115.
We have succeeded in entering the system in our AD.
We can reach the domain : commands /opt/pware/bin/wbinfo -a USERNAME is correct.
The problem is that lsuser -R WINBIND don't work : message "User does not