0
votes
0answers
42 views

Machine learning Jaakkola different sized data

I have an assignment for a machine learning problem and requires me to to compute $G=\{\|X_i-X_j\| \mid (X_i,Y_i),(X_j,Y_j)\, \text{that belong to training data}\, S\, \text{and} Y_i\neq Y_j\}$. In my ...
1
vote
0answers
250 views

Mean and median in Zipf's distribution

I have a collection of $10^5$ essays, each of which on average contains $10^3$ distinct words. There are $10^6$ distinct words in the entire collection. If I index every word what is the mean and ...