def __read_dataset_item(path):
    """Reads data set from path returns a movie dict.

        Parameters
        ----------
        path : str
            Absolute path of the MovieLens data set(u.data).

        Returns
        -------
        rating_dict : dict
            Returns a dict of users, movies and ratings.
            { string:movie = { string:user = int:rating } }
    """
    rating_dict = {}
    with open(path, "r") as reader:
        lines = reader.readlines()
        for line in lines:
            x = line.split(sep="\t")
            user = x[0]
            movie = x[1]
            rating = int(x[2])
            if movie not in rating_dict:
                rating_dict[movie] = dict()
                rating_dict[movie][user] = rating
            else:
                rating_dict[movie][user] = rating

    return rating_dict