The keras extension in RM is not stable. RM has Deep learning extension which can be used for CNN and LSTM (Deep networks). This deep learning is available in market place and runs on DL4j instead of Keras. This also comes with sample processes for your understanding.
If you want to try keras. please look at the below thread where jpuente gave clear settings that are needed to run keras extension. You should use exact versions of packages suggested in the below thread.
Be Safe. Follow precautions and Maintain Social Distancing
2
sgenzerAdministrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM ModeratorPosts: 2,959 Community Manager
Hello. Thanks for sharing the thread and now i have run the keras sample codes successfully. But now when i add some convolutional and pooling layer i get an error message "input 0 is incompatible with layer conv1d_2 expected ndim 3 found ndim 2". please help me to solve this issue thanks to you in advance
Yes, there is an issue with the shapes of CNN networks in keras extension. Even I tried many and nothing worked out. As this extension is kind of outdated due to new extension (Deep Learning) availability there is no much support for this.
I left keras extension and used python to develop models before the new deep learning extension was deployed by RM.
Can you please guide me how to use CNN in python for iris dataset. I need some example or tutorial to implement iris dataset as i have modified my datset according to iris dataset. i will be extremely thankful to you, if you please guide me and help me.
Did you download the new "Deep learning extension" in RM which has Iris data as an example provided? Screenshot provided in this post.
I applied to CNN in this IRIS data set sample and it worked well. Please see code below. For this code to work you should download the "Deep Learning" extension.
Answers
The keras extension in RM is not stable. RM has Deep learning extension which can be used for CNN and LSTM (Deep networks). This deep learning is available in market place and runs on DL4j instead of Keras. This also comes with sample processes for your understanding.
If you want to try keras. please look at the below thread where jpuente gave clear settings that are needed to run keras extension. You should use exact versions of packages suggested in the below thread.
https://community.rapidminer.com/discussion/comment/54662#Comment_54662
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing
- which hyperlink did you go to (or did you just close it)?
- how can we make this process better so that you find this information?
The reasons I ask are because:Thanks!
Scott
thanks to you in advance
Yes, there is an issue with the shapes of CNN networks in keras extension. Even I tried many and nothing worked out. As this extension is kind of outdated due to new extension (Deep Learning) availability there is no much support for this.
I left keras extension and used python to develop models before the new deep learning extension was deployed by RM.
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing
Did you download the new "Deep learning extension" in RM which has Iris data as an example provided? Screenshot provided in this post.
I applied to CNN in this IRIS data set sample and it worked well. Please see code below. For this code to work you should download the "Deep Learning" extension.
For Deep learning using keras in python, there are many sample programs available in Kaggle. One such CNN network is in the below link.
https://www.kaggle.com/moghazy/guide-to-cnns-with-data-augmentation-keras
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing