Displaying 20 results from an estimated 32 matches for "enet".
Did you mean:
genet
2009 Apr 05
2
loop problem for extract coefficients
...X<-matrix(rnorm(200),ncol=20)
Y<-matrix(rnorm(200),ncol=20)
loop <- 20
size <- 20
enres<-matrix(nrow = size, ncol = loop)
fit<-matrix(nrow = size, ncol = loop)
store<-matrix(nrow = size, ncol = loop)
for(j in 1: 10)
print (paste(j,"/200",sep=""))
{
enres<-enet(x=X,y=Y[,j],lambda=1,normalize=TRUE,intercept=TRUE)
fit<-predict.enet(enres, X, type="coefficients")
store[,j]<-fit$coefficients
}
----------------------------------------------------
> library(elasticnet)
Loading required package: lars
> X<-matrix(rnorm(200),ncol=20)
>...
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, the...
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 matrix/vector arguments
Then, I convert marker into numeric by using the following command. And, here also getting error.
> as.numeric(marker)
Error: (list) object cannot be coerced to type...
2019 Apr 15
2
supermin (chroot+systemd.resolved) - network cannot be configured on Ubuntu
...e runnign guestfish on Ubuntu Bionic
onward,
where the network cannot be configured :
https://bugs.launchpad.net/ubuntu/+source/supermin/+bug/1824236
The actual problem is the combination of (a) supermin and the fact that it
does chroot
and (b) a dhclient hook present in Bionic
(/etc/dhcp/dhclient-eneter-hooks.d/resolved)
that overwrites the make_resolv_conf function of dhclient_script with one
that
in the end restarts the systemd.resolved service.
Being, however in chroot, the new make_resolv_conf function fails with
"System has not been booted with systemd as init system (PID 1). Can't...
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,
trControl=trainControl(method="cv",number=5),
tuneGrid=gbmGrid
)
Model 1: interaction.depth=1, shrinkage=0.1, n.trees=300
collapsing over other values of n.trees
Error...
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]]
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 multi-threaded.
In researching this I find that a change to multi-threaded goodness would req...
2019 Apr 16
0
Re: supermin (chroot+systemd.resolved) - network cannot be configured on Ubuntu
...; onward,
> where the network cannot be configured :
> https://bugs.launchpad.net/ubuntu/+source/supermin/+bug/1824236
>
> The actual problem is the combination of (a) supermin and the fact that it
> does chroot
> and (b) a dhclient hook present in Bionic
> (/etc/dhcp/dhclient-eneter-hooks.d/resolved)
Does it work if you add this early on to appliance/init [1]:
rm -f /etc/dhcp/dhclient-eneter-hooks.d/resolved
There is no systemd in the appliance so anything that tries to run
systemd service is going to fail anyway.
Rich.
[1] https://github.com/libguestfs/libguestfs/blob/...
2007 Nov 29
0
New versions of the caret (3.08) and caretLSF (1.12) packages
...et (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) have been
added
- mars and fda models are now fit using the earth package. Instead of
using nk as a tuning parameter, these models now use the default nk from
the training set and tunes over nprune. This mimics the process used by
earth/mars/fda more closely.
- A bug was fixed with...
2007 Nov 29
0
New versions of the caret (3.08) and caretLSF (1.12) packages
...et (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) have been
added
- mars and fda models are now fit using the earth package. Instead of
using nk as a tuning parameter, these models now use the default nk from
the training set and tunes over nprune. This mimics the process used by
earth/mars/fda more closely.
- A bug was fixed with...
2010 Apr 06
1
Caret package and lasso
Dear all,
I have used following code but everytime I encounter a problem of not having
coefficients for all the variables in the predictor set.
# code
rm(list=ls())
library(caret)
# generating response and design matrix
X<-matrix(rnorm(50*100),nrow=50)
y<-rnorm(50*1)
# Applying caret package
con<-trainControl(method="cv",number=10)
data<-NULL
data<- train(X,y,
2005 Jul 18
2
Vizufon Video Phone
...n 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?
2013 Mar 14
1
Elasticnet - Cross validation problem
...g 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 run, some of the word columns may be all 0. (A given word simply isn't present in the subset of data sampled.) This causes the the function to return an error about variance of 0.
Any suggestions on how to mitigate thi...
2007 Oct 03
2
R 'function' as "subroutine"
...commands as a "named block" -- just give its name, and
they are executed.
In my experiments, wrapping the first occurrence of such
a sequence in a function definition seems to work, e.g.
the first time they are needed:
block1 <- function(){
sequence of commands that you would have enetered
for execution at this point
}
block1()
This first call to block1() seems to work OK, in my tests,
PROVIDED, of course,
a) The variables it uses and assigns to exist already;
b) all internal "<-" assignments are written "<<-".
Then, of course, the next time that b...
2008 Apr 09
3
Problem with Dovecot Delivery Agent, Extra "From" lines and mbox
...kan.org Thu Mar 8 17:28:01 2008
When reading email (IMAP) that contains such an unquoted line, the
email abruptly ends before the "Mail" line. There may (or may not)
appear another email (visible to the client) that contains the rest
of the email.
--
Hokan MEnet, a wholly owned subsidiary of Enet
System Administrator Department of Mechanical Engineering
hokan at me.umn.edu Institute of Technology
612.626.9800 University of Minnesota
2012 Jan 04
3
informal conventions/checklist for new predictive modeling packages
...e use RSiteSearch to avoid name collisions between packages
(eg. gam(), splsda(), roc(), LogitBoost()). Also search Bioconductor.
(9) Allow the predict function to generate results from many different
sub-models simultaneously. For example, pls() can return predictions
across many values of ncomp. enet(), cubist(), blackboost() are other
examples.
corollary (9a): [OCD] ensure the same object type for predictions.
There are occasions where predict() will return a vector or a matrix
depending on the context. I would argue that this is not optimal.
(10) Use a limited vocabulary for options. For ex...
2009 Jul 12
0
Plotting problem [lars()/elasticnet()]
...roperties, 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, y,
lambda=0)
suppose, the estimated coefficients are beta_new(j), j=1,...,p
4. beta_adalasso <- beta_new(j)*w(j)
everything went fine except I am having problem in plotting standardized
(adaptive lasso) coefficients vs. |beta|/max(|beta|). It seems that
plot(out.adalasso) provides pl...
2008 Aug 21
0
Elastic net loop problem
...x 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), ncol=50,nrow=50)
en1<-enet(x=XB,y=y1[,1],lambda=1,normalize=TRUE,intercept=TRUE) # here I
have used one column 1 as my respose
coefs<-predict(en1,s=0.45,type="coef",mode="fraction")
Here, I want to apply some loop to calculate all the columns and store the
all coefficients.
Thanks for your help
Allis...
2005 Aug 13
2
(no subject)
My linux box speaks pppoe to external DSL modem.
Nortel NTEX35 BAAB. It's up 24/7 and provides
web service...etc.
Has 6 nics, one of them is fiber.
Asterisk is on the same box.
Don't have any IP phones yet.
The asterisk default is to listen on all 6
enet interfaces? (this is what I'd want).
Etherape is showing me a healthy dose of
subnet broadcast on each nic...which I assume
is asterisk doing discovery, or it's announcing
itself?
asteriskdocs.org says this:
> We now having a working example of a zapata.conf with
> an FXS channel (1...
2008 Apr 13
4
GTA:san andreas problems
hi everybody!
ive got a problem starting GTA:SA. when i doubleclick the shortcut, my screen start flashing and then i see parts of the main menu, but i cant figure out what is says. when i try to click the "new game" button the game shuts down.
could this by a graphical problem? i have a ati radeon 9200 family card.