A simple content-based recommender system
Project description
Recommendor-Rakshita-102303498
Description
Submitted by: Rakshita Garg Roll no: 102303498 Group: 3C0E35
Recommendor-Rakshita-102303498 is a Python package that implements a simple content-based recommender system. It recommends items based on feature similarity using machine learning techniques.
This project is mainly intended for academic learning and mini-projects.
Installation
Use the package manager pip to install simple-recommender-rg.
pip install Recommendor-Rakshita-102303498
Usage
Enter the CSV filename followed by the .csv extension.
recommend sample.csv
To view usage help, use:
recommend -h
Example
A CSV file containing numeric feature values for different items.
| Item | Feature1 | Feature2 | Feature3 |
|------|----------|----------|----------|
| A | 10 | 7 | 9 |
| B | 8 | 6 | 5 |
| C | 9 | 9 | 8 |
Working
- The CSV file is read using the pandas library.
- The first column (item names) and first row (headers) are removed before processing.
- Feature values are normalized using Min-Max scaling.
- Cosine similarity is calculated between items.
- Items are ranked based on similarity scores.
Output Table
| Item | Similarity Score | Rank |
|------|------------------|------|
| A | 1.000000 | 1 |
| C | 0.976532 | 2 |
| B | 0.845210 | 3 |
Other Notes
- The CSV file should not contain categorical (string) values.
- There should be no missing values in the dataset.
- This package is designed for educational purposes.
- The first column and first row are removed automatically before processing.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file recommender_rakshita_102303498-0.1.8.tar.gz.
File metadata
- Download URL: recommender_rakshita_102303498-0.1.8.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ee0290e3fdf82656c005cc7461c9b31e963c94cda33465678a144c90cbfe198
|
|
| MD5 |
48195c497d80b1717d1d4dc8850ee2d6
|
|
| BLAKE2b-256 |
7323e1382351e25604f92cc8fbced92c1fffddffdf5fcb4d8dfec9b10123be6a
|
File details
Details for the file recommender_rakshita_102303498-0.1.8-py3-none-any.whl.
File metadata
- Download URL: recommender_rakshita_102303498-0.1.8-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da0e7d9aa128ffb27825ec95308ae3486ddd9eb9c9db03473a0177bde028f515
|
|
| MD5 |
af407d8cb9b802b4257dd7229731fe28
|
|
| BLAKE2b-256 |
cae5ccca35817a897d3e3d85efae31a7ad78921857fa182b7b75adbad10f8f52
|