Queries in mongoDB

At first, I found writing mongo queries quite unintuitive, as one cannot just write a query and execute it as in SQL, but rather has to construct a JavaScript object »

MindMap of JavaScript Objects


Stick-Breaking Construction of Dirichlet Process

In the field of Bayesian nonparametrics, there exist several different methods to generate samples from a Dirichlet process. One can think of the Dirichlet process as a generalized Dirichlet distribution, »

Using the npm package manager for Node.js

Installing a Node.js package is very easy compared to other programming languages thanks to npm, the package manager that ships with it. To install a node module, one uses »

JavaScript Data Types

In JavaScript, there is a delineation between object data types and primitive data types. The following primitive data types exist: String Number Boolean undefined null We can create variables of »