similar to: partitioning data [SEC=UNCLASSIFIED]

Displaying 20 results from an estimated 10000 matches similar to: "partitioning data [SEC=UNCLASSIFIED]"

2007 Oct 15
0
partitioning data
I am trying to train on part of my data and test on another part: > glm.model = glm(as.factor(h_finished) ~ . , family=binomial, data=form[1:150000,]) > pred = predict(glm.model, data=form[150001:200000,-1], type="response") > t = table(pred, form[150001:200000,1]) Error in table(pred, form[150001:2e+05, 1]) : all arguments must have the same length but try as I might
2007 Sep 20
1
Identify and plotting symbols. [SEC=UNCLASSIFIED]
Rolf turner wrote: >I have been trying, unsuccessfully, to use identify() to (simply) >return a list of the indices of points clicked on and overplot (with >say a solid dot) each clicked-on point so that I can see where I've >been. I.e. I don't want to see the indices printed on the screen; I just want the points I've already selected to be highlighted. > >I
2007 Dec 21
1
using apply to loop [SEC=UNCLASSIFIED]
Hi Louis, You could try this: # find the index of the maximum value in each row of _data_, # disregarding the last column classified <- apply(data[,-(nclass+1)],1,which.max) ## or, if the maximum may be repeated: classified <- apply(data[,-(nclass+1)], 1, FUN = function(x) which(x == max(x))) # the variable _truth_ is just the last column of _data_ ? truth <- data[,nclass + 1] ?table
2007 Oct 07
0
Break [SEC=UNCLASSIFIED]
Hi, You can exit out of the 'identify()' routine by either: right-click > 'stop' Or click on 'stop > stop locator' in the top-left of the plot window. The script should continue with line1, line2 etc. Cheers Joe Joe Crombie Information and Risk Sciences Bureau of Rural Science Canberra Australia p: +61 2 6272 5906 e: joe.crombie at brs.gov.au
2007 Nov 30
0
vector sprintf argument [SEC=UNCLASSIFIED]
Hi Tom, Try this: > G <- "Number: %s" > sprintf(G, toString(A)) [1] "Number: 3, 4, 5" Cheers Joe Joe Crombie Biosecurity and Information Sciences Bureau of Rural Science Canberra Australia p: +61 2 6272 5906 e: joe.crombie at brs.gov.au -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of
2007 Sep 21
0
Time series graphs, question about using zoo [SEC=UNCLASSIFIED]
Hi Fang, An easy way of doing this is by: > matplot(one, pch = LETTERS[1:4], type = 'b') Cheers Joe Joe Crombie Information and Risk Sciences Bureau of Rural Science Canberra Australia p: +61 2 6272 5906 e: joe.crombie at brs.gov.au -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of fang liu Sent: Friday,
2007 Jan 22
0
[UNCLASSIFIED] predict.survreg() with frailty term and newdata
Dear All, I am attempting to make predictions based on a survreg() model with some censoring and a frailty term, as below: predict works fine on the original data, but not if I specify newdata. # a model with groups as fixed effect model1 <- survreg(Surv(y,cens)~ x1 + x2 + groups, dist = "gaussian") # and with groups as a random effect fr <- frailty(groups,
2007 Oct 02
1
problems with glm
I am having a couple of problems someone may be able to cast some light on. Question 1: I am making a logistic model but when i do this: glm.model = glm(as.factor(form$finished) ~ ., family=binomial, data=form[1:150000,]) I get this: Error in model.frame(formula, rownames, variables, varnames, extras, extranames, : variable lengths differ (found for 'barrier') which is
2007 Oct 24
0
random walk w/ reflecting boundary: avoid control construct? [SEC=UNCLASSIFIED]
Hi Johannes, I came up with the following (assuming that if step[i] is independent of step[i-1] then it is also independent of -step[i-1]): Cheers Joe > # your (unbounded) random walk > k <- cumsum(c(0,sample(c(-1,1), 1000, rep = T))) > > #shift it to positive, to allow following calculations k <- k - min(k) > # set your bound (remember min(k) is now zero) wid <- 10
2018 Mar 20
0
A new version (1.1.0) of the “spm” package for spatial predictive modelling reelased on CRAN [SEC=UNCLASSIFIED]
Dear R users, A new version (1.1.0) of the ?spm? package for spatial predictive modelling is now available on CRAN. The introductory vignette is available here: https://cran.rstudio.com/web/packages/spm/vignettes/spm.html There are several new enhancements to the package including a fast version of random forest in using ranger (rg) library(ranger) and the ability to convert relevant
2010 Feb 14
0
ads_sasl_spnego_krb5_bind failed: Program lackssupportfor encryption type [SEC=UNCLASSIFIED]
-----Original message----- From: Jeremy Allison jra at samba.org Date: Sat, 13 Feb 2010 22:09:31 -0600 To: dale at briannassaladdressing.com Subject: Re: [Samba] ads_sasl_spnego_krb5_bind failed: Program lackssupportfor encryption type [SEC=UNCLASSIFIED] > On Sat, Feb 13, 2010 at 01:35:12PM -0600, dale at briannassaladdressing.com wrote: > > Alex, > > > > I've been a
2019 May 31
0
Problem joining domain [SEC=UNCLASSIFIED]
On Fri, 2019-05-31 at 06:21 +0000, Thamm, Russell via samba wrote: > UNCLASSIFIED > > Hi Andrew and Roland, > > I originally installed samba-4.1.7 on CentOS 6.5. I successfully joined the domain. I intended to take over from the 2003 server but because the domain was being heavily used, I delayed seizing the roles. > > Now I really, really want to replace the 2003 server.
2008 Oct 02
1
matrix with different type of column [SEC=UNCLASSIFIED]
Hi, I would like to create a matrix. Say 5*4. The first column is integer, the second column is date, the third column is character and the rest columns are integers. So it's a combination of different types. I am wondering how can I do that? "matrix" command only allow one type. ********************************************************************************* This e-mail message
2005 Aug 02
0
SEC: UNCLASSIFIED:-Could not convert sid to gid
I'm using a Proliant GL-380 server running Red Had Linux ES 4 (2.6.9-5.0.3.ELSMP) and Samba 3.0.10-1.4E. The server is acting as a Domain Member Server of an ADS Windows 2003 server. The problem I haveI been having is with some groups not being "migrated" to the Linux environment, or more specifically converting the group SIDs to GIDs. The problem can be summarised as follows: *
2017 Aug 30
0
FW: Predictive accuracy measures in a recently released R package, spm: Spatial Predictive Modelling [SEC=UNCLASSIFIED]
Hi All, Just thought you might be interested in a recently released R package, spm: Spatial Predictive Modelling. It aims to introduce some novel, accurate, hybrid geostatistical and machine learning methods for spatial predictive modelling. Of 22 functions available in spm, two functions are for accuracy assessment. Perhaps they are not only useful tools for spatial predictive modelling
2003 Aug 08
0
SEC: UNCLASSIFIED:- 10 VLANS, 10 Master browsers, 1 PC
I have the following problem, and I would l like to know if Samba can help. (I suspect that it cannot, but feel free to prove me wrong.) My scenario is this: My site is just one of many, with the `Domain Master Browser` being off-site. My site has 10 VLANS, and in the current, purely Windows environment I have assorted problems with the browser list being maintained across all 10 VLANS. I would
2007 Jun 23
0
[Rpy] error in building rpy in linux power-pc[sec=unclassified]
Hello Mohar, This question is outside of the RPy scope. It looks like the type of question that should be posed to the R-devel mailing list: R-devel@stat.math.ethz.ch -Greg On Jun 20, 2007, at 8:25PM , Mohar Chattopadhyay wrote: > Dear all, > > I have encountered errors in compiling R-2.5.0 and R-2.4.0 in a > linux machine (power-pc). I can successfully build it from the
2010 Oct 13
1
Wierd nlm behaviour in 2.10.1 and 2.12.0 [Sec=Unclassified]
Hi all, When upgrading to 2.11.1 recently I noticed different results being produced by my code. After much digging I have finally narrowed it to a call to nlm(). This can be replicated by: FixedRemovals<-1836180125888 AbStageInitial<-2223033830403 Rates<- 0.3102445 nlm(function(rootM,Abund,Loss,OtherM) {(Loss-(rootM/(rootM+OtherM)* (1-exp(-(rootM+OtherM)))*
2007 Sep 12
1
install R packages [SEC=UNCLASSIFIED]
Hi All, I installed R 2.5.1 recently on a PC (Windows XP Professional 2001) and tried to install some R packages. It took several minutes and gave me the following message. > utils:::menuInstallPkgs() --- Please select a CRAN mirror for use in this session --- Error in open.connection(file, "r") : unable to open connection In addition: Warning message: unable to connect to
2008 Mar 04
0
simulation study using R [SEC=UNCLASSIFIED]
Davood, I developed an MC simulation model for wind hazard analysis last year. I found three important issues to increase efficiency: 1) Reuse most variables in each loop 2) Write results (1000 stats) to external files, perhaps one file for each condition. (a good ID for each file can be implemented using "paste") 3) Develop a function to process the results stored in the external