Grokbase Groups Pig user May 2013
FAQ
I was wondering if there is a way to compute the product of all the values
in a bag much like the built in function SUM does currently.

For reference, I am currently implementing a multinomial naive bayes
classifier and need to compute the product of probabilities. I am trying to
avoid using a UDF because the requirements of the project prohibit me from
using a secondary language such as python, javascript, etc.

Thanks,
Sergey

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupuser @
categoriespig, hadoop
postedMay 2, '13 at 11:42p
activeMay 2, '13 at 11:42p
posts1
users1
websitepig.apache.org

1 user in discussion

Sergey Goder: 1 post

People

Translate

site design / logo © 2021 Grokbase