Skip to main content

Simple Linear Regression from scratch

Project description

Rocket Project

A simple Python project that models rockets and their behavior.
It includes different types of rockets such as:

  • Rocket — the base class representing a rocket in 2D space
  • Shuttle — a reusable rocket with a number of completed flights
  • CircleRocket — a rocket modeled as a circle with a given radius

Features

  • Move rockets in a 2D coordinate system
  • Calculate distances between rockets
  • Compute area and circumference for circular rockets
  • Demonstrate inheritance and method overriding in Python

Classes Overview

Rocket

Represents a basic rocket with coordinates (x, y).

Shuttle

Inherits from Rocket and adds a flights_completed attribute.

CircleRocket

Inherits from Rocket and adds:

  • r → the radius of the rocket
  • get_area() → returns Ï€ * r²
  • get_circumference() → returns 2 * Ï€ * r

🧩 Installation

Make sure you have Python installed.
You can clone this repository and run the examples in Jupyter Notebook or any IDE.

git clone https://github.com/Amina212004/rocket.git
cd rocket-project

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

linear_regression_amina_fezazi_v1-0.1.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file linear_regression_amina_fezazi_v1-0.1.1.tar.gz.

File metadata

File hashes

Hashes for linear_regression_amina_fezazi_v1-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8e47fde63f9ecfcea278ce4ab0a7fde35557ad0de716888714c3c76334fbe83b
MD5 67c6c5263c0240aba010ae11c16d75a7
BLAKE2b-256 61d7610056e9fe7545c87f581e7a6ea9302b903731836179302b79eef43a5909

See more details on using hashes here.

File details

Details for the file linear_regression_amina_fezazi_v1-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for linear_regression_amina_fezazi_v1-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 46507ceee440e05a795de3b7d0fe430e22c5320cee09b69de03093ebd3a9de5e
MD5 e268c8155c4ae9bab6d60b126520f9ad
BLAKE2b-256 7166082553ea0c29947bd0b3b2e15b08d7054e20cdf27043818304fe73b91d61

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page