An open API service indexing awesome lists of open source software.

https://github.com/nanith777/hotel_recommendation

This project implements a hotel recommendation system using Streamlit, a Python library for building interactive web applications.
https://github.com/nanith777/hotel_recommendation

machine-learning nlp python streamlit

Last synced: 2 months ago
JSON representation

This project implements a hotel recommendation system using Streamlit, a Python library for building interactive web applications.

Awesome Lists containing this project

README

          

# Hotel Recommendation System

This project implements a hotel recommendation system using Streamlit, a Python library for building interactive web applications. The recommendation system analyzes hotel descriptions and suggests the most relevant hotels based on user input.

## Installation

1. Clone the repository to your local machine:

```bash
git clone https://github.com/NANITH777/Hotel_Recommendation.git
```

2. Navigate to the project directory:

```bash
cd hotel-recommendation-system
```

3. Install the required dependencies:

```bash
pip install -r requirements.txt
```

## Usage

1. Run the Streamlit application:

```bash
streamlit run hotel.py
```

2. Access the application in your web browser at [http://localhost:8502](http://localhost:8502).

3. Enter the location (e.g., Italy, UK, Netherlands) and a brief description of your trip (e.g., "I am going on a business trip").

4. Click the "Get Recommendations" button to view hotel recommendations based on your input.

5. To reset the input fields and recommendations, click the "Reset" button.

## Files

- `hotel.py`: Python script containing the Streamlit application code.
- `Hotel_Reviews.csv`: Dataset containing hotel reviews data.
- `README.md`: Documentation file providing instructions and information about the project.
- `Requirements.txt`: Requirements

## Libraries Used

- `nltk`: Natural Language Toolkit for text processing tasks such as tokenization and lemmatization.
- `pandas`: Data manipulation and analysis library for working with tabular data.
- `numpy`: Numerical computing library for handling arrays and mathematical operations.
- `streamlit`: Web application framework for creating interactive data apps.

## Functionality

- The application preprocesses hotel descriptions and calculates similarity scores based on user input.
- It recommends the top 10 hotels with the highest similarity scores and average ratings.
- Users can reset the input fields to start a new search.

# Interface with Streamlit

reset
rec_result
Recommendation
Result
Hotel_findingR
Hotel_IT_1