Git Product home page Git Product logo

temperature-conversion-lr-model's Introduction

Temperature Conversion Model

This project implements a linear regression model to convert temperatures from Celsius to Fahrenheit. The model is trained using synthetic data, and the performance of the model is evaluated over time.

Features

  • Linear Regression Model: Trains a linear regression model to convert Celsius to Fahrenheit.
  • Model Evaluation: Plots the Mean Squared Error (MSE) of the model over time as the number of data points increases.
  • Continuous User Input: Allows users to continuously input Celsius values and get the corresponding Fahrenheit conversion until a non-numeric value is entered.

How to Run

  1. Clone the Repository:

    git clone https://github.com/yourusername/temperature-conversion-model.git
    cd temperature-conversion-model
  2. Install Dependencies: Ensure you have Python installed. Then, install the required packages:

    pip install numpy matplotlib scikit-learn
  3. Run the Script:

    python temperature_conversion.py
  4. Use the Continuous Input Loop:

    • Enter temperature values in Celsius to get the Fahrenheit conversion.
    • To exit, type any alphabetic character.

License

This project is licensed under the MIT License. See the LICENSE file for details.

temperature-conversion-lr-model's People

Contributors

dakshverma11 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.