Displaying 20 results from an estimated 20000 matches similar to: "persistence of model in R to a file"
2010 Mar 06
3
r code to generate interaction columns
Hi,
is there a way to take a dataset and extract numeric columns and create interaction columns from it automatically?
For e.g. there are 5 columns of data: A,B,C,D,E.
CDE are numeric.
Can someone provide code to automatically create more columns such as:
1) C*D, C*E, C*D*E, (C+E)/(D+.01 (to avoid divide by zero), (D+E)/(C+.01 (to avoid divide by zero), (C+D)/(E+.01 (to avoid
2008 Oct 19
3
pairs plots in R
Hi,
is there a way to take a data frame with 100+ columns and large data set to do efficient exploratory analysis in R with pairs?
I find using pairs on the whole matrix is slow and the resulting matrix is tiny.
Also the variable of interest for me is a binary var Y or N .
Is there an efficient way to graphically view many variable relationships that does not look teeny ?
I could do
2008 Oct 02
2
aggregate empty row for pretty appearance also subtotal if possible
Hi,
To pretty print aggregates by various dimensions I needed to add a
empty row in output of aggregate.
For example.
d<-(aggregate(data[,cbind("x")], by=list(data$group1,data$group2),
sum))
Group.1 Group.2 x
1 A N 3
2 A Y 2
3 B N 420164905
Is there a way to add an empty
2008 Nov 20
1
rpart tuning question
Hi,
In a binary classification dataset is there a way to tune rpart to now
allow any false positives.
I.e. is there some setting that will enforce no false positives (prior
etc)? (and yet Without making the tree pick all 0 or 1 outcome)
Dhruv
[[alternative HTML version deleted]]
2008 Oct 27
0
Displaying number of Y/N affected by tree in rule form RE: R question/request on rules from rpart
Hi Prof. Williams,
thanks for your suggestion. The updated code is below.
It turns out it was a matter of displaying the second column in
yval to get the number of N and subtracting it from the n column in the
frame to get the number of Y remaining in a binary example.
once this is added now the function returns the rules along with
Y and N count affected by the resulting rule.
I am ccing
2008 Dec 23
1
sorting regression coefficients by p-value
Hi,
Is there a way to get/extract a matrix of regression variable name, coefficient, and p values?
(for lm and glm; which can be sort by p value?)
thanks
Dhruv
[[alternative HTML version deleted]]
2010 Nov 29
3
question
Hi,
is there a way to convert an rpart tree into ifelese statement that
codes the data withi factors labeled for the tree?
for e.g. if Age>50 and group=B,C then 'Age>50 and group=B,C'
if Age<=50 then group=N,A then 'Age<=50 then group=N,A'
data$tree<-as.factor(ifelse(Age>50 and group in (B,C), 'Age>50 and
group=B,C',
2017 Jun 22
6
[Bug 101559] New: Displays fail to wake up when booting machine away from Display Port KVM switch
https://bugs.freedesktop.org/show_bug.cgi?id=101559
Bug ID: 101559
Summary: Displays fail to wake up when booting machine away
from Display Port KVM switch
Product: xorg
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority:
2008 Jul 07
5
question on lm or glm matrix of coeficients X test data terms
Hi,
is there an easy way to get the calculated weights in a regression equation?
for e.g.
if my model has 2 variables 1 and 2 with coefficient .05 and .6
how can I get the computed values for a test dataset for each coefficient?
data
var1,var2
10,100
so I want to get .5, 60 back in a vector. This is a one row example but I would want to get a matrix of multiplied out coefficients
2008 Sep 21
2
r format questions
Hi,
1) I have noticed that when I use the aggregate function it outputs numbers in the results. for example:
aggregate by product
group.1 Aggregate
1 ProductA 1000400.00
2 ProductB 23232323.00
3 Missing 232323.00
is there a way to suppress the numbers infront of aggregate outputs. I checked and they don't look like columns when I do a summary so I can't -1
2009 Sep 12
1
[LLVMdev] Cache optimizations and data layout
Hello,
I am new to LLVM. I am using an x86 code generator. I need to write a few
passes based on cache blocks and data layout information. Does LLVM provide
a way for me to see the data layout and analyze what are the cache blocks?
If not is it possible to implement the same in the current framework?
Thank You
Dhruv Choudhary
--
School of Electrical and Computer Engineering
Georgia Institute
2008 Sep 21
1
design question on piping multiple data sets from 1 file into R
Hi,
I have some queries that I use to get time series information for 8 seperate queries which deal with a different set of time series each.
I take my queries run them and save the output as csv file and them format the data into graphs in excel.
I wanted to know if there is an elegant and clean way to read in 1 csv file but to read the seperate matrices on different rows into seperate
2008 Oct 15
0
R-help Digest, Vol 67, Issue 31
V;
Sent via BlackBerry from T-Mobile
-----Original Message-----
From: r-help-request at r-project.org
Date: Tue, 30 Sep 2008 12:00:06
To: <r-help at r-project.org>
Subject: R-help Digest, Vol 67, Issue 31
Send R-help mailing list submissions to
r-help at r-project.org
To subscribe or unsubscribe via the World Wide Web, visit
https://stat.ethz.ch/mailman/listinfo/r-help
or, via email,
2005 Mar 03
2
[Asterisk-Dev] CVS-HEAD change: queue/agent persistence
For anyone using CVS HEAD, if you are using queue member persistence or
agent persistence, your next update will cause the persistence to break.
The storage format for these elements has been changed so that it can be
more easily extended in the future, but this required breaking
compatibility. This should be the last time these features will be
broken by an upgrade :-)
2007 Oct 31
1
Persistence of scheduled jobs?
Hello all,
I''m new to Ruby and have come across this project that seems to be
the most mature scheduling project for Ruby. I''ve had some brief
experience with Quartz for Java and was wondering if there were any
plans to provide an option to save scheduled jobs into some sort of
data store?
If not, is that something the project would be interested in?
Has someone
2010 Jun 20
2
mean duration (persistence) of daily data
Dear R users
A quite simple question:?how can I get the mean duration (persistence)
of daily data, when the data set looks as follows:?
[1] 7 7 7 9 9 5 7 5 5 5 9 5 5 6 6 6 1 1 1 2 2 4 4 4 4 7 7 3 3 2 4 4 7 7 7 7 7
[38] 7 7 5 5 9 9 5 5 5 1 7 9 9 9 9 9 5 5 5 5 5 3 4 4 4 4 4 4 4 4 2 2 2 2 2 2 8
[75] 8 6 6 6 8 8 8 8 8 6 6 2 8 8 8 8 8 8 8 8 8 2 2 2 2 2 6 6 6 6 6 6 6 6 6 6 3
[112] 3 2 2 2 1 5 1 1 4
2011 Apr 16
3
lme4 problem: model defining and effect estimation ------ question from new bird to R community from SAS community
Hi R community,
I am new bird to R and moved recently from SAS. I am no means expert on
either but very curious learner. So your help crucial for me to learn R.
I have already got positive expression.
I was trying to fit a mixed model in animal experiment but stuck at simple
point. The following similar example is from SAS mixed model pp 212.
# data
genetic_evaluation <-
2009 Feb 03
5
Large file size while persisting rpart model to disk
I am using rpart to build a model for later predictions. To save the
prediction across restarts and share the data across nodes I have been
using "save" to persist the result of rpart to a file and "load" it
later. But the saved size was becoming unusually large (even with
binary, compressed mode). The size was also proportional to the amount
of data that was used to create the
2015 May 08
1
vnetX interface name persistence
Hi!
I'm aware that (host side) vnetX are created when VM boots. But I'm trying to
figure out a way ti create a persistence in vnetX names. What I mean is,
say, I want to associate VMs vm0 to vnet0, vm1 to vnet1, vm2 to vnet2 and
so forth, no matter which order the VMs are booted. I looked around network
XML format, but did't find something...
Since I'm using Open vSwitch as
2003 May 28
3
share persistence problem
After awhile, my connections from my PC to my samba server end up with a
red "X" in them (share disappeared) if I leave my explorer window open.
If I click on these, they "wake up" and continue to function (and
the red X's go away). If I close my explorer window (while the red X's
are there) and reopen it , they are gone. An attempt to reestablish
these