Log the value of a special data?
i'm trying to do some prediction with a data set of labeled data. The prediction works fine but now i want to log the value of an attribute of only 1 row (in each row the name of a movie is listed) of the data set to see very fast in which cluster a special single movie was sorted in. With k (k=2...20) as the number of clusters the log-file should look like this:
|k||cluster in which the single movie was sorted in|
I think the solution to my problem is very easy but i can't get it right now.
Thx for any help.