Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Added Car price Prediction #144

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 38 additions & 10 deletions App.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"- **Parkinson's Disease Detector**: Assess your risk of Parkinson's Disease with advanced machine learning algorithms."
)


# Parkinson's Disease Detector Section
with st.expander("Parkinson's Disease Detector - More Information"):
st.subheader("Introduction")
Expand Down Expand Up @@ -107,16 +108,43 @@
- **GLD**: The price of SPDR Gold Shares (GLD), which is the target variable representing gold prices.
"""
)

#Text Summarization Section

st.write(
"- *Text Summarizer*: Save time with concise, professional summaries of lengthy texts—tailored to meet your needs and streamline your reading experience."
"- **Car Price Predictor**: Estimate the price of a car based on various features."
)
with st.expander("Text Summarizer - More Information"):
st.subheader("Introduction")
st.write(
"""
Many struggle with summarizing large texts or learning from lengthy materials. This model simplifies the process, offering concise summaries that enhance understanding and speed up learning—perfect for students and professionals alike.
"""
)
# Car Price Predictor Section
with st.expander("Car Price Predictor - More Information"):
st.subheader("Introduction")
st.write(
"""
The Car Price Predictor uses machine learning algorithms to estimate the price of a car based on various features. Factors such as the car's brand, year, mileage, and other specifications can significantly impact its resale value.
"""
)

# Dataset section
st.subheader("Car Price Dataset")
st.write(
"""
The dataset for this model contains information on various cars, including their features and selling prices. The goal is to predict the selling price based on features like brand, year, mileage, fuel type, seller type, transmission, and more.
"""
)

# Input features section
st.subheader("Additional Variable Information")
st.write(
"""
- **Name**: The name of the car.
- **Year**: The year the car was manufactured.
- **Selling Price**: The price at which the car is being sold.
- **Km Driven**: The total kilometers driven by the car.
- **Fuel**: The type of fuel used (e.g., petrol, diesel).
- **Seller Type**: The type of seller (e.g., individual, dealer).
- **Transmission**: The transmission type (e.g., manual, automatic).
- **Owner**: The number of previous owners.
- **Mileage**: The car's mileage in km/ltr/kg.
- **Engine**: The engine capacity.
- **Max Power**: The maximum power of the car.
- **Seats**: The number of seats in the car.
"""
)

82 changes: 82 additions & 0 deletions form_configs/car_price.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"Car Price Prediction Form": {
"Year of Manufacture": {
"type": "number",
"min_value": 2000,
"max_value": 2024,
"default_value": 2020,
"step": 1,
"field_name": "year"
},
"Kilometers Driven": {
"type": "number",
"min_value": 0,
"max_value": 500000,
"default_value": 10000,
"step": 1000,
"field_name": "km_driven"
},
"Fuel Type": {
"type": "dropdown",
"options": ["Diesel", "LPG", "Petrol"],
"default_value": "Petrol",
"field_name": "fuel"
},
"Seller Type": {
"type": "dropdown",
"options": ["Individual", "Trustmark Dealer"],
"default_value": "Individual",
"field_name": "seller_type"
},
"Transmission": {
"type": "dropdown",
"options": ["Manual", "Automatic"],
"default_value": "Manual",
"field_name": "transmission"
},
"Owner Type": {
"type": "dropdown",
"options": [
"First Owner",
"Second Owner",
"Third Owner",
"Fourth & Above Owner",
"Test Drive Car"
],
"default_value": "First Owner",
"field_name": "owner"
},
"Mileage (km/ltr)": {
"type": "number",
"min_value": 0,
"max_value": 100,
"default_value": 15,
"step": 0.1,
"field_name": "mileage"
},
"Engine Size (cc)": {
"type": "number",
"min_value": 800,
"max_value": 5000,
"default_value": 1500,
"step": 100,
"field_name": "engine"
},
"Max Power (bhp)": {
"type": "number",
"min_value": 0,
"max_value": 500,
"default_value": 100,
"step": 10,
"field_name": "max_power"
},
"Number of Seats": {
"type": "number",
"min_value": 2,
"max_value": 10,
"default_value": 5,
"step": 1,
"field_name": "seats"
}
}
}
Loading
Loading