Displaying 20 results from an estimated 20 matches for "binarization".
2012 Nov 17
2
Using cbind to combine data frames and preserve header/names
I have a dataframe that has a header like so:
class value1 value2 value3
class is a factor
the actual values in the columns value1, value2 and value3 are 0-255, I wish to binarize these using biclust.
I can do this like so:
binarize(dataframe[,-1])
this will return a dataframe, but then I lose my first column class, so I thought I could combine it like so:
dataframe <-
2012 Nov 21
6
Scaling values 0-255 -> -1 , 1 - how can this be done?
I have a dataframe in which I have values 0-255, I wish to transpose them such that:
if value > 127.5 value = 1
if value < 127.5 value = -1
I did something similar using the "binarize" function of the biclust package, this transforms my dataframe to 0 and 1 values, but I wish
to use -1 and 1 and looking for a way in R to do this.
Brian
2009 Sep 21
1
truth (karnaugh) table
Dear list,
I think I'm being dense, but I can't get combn or expand.grid to give
me this result. I need to generate a matrix of all 16 possible
sequences of 4 boolean elements,
0000
0001
0010
0011
0100
.....
1111
(in the end I'll have to assign NA to the 0s and some value to the 1s
but let's keep it simple)
OK, I could go the following route, but I feel like reinventing the
2003 Aug 22
2
"subscript out of range" message
Hi All:
I was recently working with a dataset on arsenic poisoning. Among the
variables in the dataset, I used the following three variables to produce
crosstabulations (variable names: FOLSTAT, GENDER, ASBIN; all three were
categorical variables, FOLSTAT denoted follow up status for the subjects and
had seven levels, GENDER denoted sex (two levels: male,female), and ASBIN
denoted binarized
2009 Sep 14
2
Timezone problem
Hello people!
I'm having trouble while try to run our app in wine. The error is:
Warning: could not find DOS drive for current working directory '/home/eduardo', starting in the Windows directory.
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 15/02/2009, dlt (d/m/y): 18/10/2009
I Have Installed:
user at Desk177:~$
2008 Jul 01
1
Help in using PCR
Hi,
Currently I have a dataset of 2400*408. And I would like to apply PCR method
to study the any correlation between the tests.
My current data is in data.frame and I have formed horizontal(1-407) to be
the exact data, and (408) to be my results data(Yes and No)
I have also binarized these Yes and No to 1 and -1s.
However, when I refer to PCR manual on R, the example of yarn.pcr <-
2019 Sep 03
2
[ALTREP] What is the meaning of the return value of Is_sorted and No_NA function?
Hi,
I would like to figure out the meaning of the return value of these two
functions. Here are the default definitions I find from R source code:
static int altreal_Is_sorted_default(SEXP x) { return UNKNOWN_SORTEDNESS; }
static int altreal_No_NA_default(SEXP x) { return 0; }
I guess the macro *UNKNOWN_SORTEDNESS *in *Is_sorted* and 0 in *No_NA
*simply means
unknown sorted/NA status of
2004 Jan 23
0
Re: matrix __power__ (was "exponential")
Sorry I didn't answer before.
Martin, thanks very much for your notes and for tidying the function
up!
About matPower, I didn't realise that where it says "pot <- pot %*% p ot", consumption of memory was higer than it was on the original
algorithm,
And about the other function in this thread, matExp, I can remember I
us look to m
>Message: 27
2013 Aug 28
0
NHW Image codec - Compression Performance
...ness and a little less precision (residual
coding is applied on "sub" wavelet images or orders and I take advantage
then of the neatness the wavelet 5/3 filterbank can have).The entropy
coding schemes for each parts: wavelet coefficients, residuals, are also
near optimal as with the best (binarization +) context modeling +
arithmetic coders, except for the DC parts where the compression scheme is
not optimal, can win 0.7Ko per file in average with the best arithmetic
coders.
The NHW codec is also (really) faster in return, -it also uses a "direct"
discrete wavelet 5/3 transform which...
2019 Sep 11
0
[ALTREP] What is the meaning of the return value of Is_sorted and No_NA function?
Hi Jiefei,
The meanings of the return values for sortedness can be found in
RInternals.h, and are as follows:
/* ALTREP sorting support */
enum {SORTED_DECR_NA_1ST = -2,
SORTED_DECR = -1,
UNKNOWN_SORTEDNESS = INT_MIN, /*INT_MIN is NA_INTEGER! */
SORTED_INCR = 1,
SORTED_INCR_NA_1ST = 2,
KNOWN_UNSORTED = 0};
The default value there is NA_INTEGER (ie INT_MIN),
2010 Nov 19
1
gomp library with Rtools212
Dear developers,
I am a maintainer of the CORElearn package which uses OpenMP multithreading
to speed up some computations. When producing a new release we tested the
package with the latest R 2.12.0. On Linux the package works normally. On
Windows we installed a recommended version of Rtools (Rtools212) but the
linker fails with the messages below.
...
g++
2004 Aug 25
2
image recognition in R
I have some images of bugs (insects) with many bugs in each image.
I want to count the number of bugs and to have an estimate of the area
of each one.
I've tried searching for an R package to do so with no success. Is this
a task that I should pursue doing in R or should I restrict myself to
specific image analysis software (e.g. ImageJ)?.
The reason I consider R would be a good choice is
2016 Mar 24
1
NHW codec - progress 2
Hello,
Just a quick message to correct what I have said in my previous post.It
finally seems not that easy to code small wavelet coefficients to have a
good precision, and SPIHT is certainly a very good algorithm for that, -and
I know there are SPIHT experts that can make very good SPIHT-based
codecs-.I have chosen a new and different approach, the multistage residual
coding, so I will try to
2019 Sep 11
1
[ALTREP] What is the meaning of the return value of Is_sorted and No_NA function?
Hi Gabriel,
Thanks for your answer and future update plan. Somehow this email has been
delayed for a week, so there might be a wired reply from me saying that I
have found the answer from the R source code, it was sent from me last
week. Hopefully, this reply will not cost another week to post:)
As a side note, I like the idea that defining a macro for sortedness, and I
can see why we can only
2020 Jan 07
4
'check password script' timeout, diferences between AD and NT mode?
Here we use a (custom-made, internal) password propagation system,
hooked around 'check password script'.
Recently we suffer a network outgage (another one ;-), and the system
that take care of password propagation goes offline.
+ NT domains continue to work, clearly password not propagate
+ AD domain stop to work (eg, users password change on windows stop to
work), because the
2020 Jul 18
25
[PATCH 00/12] Bunch of patches for cross-compilatio + RP4
Initially out there as #965245.
I strongly prefer to build ARM64 packages on non-ARM systems. Something
about my main build machine having twice the cores and twice the clock
speed. As such after many builds I've managed to generate a set of
patches which appear to mostly function to get functioning cross-builds
of Xen.
These are NOT a 100% solution. Some packaging hacks were needed. In
2005 Feb 08
0
unhandled exception on sacred game
Hi all,
Two days ago I send below post to wine newsgroup with no response.
Since I send mail I try to upgrade to wine-cvs version, but, It is a
worst solution. Now I got this error:
razer@puerto-lobo:~/.wine/drive_c/Sacred$ wine sacred.exe
fixme:system:SystemParametersInfoW Unimplemented action: 8192
(SPI_GETFOREGROUNDLOCKTIMEOUT)
fixme:system:SystemParametersInfoW Unimplemented action: 8193
1999 Jul 01
1
SAMBA digest 2150
samba@samba.org wrote:
> SAMBA Digest 2150
>
> For information on unsubscribing see http://samba.org/listproc/
> Topics covered in this issue include:
>
> 1) Autoconnect on restarts doesn't work
> by =?iso-8859-1?Q?Str=F6mberg_Peter?= <Peter.Stromberg@scania.com>
> 2) Re: How to backup from Win to Linux using smb?
>
1999 Jun 30
1
How to backup from Win to Linux using smb?
Hi, All!
I have big problem: I need to automaticaly copy files from Win'pc to Linux server.
Samba is succesfuly installed and understood.
Please, tell what I have to use (except brains) to do that??!!!
.... yours, Alex Yemtsov
1999 Jul 02
3
Time Sync Details
Hi, All!!
Again about time sync Win and Linux. If there is a way to sync. time of
Windoze
and my LInux server except "net time \\flash /set /yes". That way works
wonderfull
and properly, but BAD user of my net DON"T want to remember their
passwords....
Does anybody know what I should do?
......,Yours Alex "Flash"