Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 2.24 KB

README-EN.md

File metadata and controls

50 lines (31 loc) · 2.24 KB

Machine Learning Approaches Based on Multi-Model Collaborative Filtering

Project Overview

This project is dedicated to developing a restaurant rating prediction algorithm, focusing on predicting restaurant ratings on the Yelp dataset using a variety of machine learning techniques. We employ methods including Singular Value Decomposition (SVD), Cosine Similarity, Alternating Least Squares (ALS), Stochastic Gradient Descent (SGD), and Random Forests to provide accurate rating predictions and enhance the performance of recommendation systems.

Project Setup Method

  1. (Recommended) Install Anaconda

  2. Enter the Project Directory

    • Use the command line interface to navigate to your project folder.
  3. Create and Activate a Virtual Environment

    • To create a virtual environment, enter the following command in the command line:

      conda create -n Yelp_env python=3.11
    • To activate the virtual environment:

      conda activate Yelp_env
  4. Install Project Dependencies

    • Install dependencies using pip. In the project directory, there is a requirements.txt file listing all required Python libraries, use the following command to install dependencies:

       pip install -r requirements.txt
    • If in mainland China, consider using the Tsinghua University PyPI mirror to speed up dependency installation:

   pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

Contributors

William Sun

Haonan Zhang