-
Python script to create nodes grid and change the node ID so they are ordered.
Overview: This Python script creates a grid of nodes. Every new node that is created is renumbered so that the node IDs are in ascending order starting at a specified ID.
-
Unable to output anything after Execute Python operator
I am trying to make a lasso regression plot with my dataset. However, it just does not show anything for my output in my Execute Python operator. My code is supposed to return the coefficient of the regression. There is no way for me to connect my Python block with any other operators as the other inputs are all expecting…
-
Printing model summary of python models built using Python Learner .
Hi All, I have stored models which were built using Custom Python Learner in RapidMiner ? Is there any way to print the model information using these stored objects (.ioo) alone? I tried passing the Python model object as input to Execute Python and Python Transformer, but it failed to accept the input.
-
Logic based Rule/Decision Tree/Flowcharts in RapidMiner
Hi, I want to know whether Rapidminer has operators that can allow me to build decision trees using basic operations like {if else} and maybe even use the condition{>, <}. I know RM supports learning decision tree models through its operator, but can I manually build such a tree, in a way people draw a tree in other…
-
Does Rapidminer have python built in?
Hello, I am currently trying to use Python Transformer or Execute Python operator.I understand that if you specify the python environment in Preferences, you can import the package installed there. 1. I would like to know whether there are any limits to the packages that can be imported, and if so, what types of packages…
-
I am getting error of Process failed: Wrong input of type 'Data table' at port 'example set input'.
after converting Radoop Nest process to In Database Nest process while running python script output dataframe, is showing polynomial type then I use to store the results in csv and then use csv to convert into nominal type but still getting the same error
-
Python script problems need help
I have a some lines of python that fill in missing values with text scraping. I would like to execute this python code within Rapidminer. When i run it in Pycharm it works just fine and gives the expected output. So i changed the file with def rm_main(data): But when i run the process i get an error that a certain item…
-
Bug in tutorial process in Execute Python Operator
Hi there. I'm trying the tutorial process "Creating a chart using Python and storing it in your repository", because I need to extract some charts from the Python package, but when I try to run the tutorial process, the process stops and shows a "Parsing failed. ". message.
This is because the pandas.io.data package used…
-
Saving Plot in my repository with Python
Hello, I'm trying to do this: Unfortunately, I don't know how because I can't see the contents, it's just a picture in the documentation. In my case, I receive data in the operator "Execute Python". After, I make a plot with Matplotlib in the script that I want to store in my repository. Hope this is clear. If anyone could…
-
Execute python JSONDecode error
what does this error means and how do I check for the specific line? I am simply trying to read a dataset through "Execute Python" operator.
-
Exception occur when use Generate Interpretation operator with Python Learner
I am trying to use Generate Interpretation operator with Python learner but it keeps give me this Exception, I have tried several models in the Python code such as SVM and GausianMixture. Also the Log shows this warning "Custom Python Learner: The number of regular attributes of the given example set does not fit the…
-
Panda Module detected but unable to load (MacOS)
I am trying to link my Python 3.10 with RapidMiner but always get this message. Does anyone know how to resolve this?
-
Resources on Fast Large Margin implementation in python
Hello everyone I'm a M.Sc data analyst student getting some interesting results with my sentiment analysis research, specifically if anyone has any resources towards implementing the Fast Large Margin algorithm in Python it would be much appreciated. I have been unable to find many resources for fast large margin that are…
-
Documentation about type conversion between RapidMiner and Python
Hi There, Is there any documentation about how datatypes are passed around and converted from RapidMiner to Python and vice versa ? For instance, I see that a datetime is tossed as an normal object in pandas. When you transfer a datetime column to RapidMiner back you get a warning : FutureWarning: casting datetime64[ns,…
-
Python API not running as wanted
Hi I am really new to RM and the whole ecosystem. For a student project I deployed a RM AI Hub on a server with the docker deployment which works all as expected. But if I try to run a process via python I get an error and have no clue how to solve that issue. Python snippet: import rapidminer connector =…
-
Reading excel file written by Rapidminer in Pandas Dataframe
Hello, I have a process in RM that writes some data into excel using "Write Excel" operator, and the file format is .xlsx This excel file is to be read in a Python script for which I use pandas library, but the excel file is read as an empty dataframe within the script. It can only read the first column name in the excel…
-
Does GPU support Deeplearning Python script
If I have deep learning code written in Keras and in python, can I execute the code in GPU in enterprise edition? In some of the documentation it's mentioned GPU works only with DeepLearnig operator, does it mean it doesn't work with plain Python code for Deep learning
-
Apply Pytorch Model in Rapidminer
Hey guys, I implemented a Pytorch Model and trained it and now i want to apply this model in Rapidminer. Is this possible? When i retrieve the model and try to apply it with the "Apply Model"-Operator I get the following error message: "Your connection is producing the wrong type of data. Try changing the starting point of…
-
Import function from other Python file
I'm new to RapidMiner and I'm trying to use the Python Transfomer. I've been able to import libraries installed in my Anaconda environments. However, I want to import a function from another Python file (.py script) I have locally in my computer to be used in the Python Transformer. Is there any way I can do this? Thanks…
-
"Size of the given column does not match previously defined number of rows" Error
Dear Community,I'm trying to use Facebook Prophet in Python Learner operator. However, I am getting the error "Process failed: operator cannot be executed (Size of the given column does not match previously defined number of rows)" during executing the rm_apply function of the Python Learner operator. Please tell me the…
-
How to load multiple dataset via "execute python" operator?
Hello, I am working with the execute python operator. I know how the overall structure works and was successful running it but when I work with multiple datasets I am a bit confused how it works. How do I declare the datasets after I connect the input ports? Thanks.
-
Can we import model built in python to Rapidminer?
If I build a model in python, then can I import the model into rapidminer?
-
Python code in Jupyter
I have an excel sheet that is updating with real-time data. Here the time is extracting as 2.0211E+13 which should be like this 20210513095417. I need to extract 2.0211E+13 and split it into each column as date and time in Python (Jupyter notebook)? Anybody, please help.
-
macro concept in programming
Hello. I am looking at the Studio tutorial #4 called Macros and Sampling. Can someone explain in familiar programming language (like Python or Java etc.) what macros are in RapidMiner? I am not really sure. The are said to be variables but I don't think that is the full story. And do they have anything to do with macros in…
-
Cannot run Jupyter Notebook
Hi, I am very new to Rapidmider. I am trying to run a Jupyter notebook, but I keep getting this error: The execution of the Python script failed. Please check your Python script: TypeError: rm_main() missing 1 required positional argument. I trying to run this code, because I saw in a video that I should write this command…