Primary competition visual

DSN Pre-Bootcamp Hackathon: Expresso Churn Prediction Challenge by Data Science Nigeria

Helping Nigeria
Knowledge
Completed (over 5 years ago)
Classification
Prediction
671 joined
358 active
Starti
Aug 08, 20
Closei
Aug 22, 20
Reveali
Aug 22, 20
User avatar
Waleabiodun
Federal Medical Center Abeokuta
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.

Thank you in advance.

Discussion 9 answers

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.

User avatar
Waleabiodun
Federal Medical Center Abeokuta

Thank you Danex.

User avatar
Waleabiodun
Federal Medical Center Abeokuta

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.

User avatar
University of benin

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

20 Aug 2020, 00:11
Upvotes 0
User avatar
Waleabiodun
Federal Medical Center Abeokuta

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

User avatar
University of benin

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

20 Aug 2020, 10:19
Upvotes 0

update the tornado module or Jupiter notebook. it works for me.

12 Oct 2022, 13:13
Upvotes 0