Zero division error

chinrenjiechinrenjie Member Posts: 8 Contributor I
edited November 2018 in Help

Zero Dividion Error.PNG 
I have encountered the error as shown (Zero Division Error) while running the Keras Model. May anyone give me some advice to solve the error. Your help is highly appreciated. Thank you. 


Best Answer

  • Options
    pschlunderpschlunder Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, RMResearcher, Member Posts: 96 RM Research
    Solution Accepted

    Hi @chinrenjie,

    it seems that you didn't define the input_shape (1st option of the Keras Model Operator) correctly (and used a zero for the number of features) or your provided data set contains no columns. Checkout the definition of the input shape in the slide deck provided with out Keras webinar or in the official Keras docu.


    We also have a longer thread with reoccurring questions regarding the Keras extension here.




Sign In or Register to comment.