Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/naufal-yafi/knn-regression.model

K-Nearest Neighbors
https://github.com/naufal-yafi/knn-regression.model

data-science knn-regression machine-learning scikit-learn

Last synced: about 16 hours ago
JSON representation

K-Nearest Neighbors

Awesome Lists containing this project

README

        

![py version](https://img.shields.io/badge/python3-v_3.12.5-blue) ![pip version](https://img.shields.io/badge/pip3-v_24.2-blue) ![os](https://img.shields.io/badge/alpine_linux-v_3.17.0-blue)

# KNN Regression

This project aims to predict the price of used cars based on features such as 'year', 'transmission', 'mileage', 'fuelType', 'tax', 'mpg', and 'engineSize' using the K-Nearest Neighbors (KNN) Regression algorithm.

# How to use this repo

## 1. Create VENV

```sh
python3 -m venv venv
```

## 2. Activate VENV

1. Linux/MacOS:
```sh
source active
```
2. Windows (cmd):
```sh
venv\Scripts\activate.bat
```
3. Windows (powershell):
```sh
venv\Scripts\Activate.ps1
```

## 3. Install Libraries

```sh
sh install
```