Coder Social home page Coder Social logo

chikeorah / ml Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.45 MB

This repository contains a Jupyter notebook that implements and optimizes several machine learning models on a dataset

License: MIT License

Jupyter Notebook 100.00%
abalone-dataset data-science k-nearest-neighbours linear-regression machine-learning matplotlib neural-network-regression numpy pandas random-forest

ml's Introduction

ML

Machine Learning Models Notebook

This repository contains a Jupyter notebook that implements and optimizes several machine learning models on a dataset.

Models Implemented

  1. Linear Regression Model: This model is used to predict a continuous outcome variable (also called the dependent variable) based on one or more predictor variables (also known as independent variables).

  2. Linear Regression Model Optimized using RFE (Recursive Feature Elimination): This is a feature selection method that fits a model and removes the weakest feature (or features) until the specified number of features is reached.

  3. Linear Regression Model Optimized using SVR (Support Vector Regression): This model applies the principles of Support Vector Machines to a regression problem. It uses the same concepts like margin and maximum margin.

  4. Random Forest: This is a versatile machine learning method capable of performing both regression and classification tasks. It is a type of ensemble learning method, where a group of weak models combine to form a powerful model.

  5. Random Forest Optimized using Grid Search: This model uses Grid Search to find the optimal hyperparameters of a Random Forest model in order to improve its performance.

  6. k-Nearest Neighbors (k-NN): This is a simple and intuitive model that predicts the target of a new instance based on the targets of its 'k' closest instances in the feature space.

  7. k-NN Optimized using Grid Search: This model uses Grid Search to find the optimal hyperparameters of a k-NN model in order to improve its performance.

  8. Support Vector Machines (SVM): SVMs can model non-linear relationships using the kernel trick, and they work well in high-dimensional spaces.

  9. SVM Optimized using Grid Search: This model uses Grid Search to find the optimal hyperparameters of an SVM model in order to improve its performance.

  10. XGBoost: This is an implementation of gradient boosted decision trees designed for speed and performance.

  11. XGBoost Optimized using Grid Search: This model uses Grid Search to find the optimal hyperparameters of an XGBoost model in order to improve its performance.

  12. Neural Network Regression (NNR): This model uses a neural network for regression tasks. It can model complex, non-linear relationships.

  13. NNR Optimized using Grid Search: This model uses Grid Search to find the optimal hyperparameters of an NNR model in order to improve its performance.

Getting Started

  1. Clone this repository.
  2. Install the necessary libraries mentioned in requirements.txt.
  3. Run the Jupyter notebook.

Requirements

  • Python 3.7+
  • Jupyter
  • scikit-learn
  • pandas
  • numpy
  • matplotlib

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

ml's People

Contributors

chikeorah avatar cikeorah-mavenprism avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.