Displaying 20 results from an estimated 100 matches similar to: "Cross validation, one more time (hopefully the last)"
2005 Mar 18
2
logistic model cross validation resolved
This post is NOT a question, but an answer. For readers please disregard all earlier posts by myself about this question.
I'm posting for two reasons. First to say thanks, especially to Dimitris, for suggesting the use of errorest in the ipred library. Second, so that the solution to this problem is in the archives in case it gets asked again.
If one wants to run a k-fold cross-validation
2012 Sep 20
1
Gummy Variable : Doubt
Hi,
I have a system in which I analyze 2 subjects and 1 variable, so I have
2 models as follow:
y ~ x_1[, 1] + x_2[, 1] + x_1[, 2] + x_2[, 2]
Where
x_1[, i] = cos(2 * pi * t / T_i)
x_2[, i] = sin(2 * pi * t / T_i)
i = 1, 2
Data have two columns: t and y.
As you can see, I have a multiple components model, with rithm and
without trends, and I have a fundamental
2006 Mar 23
2
invalid variable type in model.frame within a function
Dear expeRts,
I came across the following error in using model.frame:
# make a data.frame
jet=data.frame(y=rnorm(10),x1=rnorm(10),x2=rnorm(10),rvar=rnorm(10))
# spec of formula
mf1=y~x1+x2
# make the model.frame
mf=model.frame(formula=mf1,data=jet,weights=rvar)
Which gives the desired output:
> mf
y x1 x2 (weights)
1 0.8041254 0.1815366 0.4999551 1.4957814
2
2008 Dec 06
0
Inversing a non-monotonic spline
I have developed a GAM model in order to predict Y using 4 X variables. 2 of these X's are factors, and 1 is a spline.
Part of the data looks like:
Days WRM variety PWM O_EC
31 75 1 90 234
31 79 1 78 283
31 82 1 92 281
31 84 1 96 213
31 99 2 69 247
31 100 2 77 324
31 104 2 74 259
31 118 2 81 282
31 61 3 58 478
31 98 3 83 429
31 98 3 70 379
31 156 3 87 467
31 78 4 56 283
31 97 4 67 282
31
2007 Dec 10
1
Driver: apcsmart, SMART-UPS 2200, battery.runtime status information?
Hello,
We have a APC SMART-UPS 2200 which gives the following status
information:
battery.alarm.threshold: 0
battery.charge: 089.0
battery.charge.restart: 00
battery.date: 01/10/04
battery.packs: 000
battery.runtime: 21180
battery.runtime.low: 120
battery.voltage: 52.95
battery.voltage.nominal: 048
driver.name: apcsmart
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ttyS0
2003 Aug 04
1
coxph and frailty
Hi:
I have a few clarification questions about the elements returned by
the coxph function used in conjuction with a frailty term.
I create the following group variable:
group <- NULL
group[id<50] <- 1
group[id>=50 & id<100] <- 2
group[id>=100 & id<150] <- 3
group[id>=150 & id<200] <- 4
group[id>=200 & id<250] <- 5
group[id>=250
2014 Aug 11
5
issue when building/making package from git
I am trying to build/install libguestfs from git. My box is Archlinux,
GCC 4.9.1 and all dev tools installed.
If I manually
$ gitclone gitUrl
$ cd libguestfs
$ ./autogen.sh
$ ./configure --someOptions
the build goes until the end and leaves me with binaries.
------------------------------
---
Now I want to install it properly on my machine. Arch use a makepkg
[1] command to build and install
2015 Aug 12
3
[LLVMdev] Improving the quality of debug locations / DbgValueHistoryCalculator
Hi all,
An early implementation of extending debug ranges and providing multiple
location support is done here: http://reviews.llvm.org/D11933
Design document:
https://docs.google.com/document/d/1noDVWTvTWBdYdweICPBwvwyt8QvX4KHl7j3XKNSg1nE/edit?usp=sharing
On Jun 24, 2015, at 12:12 PM, Alexey Samsonov <vonosmas at gmail.com> wrote:
Hi Adrian,
You might want to take a look at abandoned
2015 Jun 23
4
[LLVMdev] Improving the quality of debug locations / DbgValueHistoryCalculator
Here is a proposal for improving DbgValueHistoryCalculator and the
overall quality of debug locations.
Focus: This is about lowering the DBG_VALUE machine instructions to
DWARF location lists.
Non-focus: This is not about (typical -O0) variables that permanently
reside at a frame index and are described with dbg.declare intrinsics
in the IR. These variables are stored in the MMI side-table and
2002 Jul 19
1
read.table bug (PR#1809)
Full_Name: Michael McStephen
Version: 1.5.1
OS: Win2000
Submission from: (NULL) (203.25.148.63)
When using read.table to read a data file section by section, I get an error
that indicates R is attempting to read more "fields" than exist.
The Data file looks like this:
---Start of file tmp.txt-----------
Response Types = TPos TNeg FPos FNeg Anti Post MaxO
Test ID,Username,Start
2020 Sep 25
0
Re: Help on Meson build Error
On Fri, Sep 25, 2020 at 4:54 PM Daniel P. Berrangé <berrange@redhat.com>
wrote:
>
> > Yes, I tried, but it fails with
> > ../src/util/virfile.c:42:11: fatal error: libutil.h: No such file or
> > directory
>
> You'd have to delete the build dir and re-run meson so that it
> auto-detects again.
>
>
OK, that issue seems gone, but ninja reports lots of
2005 Sep 30
2
Reg. FLAC decoding
I'm using seekable_stream_decoder, And., this is my write_callback. I'm
not getting the required output. The PCM i get is not the proper music.
Am I doing something wrong here?
FLAC__StreamDecoderWriteStatus
AFLACStreamPlayer::StreamWriteCb (
const FLAC__SeekableStreamDecoder *decoder,
const FLAC__Frame *frame,
const FLAC__int32 * const buffer[],
void *client_data)
{
int Channels,
2002 Nov 08
0
Polar plot, circular plot (angular data): II
Dear R-users,
As noted by Paul Murrell < p.murrell at auckland.ac.nz > there is errors in the code for polar plotting I send to R-help under the title "Polar plot, circular plot (angular data)" at Thu Oct 17 2002 - 12:18:20 CEST.
Thanks!
I have reorganized the code into a structure ('pp'). This allows plots to be modified to a greater extent by passing arguments by ...
2000 Jun 28
1
[Patch] Shorter patch for smbfs 2.2.16
Am 27.06.2000 19:58:44 schrieb urban:
> On Tue, 27 Jun 2000 klaus-georg.adams@rwg.de wrote:
>
> >
> > Hi Andrew,
> > your patch from 2.2.15 to 2.2.16, backing out the older protocol levels
breaks
> > reading from an OS/2 LAN Server.
> > The appended patch fixes things for me (against 2.2.16).
>
> This backs out a lot of desired changes. For example I think
2006 Nov 21
0
[LLVMdev] libstdc++ as bytecode, again
Okay, let's try this again. I've taken all the source and header files
needed to build libstdc++ and libsupc++, and put together a small and
very simple Makefile that automates the process.
Anyone interested can grab the whole thing from here:
http://goanna.cs.rmit.edu.au/~emil/dietstdcxx.1.tar.bz2 (101KB)
Usage instructions:
1) Run GNU make:
$ gmake
This will produce dietstdcxx.bc
2006 Apr 06
4
Reshaping genetic data from long to wide
Bottom Line Up Front: How does one reshape genetic data from long to wide?
I currently have a lot of data. About 180 individuals (some
probands/patients, some parents, rare siblings) and SNP data from 6000 loci
on each. The standard formats seem to be something along the lines of Famid,
pid, fatid, motid, affected, sex, locus1Allele1, locus1Allele2,
locus2Allele1, locus2Allele2, etc
In other
2005 May 12
0
Using string from stdlib in winemaker
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
How can I use std::string in my winemaker project?
If I do a #include <string> along with an #include <windows.h>, I get
the following errors:
- ---
In file included from /usr/include/c++/3.3/i486-linux/bits/c++io.h:35,
from /usr/include/c++/3.3/bits/fpos.h:44,
from
2005 May 19
1
problems with truncate() with files > 2Gb under Windows (possibly (PR#7879)
This message relates to handling files > 2Gb under Windows. (I use 2Gb
as shorthand for 2^31-1 -- the largest integer representable in a signed
32 bit integer.)
First issue: truncate() is not able to successfully truncate files at a
position > 2Gb. This appears to be due to the use of the Windows
function chsize() in file_truncate() in main/connections.c (chsize()
takes a long int
2013 Apr 12
0
Wine release 1.5.28
The Wine development release 1.5.28 is now available.
What's new in this release (see below for details):
- GnuTLS used for all secure connections, OpenSSL is no longer needed.
- Mac driver enabled by default.
- Built-in FixedSys fonts.
- New icon for the joystick control panel.
- Postscript driver improvements.
- Various bug fixes.
The source is available from the following
2020 Sep 25
0
Wine release 5.18
The Wine development release 5.18 is now available.
What's new in this release (see below for details):
- Vulkan shader compilation using the new vkd3d-shader library.
- USER32 library converted to PE.
- Console no longer requires the curses library.
- Support for display modes with various orientations.
- A number of syntax fixes in the WIDL compiler.
- Non-recursive makefiles.