Closed leidZhang closed 6 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.
Hi! Install tensorflow as - pip install tensorflow Now, import tensorflow as - import tensorflow as tf
"tf not defined" issue can be cleared
Please assign this issue to me.
install tensorflow as ! pip install tensorflow import tensorflow as tf from tensorflow import keras
Hello, I'm a GSSoC'24 contributor and wish to work on this issue.
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!
👋 @leidZhang This issue is closed. Thank You!!
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