I would like to ask how can insert constraints(cannot link,must link constrains) in MPCKMeans.java. I want to implement an application in which we have constraints for the users. There is a database with movies and every user can rate the movies and then the system be able using the specific algorithm to suggest to the user proper movies.
the constrains have to do for example different scales of rate kave to go together(rated comedy movies tha had rated as very good in script having 7-10 rate together with 5-7 in interpretation at the same movie. this restriction means that the system following this combination set that all the comedy movies with the same restriction consider as very good movies.
Could you please explain with the code?