Introduction - If you have any usage issues, please Google them yourself
In this experiment, a naive Bayes model is used to determine the gender of each movie that the user has rated. Intuitively, different movies have different attractions for different genders, such as men who prefer martial arts and action shows, while women prefer romance. Thus, building models is understandable. Create a distribution table for each training data set. Gender determination based on maximum likelihood criterion. For age, a similar approach is used.