hagai-lvi / dsp-assignment-2 Goto Github PK
View Code? Open in Web Editor NEWmap reduce word relatedness
map reduce word relatedness
See the last line for example
1810 sacred 1810 regard sacred 1 regard 1
1810 remaining 1810 remaining 1
1810 sacred 1810 sacred 2
1810 will 1810 will 1
1820 1820 1
no combiner is currently used
Ran jar on EMR got this output, which looks partial:
Amazon Elastic 1
count keyvalue 3
process will 1
Amazon dataset 1
During process 1
In assignment 1
extract pairs 1
If we have a pair that did not match any tree, we want to train the classifier with the 0
vector on it, so make sure that also pairs without any matching tree will be written
might cause overflow bugs
some things are written twice - for example the year and the 2gram are written twice in the 3rd stage - once as keys and once as values
Currently using the reducer, check if there is a better option
for example the 2gram "hello hello"
.
Make sure that it doesn't cause bugs
See the last row
1810 regard sacred 1
1810 remaining 1
1810 sacred 2
1810 will 1
1820 1
no combiner is currently used
EmrUtilsTest runs creates and runs a new EMR cluster.
We are already at 18.27$ \ 35$
in TokenizerMapper
, so that it will only count the words that are added as ngrams
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.