Ex 3
Ex 3
: 03
Implement User Profile Learning
Aim:
To implement user profile learning using Python
Description:
User Profiling:
User Profiling is the process of Extracting, Integrating and Identifying the keyword based information
to generate a structured Profile and then visualizing the knowledge out of these findings. User
profiling helps personalizing a system to work according to user. Therefore user profiling or
personalization is one of the major concepts used for accessing the user relevant information, which
can be used to solve the difficult problems of recommender system like classification and ranking of
items in accordance with an individual's interest.
Algorithm:
Code:
#creating Item Profile for watched movies
import pandas as pd
import numpy as np
#rating prediction
wm2=m11.mul(mm1,axis=1)
wm2=wm2.sum(axis=1)
print("\nThe possible rating that ", inp, "give to new movies are:\n")
print(round(wm2*10),0)
Result:
Thus the Python program to implement user profile learning was executed successfully.