ML परियोजना | एकाधिक बीमारी की पूर्वानुमान #Python में | #MachineLearning | #streamlit

Posted by

ML Project | Multiple Disease Prediction using Python and Machine Learning

ML Project | Multiple Disease Prediction using Python and Machine Learning

इस प्रोजेक्ट में हमने Python और Machine Learning का उपयोग करके एक सुविधा तैयार की है जिसका उपयोग करके विभिन्न रोगों की भविष्यवाणी की जा सकती है। यह सुविधा उपयोगकर्ताओं को उनके स्वास्थ्य को बेहतर बनाने के लिए मदद कर सकती है।

उपकरण और प्रौद्योगिकी:

  • Python
  • Machine Learning
  • Streamlit

कार्यप्रणाली:

यह सुविधा सभी मुख्य रोगों के लिए वैश्विक डेटासेट का उपयोग करके तैयार की गई है। उपयोगकर्ता एक सरल इनपुट स्वरूप को भरकर चिकित्सा रोग की भविष्यवाणी कर सकता है।

संशोधित कोड:


import streamlit as st
import pandas as pd
import numpy as np
from sklearn.model_selection import train_test_split
from sklearn.ensemble import RandomForestClassifier
from sklearn.metrics import accuracy_score

# Load the dataset
data = pd.read_csv('dataset.csv')

# Data preprocessing
X = data.drop('Disease', axis=1)
y = data['Disease']

# Split the data
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)

# Train the model
model = RandomForestClassifier()
model.fit(X_train, y_train)

# Make predictions
y_pred = model.predict(X_test)

# Calculate accuracy
accuracy = accuracy_score(y_test, y_pred)

st.write('Accuracy:', accuracy)

नतीजे:

इस प्रोजेक्ट का उपयोग करके उपयोगकर्ता रोगों की भविष्यवाणी कर सकते हैं और अपने स्वास्थ्य को सुरक्षित रख सकते हैं।

0 0 votes
Article Rating
13 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
@francisftaylor4680
1 month ago

Thanks so much .

@TechMediaMalayalam12
1 month ago

Hi sir, instead of these dataset. Can you explain how to use icd-10 code dataset.

@vrutikabagul4471
1 month ago

Which algorithm is used in this project

@jilshadm9796
1 month ago

Hii sir!! i'm a student, i want to know that what type of database lang are we used here to upload dataset(like mysql in python). which one used here?pls..pls…reply

@gamingseason6482
1 month ago

code share karona bhai

@mohammadayaansiddiqui7125
1 month ago

Just came across your channel, loved it !! I am a web3 dev but started exploring ML recently and loved this project, keep building more projects, your explanation was great

@uniqueclashstratergies10m4
1 month ago

Bro placement ke lyi kitni CGPA chaiye GNDU mai ? AUR APKA KITNA PACKAGE HAI ?

@amolikabhasin
1 month ago

Very nicely explained 👍

@gursimransingh7018
1 month ago

Great video 📸 . Bhai placement kaha Hui apki ?

@SairishAmbarsariya
1 month ago

👌🏻👌🏻👌🏻🔥🔥

@khushikapoor6782
1 month ago

Very helpful 👌

@jatinmiglani2291
1 month ago

Thank you for uploading this.

@adivp7
1 month ago

Kyun