Displaying 20 results from an estimated 3000 matches similar to: "jagged array (matrices of different dimensions)"
2017 Jun 26
3
Jagged ROC curves?
Hi,
I was trying to draw some ROC curves (prediction of case/control status),
but seem to be getting a somewhat jagged plot. Can I do something that
would 'smooth' it somewhat? Most roc curves seem to have many incremental
changes (in x and y directions), but my plot only has 4 or 5 steps even
though there are 22 data points. Should I be doing something differently?
How can I provide a
2017 Jun 26
0
Jagged ROC curves?
> On Jun 26, 2017, at 11:40 AM, Brian Smith <bsmith030465 at gmail.com> wrote:
>
> Hi,
>
> I was trying to draw some ROC curves (prediction of case/control status),
> but seem to be getting a somewhat jagged plot. Can I do something that
> would 'smooth' it somewhat? Most roc curves seem to have many incremental
> changes (in x and y directions), but my plot
2010 Oct 30
2
Jagged Alliance 2 crashes within first seconds running
Hi everybody,
I'm running wine 1.3.5 on ubuntu 10.04.
I can play WoW, SC2 and WC3, but Jagged Alliance 2 crashes all the time.
It's just this error message:
> err:seh:setup_exception_record nested exception on signal stack in thread 0009 eip 7bc72bb0 esp 7ffdbc7c stack 0x232000-0x330000
>
It also says this at startup:
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change
2017 Jun 26
0
Jagged ROC curves?
Hi Brian,
Your underlying dataset for the ROC curve only has 4 unique values for specificity, even though there are 23 elements in the vector, hence the step function nature of the first plot.
The default smoothing in the smooth() function is "binormal". You might try one of the other smoothing options to see the result and whether they make visual sense.
In the absence of smoothing,
2012 Mar 14
2
Creating polygons from scattered points
Hello,
I have a distribution dataset for species consisting of xy coordinates at
the 1km resolution, with only presence data. So a simplified example of a
species distribution might be:
y <- rbind(as.integer(rnorm(100,50,20)), as.integer(rnorm(200,100,30)),
as.integer(rnorm(100,180,15)))
x <- rbind(as.integer(rnorm(200,50,20)), as.integer(rnorm(200,100,20)),
as.integer(rnorm(100,200,15)))
2003 Aug 13
1
The desire for prettier and cheaper images ...
This might be easy (but I didn't find an answer in the archives).
I'm trying to make nice looking images (using image()).
To make them look nice (not jagged), it usually takes me at least 100x100 points. This can be slow for frequent redraws.
Is there a smarter (less point intensive) way?
I was thinking in terms of hexabins, for example, which for much less jagged looking regions,
2006 Jun 07
3
smoothing plot(x, type ='l')
Hi All,
I am using plot(x, type = 'l') for some plotting, but I would like rounded edges
rather than jagged edges in the plot (purely for aestetic reasons).
How could I achieve that?
Cheers,
Federico
--
Federico C. F. Calboli
Department of Epidemiology and Public Health
Imperial College, St Mary's Campus
Norfolk Place, London W2 1PG
Tel +44 (0)20 7594 1602 Fax (+44) 020
2012 Aug 16
5
[PATCH] AMD, powernow: Update P-state directly when _PSD's CoordType is DOMAIN_COORD_TYPE_HW_ALL
# HG changeset patch
# User Boris Ostrovsky <boris.ostrovsky@amd.com>
# Date 1345135101 -7200
# Node ID 85190245a94d9945b7656c971ba36f7d1eff5c19
# Parent 6d56e31fe1e1dc793379d662a36ff1731760eb0c
AMD, powernow: Update P-state directly when _PSD''s CoordType is DOMAIN_COORD_TYPE_HW_ALL
When _PSD''s CoordType is DOMAIN_COORD_TYPE_HW_ALL (i.e. shared_type is
2011 Jul 29
2
'breackpoints' (package 'strucchange'): 2 blocking error messages when using for multiple regression model testing
Good morning to all,
I am encountering a blocking issue when using the function 'breackpoints'
from package 'strucchange'.
*Context:*
I use a data frame, 248 observations of 5 variables, no NA.
I compute a linear model, as y~x1+...+x4
x4 is a dummy variable (0 or 1).
I want to check this model for structural changes.
*Process & issues:*
*First, I used function Fstats.* It
2007 Jul 31
5
Plotting a smooth curve from predict
Probably a very simple query:
When I try to plot a curve from a fitted polynomial, it comes out rather
jagged, not smooth like fitted curves in other stats software. Is there
a way of getting a smooth curve in R?
What I'm doing at the moment (for the sake of example) is:
> x <- c(1,2,3,4,5,6,7,8,9,10)
> y <- c(10,9,8,7,6,6.5,7,8,9,10)
> b <- data.frame(cbind(x,y))
>
2009 Feb 10
3
[PATCH 2/2] Use correct config option for ixgbe VMDq
The correct kernel configuration for VMDq support is
CONFIG_XEN_NETDEV2_VMQ, not CONFIG_XEN_NETDEV2_BACKEND.
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
diff -urpN a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h
--- a/drivers/net/ixgbe/ixgbe.h 2009-02-06 09:03:44.000000000 -0800
+++ b/drivers/net/ixgbe/ixgbe.h 2009-02-10 14:32:57.000000000 -0800
@@ -35,7 +35,7 @@
2010 Sep 15
3
Creating publication-quality plots for use in Microsoft Word
Hi everyone,
I am trying to make some publication-quality plots for use in Microsoft
Word, but I am having trouble creating high-quality plots that are supported
by Microsoft Word.
If I use the R plot function to create the figure, the lines are jagged, and
the picture is not of high quality (same with JPEG(), TIFF(), and PNG()
functions). I have tried using the Cairo package, but it distorts
2006 Dec 04
2
slow tint when tinting the whole screen
Hi,
I'm running ubuntu edgy with compiz, switched from gentoo to ubuntu
for faster updates (emerge is way slow with source builds..). So far, I
like it.
but that is not the issue I'm addressing now. I've noted that with
both these machines, when I'm doing something that tints the whole
screen to gray (like trying to logout, or using some software that
prompts for sudo
2009 Apr 04
2
Help using smooth.spline with zoo object
Can someone please show me how to smooth time series data that I have in the form of a zoo object?
I have a monthly economies series and all I really need is to see a less jagged line when I plot it.
If I do something like
s <- smooth.spline(d.zoo$Y, spar = 0.2)
plot(predict(s,index(d.zoo)), xlab = "Year")
# not defined for Date objects
and if I do something like
2011 Jan 31
2
[LLVMdev] llvm::Pass::Pass(llvm::PassKind, intptr_t): Assertion `pid && "pid cannot be 0"' failed.
I have written a new pass, it compiles ok but crashes when i run it
with error (llvm::Pass::Pass(llvm::PassKind, intptr_t): Assertion `pid
&& "pid cannot be 0"' failed.).
The pass is :
using namespace llvm;
namespace
{
struct Dfl : public FunctionPass {
static char ID;
Dfl() : FunctionPass(ID) { }
virtual bool runOnFunction(Function &F) {
bool
2012 Mar 19
1
fitting a histogram to a Gaussian curve
Hello,
I am trying to fit my histogram to a smooth Gaussian curve(the data
closely resembles one except a few bars).
This is my code :
#!/usr/bin/Rscript
out_file = "irc_20M_opencl_test.png"
png(out_file)
scan("my.csv") -> myvals
hist(myvals, breaks = 50, main = "My Distribution",xlab = "My Values")
pdens <- density(myvals, na.rm=T)
plot(pdens,
2013 Aug 27
2
[PATCH] AMD IOMMU: add missing checks
For one we shouldn''t accept IVHD tables specifying IO-APIC IDs beyond
the limit we support (MAX_IO_APICS, currently 128).
And then we shouldn''t memset() a pointer allocation of which failed.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
--- a/xen/drivers/passthrough/amd/iommu_acpi.c
+++ b/xen/drivers/passthrough/amd/iommu_acpi.c
@@ -674,6 +674,13 @@ static u16 __init
2011 Jan 31
2
[LLVMdev] Error : llvm/include/llvm/Pass.h:188: error: incomplete type 'llvm::DominatorTree' used in nested name specifier
I am creating a new pass (function pass) called Dfl from the Hello
example and notes on "Writing an LLVM Pass". When I compile the
program I get inncomplete type error (llvm/include/llvm/Pass.h:188:
error: incomplete type 'llvm::DominatorTree' used in nested name
specifier). The code is given below.
Surinder
struct Dfl : public FunctionPass {
raw_ostream *Out;
static
2018 May 03
1
[PATCH] daemon: fix memory allocation and leaks in OCaml stubs
Use the cleanup handlers to free the structs (and list of structs) in
case their OCaml->C transformation fails for any reason; use calloc()
to not try to use uninitialized memory.
In case of lists, avoid allocating the memory for the array if there
are no elements, since the returned pointer in that case is either NULL,
or a free()-only pointer; also, set the list size only after the array
is
1999 Jan 18
1
Program advice
Hi
Starting to use R as a serious tool, I have come across a programming
problem that I can't see the answer too yet. Can someone advise me plese.
The problem is that I want to plot a series of lines which represent short
term growths. All the data is in a single vector and I can indicate
the index via a second vector. In GLIM, if the second vector is a factor,
a single $GRA Size Year