Rakesh9100 / ML-Project-Drug-Review-Dataset

This is an innovative machine learning project that utilizes patient reviews with many other attributes to analyze and evaluate the effectiveness of drugs.
https://ml-project-drug-review-dataset.streamlit.app
Apache License 2.0
87 stars 117 forks source link

Fix some import issues #211

Closed leidZhang closed 6 months ago

leidZhang commented 7 months ago

Description

I used mypy to test the project, and I found some import errors. I have attached the test result of mypy mypy_result_MPDRD (2).txt

The following are the related errors: ML-Project-Drug-Review-Dataset\main.py:993: error: Name "GridSearchCV" is not defined [name-defined] ML-Project-Drug-Review-Dataset\main.py:1950: error: Name "hub" is not defined [name-defined] ML-Project-Drug-Review-Dataset\main.py:1954: error: Name "tf" is not defined [name-defined] ML-Project-Drug-Review-Dataset\main.py:1958: error: Name "tf" is not defined [name-defined] ML-Project-Drug-Review-Dataset\main.py:1960: error: Name "tf" is not defined [name-defined] ML-Project-Drug-Review-Dataset\main.py:1961: error: Name "tf" is not defined [name-defined] ML-Project-Drug-Review-Dataset\main.py:1962: error: Name "tf" is not defined [name-defined]

Screenshots

No response

Additional information

No response

github-actions[bot] commented 7 months ago

👋 Thank you for raising an issue! We will investigate and get back to you as soon as possible. @leidZhang Please make sure you have given as much context as possible and similar issue has not been opened before.

Nithinkumar3000 commented 6 months ago

Hi! Install tensorflow as - pip install tensorflow Now, import tensorflow as - import tensorflow as tf

"tf not defined" issue can be cleared

therohithborana commented 6 months ago

Please assign this issue to me.

ShreyaAwasekar commented 6 months ago

install tensorflow as ! pip install tensorflow import tensorflow as tf from tensorflow import keras

sonalisdas commented 6 months ago

Hello, I'm a GSSoC'24 contributor and wish to work on this issue.

K-Svayam05 commented 6 months ago

Hello! I am a GSSoC '24 Contributor, and being experienced with Python, Machine Learning, Regression models, Classification models and python libraries, I would like to work on this issue. So I request you to assign this task to me!

github-actions[bot] commented 6 months ago

👋 @leidZhang This issue is closed. Thank You!!