Skip to main content

A simple content-based recommender system

Project description

Recommender-Rakshita-102303498

Description

Submitted by: Rakshita Garg Roll no: 102303498 Group: 3C0E35

Recommender-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 Recommender-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

  1. The CSV file is read using the pandas library.
  2. The first column (item names) and first row (headers) are removed before processing.
  3. Feature values are normalized using Min-Max scaling.
  4. Cosine similarity is calculated between items.
  5. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

recommender_rakshita_102303498-0.2.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file recommender_rakshita_102303498-0.2.1.tar.gz.

File metadata

File hashes

Hashes for recommender_rakshita_102303498-0.2.1.tar.gz
Algorithm Hash digest
SHA256 215a314d47ce691deedcf151ce40803c0233e38171b55784b263bd95bf981cbd
MD5 3c0dafba5feabce2fb0f417bc4849e52
BLAKE2b-256 863f97a91a94ef7608a71dd3a026f41d2fb8c8dfbbf67715465ca5744aa1ac91

See more details on using hashes here.

File details

Details for the file recommender_rakshita_102303498-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for recommender_rakshita_102303498-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bc4aa2766f896d3e18d09f8364fd1ca55453f2a2f9f635638afad4a9923b2bf8
MD5 486eb921f299a6af05414a942b98eb15
BLAKE2b-256 294dc5831634eca5dc29a212140694639af4c762c097aa5d909053af786f1676

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page