search for: binar

Displaying 20 results from an estimated 20 matches for "binar".

Did you mean: binary
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 <- cbind(dataframe$label, binarize(dataframe[,-1])) but then I lose my header (names).............ho...
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
...erate 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 wheel (and poorly), binarize <- function(x){ xt <- x bin <- vector() while(xt !=0){ bin <- c(bin, xt %% 2) xt <- xt %/%2 } c(rep(0, 4 - length(bin)), bin) } sapply(0:15, binarize) [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13] [,14] [,15] [,16] [1,] 0 0 0 0 0...
2003 Aug 22
2
"subscript out of range" message
...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 arsenic concentrations (two levels: "<0.05", ">0.05" denoting less than 0.05 mg/L and more than 0.05 mg/L respectively). To illustrate, I used the following code for crosstabulation: x <- table(FOLSTAT,GENDER,ASBIN) # from the results, I then wanted to subset...
2009 Sep 14
2
Timezone problem
...#39;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:~$ dpkg -l | grep wine ii wine 1.1.29~winehq0~ubuntu~9.04-0ubuntu2 Microsoft Windows Compatibility Layer (Binar ii wine-gecko 1.0.0-0ubuntu1 Microsoft Windows Compatibility Layer (Web B When I ran noted and press F5 i Got: 09:11 14/9/2009 can be this the solution? http://www.winehq.org/pipermail/wine-patches/2008-March/052474.html If yes, row to appl...
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 <- pcr(density ~ NIR, 6, data = yarn, validation = "CV"), I am not sure how can I adapt the command based line to my sample dataset. It seems that they label each horizontal (columns...
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")
...> > &nb r > Vicente> my poor English. It's for years I do > >no problem at all. Well, that is because I'm not speaking!! ;) > > Vicente> This is a R-version of a funct > Vicente> ago for my HP48 cal > Vicente> binar > Vicente > >excellent. This is really >I think. > >As I've menti >computing a matrix "power" is really mu >matrix exponential. I do agree. It did sound strange to me, but I followed the thread! > >Hence I wouldn't use...
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...
2019 Sep 11
0
[ALTREP] What is the meaning of the return value of Is_sorted and No_NA function?
...ave any information about whether there are NAs, it says "no" (returning 0, ie FALSE). Also please note, it is possible there may be another API point in the future which asks the object *how many NAs it has.??* If that materializes, No_NA would just consume the answer to thatto get the binarized version, but again there is nothing like that in there now. Hope that helps. Best, ~G On Wed, Sep 11, 2019 at 12:04 AM Wang Jiefei <szwjf08 at gmail.com> wrote: > Hi, > > > > I would like to figure out the meaning of the return value of these two > functions. Here ar...
2010 Nov 19
1
gomp library with Rtools212
...e messages below. ... g++ -I"C:/Util/R/R-2.12.0/include" -fopenmp -O2 -Wall -c trutilReg.cpp -o trutilReg.o g++ -I"C:/Util/R/R-2.12.0/include" -fopenmp -O2 -Wall -c utils.cpp -o utils.o g++ -shared -s -static-libgcc -o CORElearn.dll tmp.def Rconvert.o Rfront.o binarize.o binarizeReg.o binnode.o binnodeReg.o binpart.o bintree.o bintreeReg.o c45read.o calibrate.o constrct.o constrctReg.o cost.o dataStore.o error.o estCommon.o estOrdAttr.o estimator.o estimatorReg.o expr.o exprReg.o frontend.o ftree.o kdtree.o mathutil.o menu.o model.o modelReg.o mstring.o new_ne...
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?
..., 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 have a binary answer for NO_NA (since the return value is actually bool). For making the code more readable, and for possibly working with the future R release, is it possible to define a macro for NO_NA function in RInternal.h? So if there is any change in NO_NA function, there is no need to modify the code. A...
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
...functioning cross-compilation. Patches 9-11 are already in Xen's 4.14 branch. They are popular due to the Raspberry PI 4's rather significant audience. I imagine many people using Debian on ARM highly desire them. Elliott Mitchell (9): Revert "debian/rules: Do not try to move EFI binaries on armhf" debian/rules: Only install PV shim for supported architectures debian/rules: Fix binary shuffling script for cross-building debian/rules: Adjust boot shuffling script for POSIX debian/rules: Combine shared Make args debian/rules: Add --host to tools configure target de...
2005 Feb 08
0
unhandled exception on sacred game
...ine version is: razer@puerto-lobo:~/.wine/drive_c/Sacred$ uname -a Linux puerto-lobo 2.6.10+3.ii.2005-0 #1 Thu Feb 3 23:03:46 CET 2005 i686 GNU/Linux razer@puerto-lobo:~/.wine/drive_c/Sacred$ dpkg -l |grep -i wine ii wine 0.0.20050111-1 Microsoft Windows Compatibility Layer (Binar I was start to try with 0.0.20041019-1 wine version from debian sid, but the game don't run. I go to winehq.org and read documentation which cause that I decide to upgrade wine. By winetools I install basic system from scratch, including IE6 spanish version, english versions fails...
1999 Jul 01
1
SAMBA digest 2150
...ll. Or am I wrong there? > > Any help whatsoever is appreciated. Regards, > /Peter Str?mberg - WM-data Scania AB, S?dert?lje, Sweden > > ------------------------------ > > Date: Wed, 30 Jun 1999 07:41:25 -0500 (EST) > From: Brian Servis <servis@purdue.edu> > To: aay@binar.sar.nnov.ru > Subject: Re: How to backup from Win to Linux using smb? > Message-ID: <E10zJgB-0002xe-00@ppp-x9-38.ecn.purdue.edu> > > *- On 30 Jun, Alexander Yemtsov wrote about "How to backup from Win to Linux using smb?" > > Hi, All! > > > > I have big...
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"