Uppgifter
Notes:
- [20.03] If pymongo is missing, you can install it with pip3 install pymongo.
- [13.03] The MongoDB installed in the VM is version 2.6. Its documentation is here. You can consult it on how to create an index or use the explain() method, among other things.
- [13.03] Updated the wording in 3.A. You can answer each question by writing either a simple query or a more complex script. E.g., for 3.A.14, you can write a short python script using pymongo.
- [20.03] If pymongo is missing, you can install it with pip3 install pymongo.
Updates:
* [14.04] For Problem 3, please do not use a library that already implements the clustering in Spark - implement k-means by yourself.* [19.04] For Problem 3, you receive up to 3/4 of the points of the problem if you use a library that already implements kmeans.