Jupyter Notebook is not showing the output of code executed on the cell.
Data ·19 Aug 2020, 19:34·9
Kindly Help Me Out! My codes have been smooth and running well until it got to a point where it stopped responding. The Jupyter Notebook stops executing my codes but it rather "stars" the inputs instead of producing outputs.
That star means the cell is still running. Maybe you are doing something computationally intensive. Typically when you are training your model or Trying to make predictions.
Before you get to predictions you have to clean up the data in the tables.
Some cells have missing values and text values that the machine learning algorithm cannot work with. For the missing values you'll have to decide whether to replace them or drop them.
For the categorical text values you'll have to encode them such that they are converted to numbers and your model can work with them.
When it shows star it means a line of code is still running and you have to wait for it to finishing running before other line of code can also run. You try to run each cell one after the other to take note of the cell that makes Kernel run for a longer time
Check out the starter notebook dropped by @Adeoluwa in the discussion
Your model only understand Interfer/floats values hence it means some of your columns still contains String values and need to be converted to float/strings you can use with Label encoder or pandas get dummy method to convert your column that contains String to float values for prediction
That star means the cell is still running. Maybe you are doing something computationally intensive. Typically when you are training your model or Trying to make predictions.
Thank you Danex.
I am having issues with #Predicting the probability of CHURN of each Customer. It is showing "ValueError: could not convert string to float: 'None' "
I am a novice, and this is my first ever challenge. I am all alone, no study partner.
I will appreciate your help
Thank you.
Before you get to predictions you have to clean up the data in the tables.
Some cells have missing values and text values that the machine learning algorithm cannot work with. For the missing values you'll have to decide whether to replace them or drop them.
For the categorical text values you'll have to encode them such that they are converted to numbers and your model can work with them.
When it shows star it means a line of code is still running and you have to wait for it to finishing running before other line of code can also run. You try to run each cell one after the other to take note of the cell that makes Kernel run for a longer time
Thank you, Emmanuel.
I am having issues with #Predicting the probability of CHURN of each Customer. It is showing "ValueError: could not convert string to float: 'None' "
I am a novice, and this is my first ever challenge. I am all alone, no study partner.
I will appreciate your help
Thank you.
Check out this Starter Notebook https://github.com/JUGG097/Logistic-Regression-Starter-Notebook
Check out the starter notebook dropped by @Adeoluwa in the discussion
Your model only understand Interfer/floats values hence it means some of your columns still contains String values and need to be converted to float/strings you can use with Label encoder or pandas get dummy method to convert your column that contains String to float values for prediction
update the tornado module or Jupiter notebook. it works for me.