search for: bhattacharyya

Displaying 20 results from an estimated 50 matches for "bhattacharyya".

2009 Nov 05
3
Bhattacharyya distance metric
I need to use the Bhattacharyya distance metric to determine population separation. Has anyone written a Bhattacharyya distance metric function in R? -- View this message in context: http://old.nabble.com/Bhattacharyya-distance-metric-tp26221259p26221259.html Sent from the R help mailing list archive at Nabble.com.
2002 Aug 30
4
(PR#1964) The attached function working fine with R 1.3.0 but giving problem with R 1.5.1 (PR#1964)
...executing - (seq(n-1)*mean(XS)-cumsum(XS[seq(n-1)]))*diff(XS)/((n-1)*var(XS)) Note: Prof Yatracos: Would you please send them one example ? Thanks, Kaushik -----Original Message----- From: ripley@stats.ox.ac.uk [mailto:ripley@stats.ox.ac.uk] Sent: Friday, August 30, 2002 4:27 PM To: Kaushik Bhattacharyya Cc: r-devel@stat.math.ethz.ch; R-bugs@biostat.ku.dk Subject: Re: (PR#1964) The attached function working fine with R 1.3.0 but giving problem with R 1.5.1 (PR#1964) Could you us a hint what the problems are? And an example to reproduce them? On Fri, 30 Aug 2002 stakb@nus.edu.sg wrote: > Full...
2012 Jul 05
3
[LLVMdev] "symbol lookup error" while running a Simple Loop Pass
...doing wrong? Also what's the difference between declaring a pass as a struct vs declaring it as a class. In the "writing a pass" tutorial the "Hello" pass has been declared as a struct but most (if not all) the LLVM passes are written as classes. Thanks a lot; -- Arnamoy Bhattacharyya Athabasca Hall 143 Department of Computing Science - University of Alberta Edmonton, Alberta, Canada, T6G 2E8 587-710-7073 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120705/ff65500b/attachment.html>
2012 Jun 20
3
[LLVMdev] Is Loop Dependence Analysis Printing Correct Stats?
...ccesses Why do the " Pairwise dependence results:" and the "Statistics Collected" differ? Like first we get 11 "dependent"(must) accesses and later it says 11 "unknown" (may) accesses? Am I doing anything wrong or the code seems buggy? Thanks; -- Arnamoy Bhattacharyya Athabasca Hall 143 Department of Computing Science - University of Alberta Edmonton, Alberta, Canada, T6G 2E8 587-710-7073 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120620/2dc31fde/attachment.html>
2012 Jul 05
0
[LLVMdev] "symbol lookup error" while running a Simple Loop Pass
...he llvm-src/Release+Asserts/lib directory) to solve the problem. Can anyone tell me what's the difference between writing a pass as a "struct" (as in the tutorial) and as a "class" (as most developers do)? Thanks again; ---------- Forwarded message ---------- From: Arnamoy Bhattacharyya <arnamoy at ualberta.ca> Date: Thu, Jul 5, 2012 at 12:34 AM Subject: "symbol lookup error" while running a Simple Loop Pass To: llvmdev at cs.uiuc.edu Hello; I wrote this simple loop pass to collect the number of instructions in each loop of the program. The code is as follows-...
2012 Jul 05
1
[LLVMdev] "symbol lookup error" while running a Simple Loop Pass
...class" and then placing all members with "public:" visibility. From LLVM point of view, functionality of your pass is not going to change at all by using "class" or "struct" to define it. BR Carlos > ---------- Forwarded message ---------- > From: Arnamoy Bhattacharyya <arnamoy at ualberta.ca> > Date: Thu, Jul 5, 2012 at 12:34 AM > Subject: "symbol lookup error" while running a Simple Loop Pass > To: llvmdev at cs.uiuc.edu > > > Hello; > > I wrote this simple loop pass to collect the number of instructions in each > loop...
2012 May 18
3
[LLVMdev] Adding a New Instruction to LLVM IR
...e code downloaded from the website. Could you tell me what are the files that need to be modified to add a new token to parse my instruction from assembly text file (STEP 4) and add the grammar on how my instruction can be read and what it will construct as a result (STEP 5). Thanks; -- Arnamoy Bhattacharyya Athabasca Hall 143 Department of Computing Science - University of Alberta Edmonton, Alberta, Canada, T6G 2E8 780-680-7073 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120518/29f7d3ec/attachment.html>
2020 Nov 19
2
Understanding CallInst::Create
...5 to LLVM10. There used to be a call instruction with the signature static CallInst * Create (Value *F, Value *Actual, const Twine &NameStr="", Instruction *InsertBefore=0) Can anyone please explain what it supposed to do? What was F and Actual? Thank you so much. -- Dr. Arnamoy Bhattacharyya R&D Compiler Engineer Huawei
2004 May 03
2
adding a method to the dist function
Hi all, I'd like to add the Bhattacharyya method to the dist function. What is the best way to do this? I'm using R 1.9.0 and I was looking for the code that defines the already existing distances, but I didn't manage. As far as I understand, dist is defined in mva that is part of the stats package now, but where is the code? Than...
2013 Nov 05
1
[LLVMdev] Identifying the instructions that uses a pointer used as a function argument
...I->replaceUsesOfWith(V, R); > } > > If this doesn't help, you could try showing us the actual IR you're running > the transformation on. > > Just FMI, is it okay to post code on this mailing list? > > H. > > > > On Tue, Nov 5, 2013 at 8:59 AM, Arnamoy Bhattacharyya <arnamoy at ualberta.ca> > wrote: >> >> Hello all; >> >> So here is my goal: >> >> *** If there is a Call instruction to myFunction(int * val), I need to >> identify all the instructions that uses val in the IR and replace the >> uses with a...
2013 Nov 05
2
[LLVMdev] Identifying the instructions that uses a pointer used as a function argument
...her instructions that use the same named pointer. But this is also not working because first the pointer is loaded into register and then the register is passed in the argument. Sorry if the question does not make sense. Any pointer or explanation will be appreciated. Thanks a lot!! -- Arnamoy Bhattacharyya Athabasca Hall 143 Department of Computing Science - University of Alberta Edmonton, Alberta, Canada, T6G 2E8 587-710-7073
2012 May 20
1
[LLVMdev] Error While Inserting New Instruction to LLVM IR
...Instructions.h llvm/include/llvm/Support/InstVisitor.h llvm/lib/AsmParser/< necessary files> llvm/include/llvm/Bitcode/LLVMBitCodes.h llvm/lib/Bitcode/Reader/BitcodeReader.cpp llvm/lib/VMCore/Instruction.cpp llvm/lib/VMCore/Instructions.cpp llvm/include/llvm-c/core.h Thank you; -- Arnamoy Bhattacharyya Athabasca Hall 143 Department of Computing Science - University of Alberta Edmonton, Alberta, Canada, T6G 2E8 780-680-7073 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120520/c12b74c3/attachment.html>
2013 Nov 05
0
[LLVMdev] Identifying the instructions that uses a pointer used as a function argument
...alue(Idx, R); } for (auto& I : Replace) I->replaceUsesOfWith(V, R); } If this doesn't help, you could try showing us the actual IR you're running the transformation on. Just FMI, is it okay to post code on this mailing list? H. On Tue, Nov 5, 2013 at 8:59 AM, Arnamoy Bhattacharyya <arnamoy at ualberta.ca>wrote: > Hello all; > > So here is my goal: > > *** If there is a Call instruction to myFunction(int * val), I need to > identify all the instructions that uses val in the IR and replace the > uses with a newly created pointer. I will also be cha...
2012 Sep 07
1
[LLVMdev] Get the filename on which a pass is running?
...get the name of the bitcode file on which I am running the pass. I am making my pass as a loadable module. And if I run my pass like this - opt -S -loops -load /home/arnie/llvm-clang/llvm/Release+Asserts/lib/XYZ.so -xyz <b.bc> b1.bc I want to get b.bc in the pass. Thank you; -- Arnamoy Bhattacharyya Athabasca Hall 143 Department of Computing Science - University of Alberta Edmonton, Alberta, Canada, T6G 2E8 587-710-7073 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120906/5152ad42/attachment.html>
2020 Nov 19
1
Understanding CallInst::Create
...CallInst * Create (FunctionCallee Func, ArrayRef< Value *> Args...), where I push the "Actual" argument to the ArrayRef and then create the call? On Thu, Nov 19, 2020 at 10:15 AM Tim Northover <t.p.northover at gmail.com> wrote: > > On Thu, 19 Nov 2020 at 14:24, Arnamoy Bhattacharyya via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > I am working on porting a tool written for LLVM3.5 to LLVM10. There > > used to be a call instruction with the signature > > static CallInst * Create (Value *F, Value *Actual, const Twine > > &NameStr=&quot...
2012 Jun 20
0
[LLVMdev] Is Loop Dependence Analysis Printing Correct Stats?
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Arnamoy Bhattacharyya > Subject: [LLVMdev] Is Loop Dependence Analysis Printing Correct Stats? > for(i = 0; i < 4; i ++) > { > a[i] = a[i-1]+1; > } > Am I doing anything wrong or the code seems buggy? Your code is buggy. The first time through the loop, you're referencing a[-1], which is un...
2002 Jul 01
1
Compilation problem in Tru64/Alpha
...uot; account for compilation . OS: Tru64 ver 4.0F " Make: Cannot open ../../../../share/make/../../../../etc/Makeconf. Stop. *** Exit 1 Stop. *** Exit 1 Stop. *** Exit 1 Stop. *** Exit 1 Stop. " Please help me to solve this problem or to get R-1.5.1 binary for Tru64. Thanks, Kaushik Bhattacharyya Statistics & Applied Probability, NUS -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not...
2012 Sep 05
2
[LLVMdev] llvm::ConstantArray::get(llvm::LLVMContext&, llvm::StringRef, bool) deprecated?
...ayRef<llvm::Constant*>) Could anyone tell me how to give a value (lets say "hello world") to the Array Constant using currently available get method? Previously llvm::ConstantArray::get(getGlobalContext(), "hello world", true) should have worked. Thank you; -- Arnamoy Bhattacharyya Athabasca Hall 143 Department of Computing Science - University of Alberta Edmonton, Alberta, Canada, T6G 2E8 587-710-7073 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120905/1bfb4bec/attachment.html>
2012 Jun 16
2
[LLVMdev] What's Going Wrong with GCC 4.6.3 + dragonegg 3.1
...lli: hello.bc:1:1: error: expected top-level entity ELF@4( *clang:* clang -c hello.c -emit-llvm -o hello.bc lli hello.bc output: hello world hello.c: #include <stdio.h> int main() { printf("hello world\n"); return 0; } Any suggestions on how to do it in llvm-gcc? -- Arnamoy Bhattacharyya Athabasca Hall 143 Department of Computing Science - University of Alberta Edmonton, Alberta, Canada, T6G 2E8 587-710-7073 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120616/75684e09/attachment.html>
2017 Jun 29
2
Packages for Learning Algorithm Independent Branch and Bound for Feature Selection
I am looking for packages that can run a branch-and-bound algorithm to maximize a distance measure (such as Bhattacharyya or Mahalanobis) on a set of features. I would like this to be learning algorithm independent, so that the method just looks at the features, and selects the subset of a user-defined size that maximizes a distance criteria such as those stated above. Can anyone give some suggestions? Alex Byrley...