Displaying 20 results from an estimated 300 matches similar to: "How to create lift chart and ROC curve in R"
2012 May 03
0
Validation of logistic models in R 2.12
Hi everyone,
I am trying to validate a logistic model built in R. Not my version of R is 2.12 and I cannot install ROCR.
I have gone to a point where I have the predicted values using the code:
pred1 = predict(trainlogit1,testdata_1, type = "response")
How do I proceed from here? Is there another way in which I can plot lift charts?
My model output is:
Call:
glm(formula =
2012 May 04
0
FW: Validation of logistic models in R 2.12
Could someone help me on this please?
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Dwaipayan Dasgupta
Sent: Thursday, May 03, 2012 1:43 PM
To: r-help at r-project.org
Subject: [R] Validation of logistic models in R 2.12
Hi everyone,
I am trying to validate a logistic model built in R. Not my version of R is 2.12 and I
2012 Apr 18
1
Help with creating conditional categorical variables in R
Hi,
I am stuck with creating a conditional categorical variable in R
If my dataframe data_2 has 3 variables A,B,C I want to create variable D which would be something like :
data_2$D <- ifelse(data_2$A < data_2$B & promotion_ind =="N",1,0),
this throws up an error "In Ops.factor(data_2$A,data_2$B) :
< not meaningful for factors
I have tried converting the
2012 Apr 24
1
Splitting data into test and train (80:20) kepping attributes similar
Hi,
I am trying to do some predictive modeling around attrition and want to split the dataset into test and train (80:20) and keep the ratio of attritees:non attrites same.
In my dataset the attrition indicator is coded as 0(for non-attritees) and 1 (for attritees) and I want to keep the ratio of 0's to 1 similar.
I apologize for this trivial question but this is my second week with R.
2009 Aug 21
1
ROC curve and gains/lift chart
What is the difference between ROC curve and gains/lift chart?
how to do them in R?
Thanks.
--
View this message in context: http://www.nabble.com/ROC-curve-and-gains-lift-chart-tp25083979p25083979.html
Sent from the R help mailing list archive at Nabble.com.
2012 Jun 14
0
Increase the word list in the sentiment analysis
Hi,
I'am using the sentient analysis available in "R2.15".
Now the challenge that I'am facing is that the Naïve Baye's has an inbuilt list of 6500 words in which it has been trained.
So my question that can I increase the number of words on which this algorithm is trained?
In case i can increase the list can someone tell me the procedure?
Regards
Nalin
American Express
2012 Jun 18
0
Rule Based Text Classification
Hi,
Is there any package in R which can help me do rule based text mining.
-Nalin
American Express made the following annotations on Mon Jun 18 2012 00:27:17
******************************************************************************
"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the
2017 Jun 21
2
[PATCH 01/11] drm/fb-helper: do a generic fb_setcmap helper in terms of crtc .gamma_set
On 21/06/17 04:38 PM, Daniel Vetter wrote:
> On Tue, Jun 20, 2017 at 09:25:25PM +0200, Peter Rosin wrote:
>> This makes the redundant fb helpers .load_lut, .gamma_set and .gamma_get
>> totally obsolete.
>>
>> I think the gamma_store can end up invalid on error. But the way I read
>> it, that can happen in drm_mode_gamma_set_ioctl as well, so why should
>>
2004 Aug 11
0
NT domain and valid user problem
Hello everybody,
I met a problem when I configure the samba for our company. The case is,
1. We have to use Windows Domain to authenticate the user.
2. Only a few domain users can access the samba server.
2. We wanna all the allowed domain users are mapped to 1 unix userid:
checkpoint.
The Window Domain auth is working perfect. And if we created the unix id
same as the domain users,
2017 Jun 21
0
[PATCH 01/11] drm/fb-helper: do a generic fb_setcmap helper in terms of crtc .gamma_set
On Wed, Jun 21, 2017 at 04:59:31PM +0900, Michel Dänzer wrote:
> On 21/06/17 04:38 PM, Daniel Vetter wrote:
> > On Tue, Jun 20, 2017 at 09:25:25PM +0200, Peter Rosin wrote:
> >> This makes the redundant fb helpers .load_lut, .gamma_set and .gamma_get
> >> totally obsolete.
> >>
> >> I think the gamma_store can end up invalid on error. But the way I read
2017 Jun 21
0
[PATCH 01/11] drm/fb-helper: do a generic fb_setcmap helper in terms of crtc .gamma_set
On Tue, Jun 20, 2017 at 09:25:25PM +0200, Peter Rosin wrote:
> This makes the redundant fb helpers .load_lut, .gamma_set and .gamma_get
> totally obsolete.
>
> I think the gamma_store can end up invalid on error. But the way I read
> it, that can happen in drm_mode_gamma_set_ioctl as well, so why should
> this pesky legacy fbdev stuff be any better?
>
>
2010 Jan 16
2
predict.glm
Hi,
See below I reply your message for <https://stat.ethz.ch/pipermail/r-help/2008-April/160966.html>[R] predict.glm & newdata posted on Fri Apr 4 21:02:24 CEST 2008
You say it ##works fine but it does not: if you look at the length of yhat2, you will find 100 and not 200 as expected. In fact predict(reg1, data=x2) gives the same results as predict(reg1).
So I am still looking for
2019 Jun 03
3
Difficulty with samba after updating from 3.6.6 to 4.9.0.0
Server - HPUX 11.31
Clients - WIN7 WIN10
After upgrading my versions to 4.9.0.0 I've noticed that we're unable to connect to our AD joined SMB HP-UX Server any longer.
Could someone tell me where to begin digging in release notes between 3.6.6-4.9.0.0 to find out what changed in the smb.conf file that would be causing our problems?
Here's a somewhat similar .conf output
global]
2006 Feb 07
0
second table column data lift
have placements, clients and case_managers tables with relationships
Trying to create new placement record...case_manager_id field exists in
clients table. I need the value from related clients record in
placements table
in placements_controller.rb
def create
@placement = Placment.new(params[:placement])
case_manager_id = Client.case_manager_id # this doesn''t work
if
2002 Jul 17
0
A function to create "lift charts"
Hi,
A commonly used set of graphical techniques to compare the predictive
capabilities of different potential models in the data mining area are known
as "lift charts". I was wondering if any one has written such a function in
R, and if they had, could they let me have a peak at their code.
Dan Putler
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2018 Mar 18
1
`free` counterpart to `alloca`, or way to lift to function home
I'm unintentionally allocating too much space on the stack by using
`alloca` inside a loop.
To fix this I will do my `alloca` outside of the loop itself. I'm
wondering if there is a way for this to be automatically done: given
alloca a function scope, rather than loop scope.
I'm curious also, since this actually allocates each time in the loop,
is there a way to say the stack
2009 Mar 12
1
Cross-validation -> lift curve
Hi all,
I'd like to do cross-validation on lm and get the resulting lift curve/table
(or, alternatively, the estimates on 100% of my data with which I can get
lift).
If such a thing doesn't exist, could it be derived using cv.lm, or would we
need to start from scratch?
Thanks!
--
Eric Siegel, Ph.D.
President
Prediction Impact, Inc.
Predictive Analytics World Conference
More info:
2019 Jun 13
2
[PATCH 09/22] memremap: lift the devmap_enable manipulation into devm_memremap_pages
On Thu, Jun 13, 2019 at 11:43:12AM +0200, Christoph Hellwig wrote:
> Just check if there is a ->page_free operation set and take care of the
> static key enable, as well as the put using device managed resources.
> diff --git a/mm/hmm.c b/mm/hmm.c
> index c76a1b5defda..6dc769feb2e1 100644
> +++ b/mm/hmm.c
> @@ -1378,8 +1378,6 @@ struct hmm_devmem *hmm_devmem_add(const struct
2007 Feb 12
0
[PATCH] lift physical address restriction in svae/restore code
Bump this to 44 bits for x86-32 and 52 bits for x86-64.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Index: 2007-02-07/tools/libxc/xc_linux_restore.c
===================================================================
--- 2007-02-07.orig/tools/libxc/xc_linux_restore.c 2007-01-17 11:16:20.000000000 +0100
+++ 2007-02-07/tools/libxc/xc_linux_restore.c 2007-02-12 09:06:05.000000000 +0100
2015 May 29
1
[PATCH] inspection: lift size limit for RHEL icons
In RHEL-based distros, the provided icons have (obviously) different
sizes than the RHEL ones, used in icon_rhel as reference.
Since 100K should be a reasonable threshold for avoid keeping a
per-distro list of limits, just use it as only size limit.
---
src/inspect-icon.c | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/src/inspect-icon.c b/src/inspect-icon.c
index