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

https://github.com/udacity-machinelearning-internship/reducingoverfitting

Reducing overfitting in perdiction in decision trees
https://github.com/udacity-machinelearning-internship/reducingoverfitting

decision-trees overfitting overfitting-reduced pandas scki

Last synced: 9 months ago
JSON representation

Reducing overfitting in perdiction in decision trees

Awesome Lists containing this project

README

          

![Reducing_Overfitting](https://github.com/BaraSedih11/ReducingOverfitting/assets/98843912/a55bce4b-223a-4c62-9a32-b2c78ee1abb1)

![GitHub repo size](https://img.shields.io/github/repo-size/BaraSedih11/ReducingOverfitting) ![GitHub repo file count (file type)](https://img.shields.io/github/directory-file-count/BaraSedih11/ReducingOverfitting) [![Python Version](https://img.shields.io/badge/python-3.8-blue)](https://www.python.org/downloads/release/python-380/)
[![Pip Version](https://img.shields.io/badge/pip-21.0-orange)](https://pypi.org/project/pip/21.0/)
![GitHub last commit (branch)](https://img.shields.io/github/last-commit/BaraSedih11/ReducingOverfitting/main)
[![Version](https://img.shields.io/badge/version-v1.0.0-blue)](https://github.com/BaraSedih11/ReducingOverfitting/releases/tag/v1.0.0)
[![Contributors](https://img.shields.io/github/contributors/BaraSedih11/ReducingOverfitting)](https://github.com/BaraSedih11/ReducingOverfitting/graphs/contributors)
![GitHub pull requests](https://img.shields.io/github/issues-pr-raw/BaraSedih11/ReducingOverfitting)


This repository contains an example of reducing overfitting in perdiction in decision trees

## Overview

Overfitting it's when the model fails to generalize well to the new data. In this example we solved the overfitting by manipulating the

## Contents

- `quiz.ipynb`: Jupyter Notebook containing the implementation of solving overfitting in decision trees using Python.
- `heart_failure_clinical_records-sample.csv.csv`: Sample dataset used in the notebook for demonstration purposes.
- `README.md`: This file providing an overview of the repository.

## Requirements

To run the code in the Jupyter Notebook, you need to have Python installed on your system along with the following libraries:

- NumPy
- pandas
- scikit-learn

You can install these libraries using pip:

```bash
pip install numpy pandas scikit-learn
```

## Usage

1. Clone this repository to your local machine:

```bash
git clone https://github.com/BaraSedih11/ReducingOverfitting.git
```

2. Navigate to the repository directory:

```bash
cd ReducingOverfitting
```

3. Open and run the Jupyter Notebook `quiz.ipynb` using Jupyter Notebook or JupyterLab.

4. Follow along with the code and comments in the notebook to understand how to solve overfitting using Python.

## Acknowledgements

- [scikit-learn](https://scikit-learn.org/): The scikit-learn library for machine learning in Python.
- [NumPy](https://numpy.org/): The NumPy library for numerical computing in Python.
- [pandas](https://pandas.pydata.org/): The pandas library for data manipulation and analysis in Python.