Displaying 20 results from an estimated 8751 matches for "segmentation".
2009 Oct 08
6
Eager Loading a Relationship That Has No PK/FK
I''m attempting to wrestle an old DB into Rails.
This relationship is giving me trouble:
class Show < AR::Base
has_many :segments
end
class Segment < AR::Base
belongs_to :show
has_one :media #this has no PK/FK relation
end
A Segment is "linked" to Media by Media.name, which is the result of
concatenating Segment.name and Segment.part. As I said there are is no
2008 Apr 10
1
Types in grouped multi-panel (lattice) xyplot
Apologetic prologue: I've looked through the mailing list for an answer to
this (since I'm sure it's trivial) but I have not been able to find a fix.
So the problem is that I want each group to have a different type of plot.
"Probes" should be points and "Segments" should be lines (preferably using
the segment plot command, but I've just been trying --
2007 Apr 18
0
[PATCH 1/21] i386 Pnp segments in segment h
Move PnP BIOS segment definitions into segment.h; the segments are reserved
here, so they might as well be defined here as well.
Note I didn't do this for APM BIOS, as Macintosh and other systems use those
values to emulate APM in some scary way I don't want to understand.
Signed-off-by: Zachary Amsden <zach@vmware.com>
Index: linux-2.6.14-zach-work/include/asm-i386/segment.h
2007 Apr 18
0
[PATCH 1/21] i386 Pnp segments in segment h
Move PnP BIOS segment definitions into segment.h; the segments are reserved
here, so they might as well be defined here as well.
Note I didn't do this for APM BIOS, as Macintosh and other systems use those
values to emulate APM in some scary way I don't want to understand.
Signed-off-by: Zachary Amsden <zach@vmware.com>
Index: linux-2.6.14-zach-work/include/asm-i386/segment.h
2008 Jul 20
4
drawing segments through points with pch=1
Please excuse me for asking such basic questions:
Here is my code
> y=c(1.21,0.51,0.14,1.62,-0.8,0.72,-1.71,0.84,0.02,-0.12)
> ybar=mean(y)
> ll=length(y);
> ybarv=rep(ybar,ll)
> x=1:ll
> plot(x,ybarv,pch=1)
> segments(x[1],ybar,x[ll],ybar)
What I get is a collection of small circles, with a segment "on top"
of the circles, which is almost what I want. But I
2010 May 20
3
lines on plot
Is there an easier way to make this graph *without* having to specify all of
the separate segment arguments at the end?
> x <- c(1,2)
> off <- c(4,5.5)
> def <- c(5.5,5.9)
> par(fg="lightblue4")
>
plot(x,off,type="o",col="dodgerblue4",ylim=c(2,7),xlim=c(0.7,2.3),axes=F,xlab="Labor
Condition",ylab="Willingness to
2007 Aug 08
1
Help using gPath
Hi everyone,I'm trying to figure out how to use gPath and the documentation
is not very helpful :(
I have the following plot object:
plot-surrounds::
background
plot.gTree.378::
background
guide.gTree.355:: (background.rect.345, minor-horizontal.segments.347,
minor-vertical.segments.349, major-horizontal.segments.351,
major-vertical.segments.353)
guide.gTree.356::
2014 Jul 01
0
The dreaded Tripp Lite SMART500RT1U and NUT
On Tue, Jul 1, 2014 at 9:17 AM, Steve Ballantyne
<steve.ballantyne at gmail.com> wrote:
> How would I go about providing you this stuff? Can you point me to
> something that would help trace out the USB data?
I thought I would try to make sense of the ups.debug data. All I have
really figured out is that the fourth hex segment for S is a 00 for
plugged in and a 01 for on-battery.
2007 Feb 27
3
acts_as_ferret rebuilding issue with ferret 0.11.0
Hi,
There is a problem with the way that acts_as_ferret verifies the index
is valid. In ensure_index_exists it looks for a file named ''segments''.
With the 0.11.0 release of ferret there is no file with this name. On my
dummy application I have a ''segments.gen'' and ''segments_2y''.
Changing the test to segments.gen fixes the problem that the
2017 Jun 25
3
vertical semi-circles in R
Dear useRs,
I am to teach my students some drawing techniques in R. I started shape of an handle by using the following codes;
>plot(0,0,col="white")
>segments(0,0,0.3,0.3)
>segments(0.3,0.4,0.3,0.3)
>segments(0.3,0.4,0,0.7)
>segments(0,0.7,0,0.6)
>segments(0,0.0,0,0.1)
The coding will draw a section of a handle. Now I want to draw semi circles of radius 0.05
2009 Sep 06
2
smbd uses 10 to 15% CPU w/Vista client
For quite awhile I've noticed that smbd uses 10-15% of my CPU (Pentium
4) when nothing visible is going on. I have a couple of laptops on my
home network, and some experiments showing that powering on the Vista
laptop (other is OSX) is sufficient to raise useage from 0 to 10-15%.
The screen is locked, although 2 user accounts are logged in. Wireshark
seems to show a lot of chatter,
2001 Jul 23
2
hang-up with log="x" and segments (PR#1030)
I experienced the following problem with R 1.3.0 which is probably a
bug. The program hangs-up if 1.) a coordinate of segments is outside the
ploting region and 2.) the option log="x" is used.
##
## works fine
##
plot(1,1, xlim=c(0.5, 2), ylim=c(0.5, 2))
segments(0.5 , 1.2, 1, 0.6)
segments(0.25, 1.2, 1, 0.6)
segments(1 , 1.2, 1, 0.6)
##
## hang-up
##
plot(1,1, xlim=c(0.5, 2),
2008 Apr 16
1
segments() with zero-length arguments (PR#11192)
Uwe Ligges suggested I post this on R-bugs as a wishlist item with a
proposed patch. R considers zero-length arguments to segments() to be
an error. I would like R to allow this and to return without an
error. It occurs naturally in settings like
valid <- c(FALSE, FALSE, FALSE)
segments(x0[valid], y0[valid], x1[valid], y1[valid])
For what it may be worth, S-Plus does not consider
2007 Apr 18
3
[PATCH 1 of 1] x86_64: Put .note.* sections into a PT_NOTE segment in vmlinux
This patch updates x86_64 linker script to pack any .note.* sections
into a PT_NOTE segment in the output file.
To do this, we tell ld that we need a PT_NOTE segment. This requires
us to start explicitly mapping sections to segments, so we also need
to explicitly create PT_LOAD segments for text and data, and map the
sections to them appropriately. Fortunately, each section will
default to its
2013 Jan 10
2
transparency in segments()
Dear all,
i would like to plot each value from my datasets as segment with defined
transparency
However, I didnt find out how to set the transparency.
definition by "col=" in par() or segments() doesnt seem to work
any suggestions?
Thanks in advance.
Kind regards,
Robert Pazur
example code:
xx2 <-read.table("http://www.scandinavia.sk/data/R/0_05.csv", sep=";",
2013 Apr 08
2
Does ogg segments include more than one Vorbis frame
Hi, Guys:
Does anybody know is it allowed for the OGG segment including more
than one Vorbis frame? Or should I consider about that?
I am working on OGG+Vorbis player now, but met some cases that OGG
segment includes some garbage bytes after one Vorbis frame, I want to know
whether it's safe if I just drop the left bytes after decoding one Vorbis
frame?
I read the page
2002 Dec 05
2
Problems with segments and multiple graphs
I would like to create a page of two graphs (2 rows by 1 col) and then
draw vertical lines (segments?) on both graphs from the minimum
values to the corresponding maximum value.
So I have tried
#
> y <- rnorm(3000)
> par(mfrow=c(2,1))
> plot(y,type="l")
> plot(cumsum(y),type="l")
> segments(1000,min(cumsum(y)),1000,max(cumsum(y)))
> par(mfg=c(1,1))
>
2012 Mar 01
2
Help with segmented package
Hi everyone.
I'm using segmented package to find break point in a bi-linear relationship.
In a particular case, I find 1 pointcut (so 2 slopes).
I would like to know if it is possible to retrieve information in the
segmented object that could let me to plot 1 particular segment with a
different color.
For example, in that folowing example, I would like to plot the second
segment in red.
2013 Jun 03
2
[LLVMdev] LLVM/Clang research questions
Hi Duncan,
Are the segmented stacks actually on separate memory segments? My intended
purpose for placing different datatypes on separate stacks is such that
memory accesses to one datatype won't be allowed to overflow to another
datatype.
If they aren't, in fact, on separate memory segments, are you aware of a
way to place a non-readable/-writable segment in between two other stack
2002 Sep 06
1
Compile error on Solaris Sparc
I have searched through the archives, and on google, but I was not able to
find anything on this type of error. Although the docs say Wine only
supports x86, I found some articles where people have gotten it to work.
Basically the error is:
gcc -c -I. -I. -I../../include -I../../include -g -fPIC -D__WINE__
-D_ADVAPI32_ -D_REENTRANT -I/usr/openwin/include -o advapi32.spec.o
advapi32.spec.c|head