Categories

Versions

You are viewing the RapidMiner Python documentation for version 2024.0 - Check here for latest version

Python Scripting Extension - Release Notes

Version 10.1.2

Release date: July 18, 2024

Enhancement

  • Adding Mamba to the labels in the Preferences/Python Scripting

Bugfix

  • Fixing a bug with Conda/Mamba environment selection

Version 10.1.1

Release date: June 25, 2024

Enhancement

  • Rebranding to Altair AI Studio

Version 10.1.0

Release date: May 9, 2024

Enhancement

  • Compatible with the latest Studio core 2024.0 (10.4.0)
  • Compatible with the latest Python v3.12.3, the latest pandas v2.2.2 and the latest scikit-learn v1.4.2

Version 10.0.1

Release date: June 12, 2023

Bugfixes

  • Python models are now JSON Serializable
  • rm_metadata fixed for Python version 3.10

Version 10.0.0

Release date: November 8, 2022

Enhancements

  • Compatibility with Studio and AI Hub 10.0.0

Bugfixes

  • Fixed potential NullPointerException when running Python operators in parallel and using Conda

Version 9.10.2

Release date: February 11, 2022

New Features

  • New operator Python Forecaster to create custom Python based forecasting compatible with RapidMiner's time series models

Enhancements

  • Python Learner and Python Transformer can now specify additional input and output ports in the configuration

Version 9.10.1

Release date: October 7, 2021

Enhancements

  • Additional configuration options for Python operators: min/max for numeric parameters, attribute subset selection
  • Python Transformer can now specify that an input expects a connection

Bugfixes

  • Fixed potential false warning about the rm_main method in Execute Python when using a file with Windows-type line endings
  • rapidminer Python library: Studio.read_resource() may no longer fail when there is a dot character in the path
  • rapidminer Python library: Studio.read_resource() now can read files with .rmhdf5table extension

Version 9.10.0

Release date: August 11, 2021

New Features

  • Execute Python operator now uses the directory of the specified script file as a working directory, allowing the script to use other scripts, modules, models or other files in that directory
  • Execute Python with script parameter, Python Transformer and Python Learner operators in saved processes now use the location of the process as a working directory
  • Connection objects can now be read in Execute Python if connected to one of its input ports

Enhancements

  • Show Preview... action and tag filter suggestions in Execute Python now work with the script file input port as well

Compatibility notes

  • When using connections on the input ports of Execute Python in Python Scripting Extension 9.10, the cryptography Python package has to be installed in your Python environment

Version 9.9.1

Release date: May 31, 2021

New Features

  • New operator Remote Python Context allows to use a Remote Python Engine for running Python code

Version 9.9.0

Release date: March 23, 2021

New Features

  • New operator Python Learner to create custom Python based operator compatible with RapidMiner's model interfaces
  • New operator Python Transformer to create custom Python based operators for generic transformations

Bugfixes

  • Fixed an issue where the rm_main structure was not detected correctly in notebook files

Compatibility notes

  • Python Scripting Extension 9.9 requires RapidMiner Studio and RapidMiner AI Hub version 9.9 or later.
  • Python Scripting Extension 9.9 requires Pandas 1.0 or later.

Version 9.8.0

Release date: Oct 13, 2020

Enhancements

  • Stopping a process with Execute Python now kills the already started Python process as well
  • Newly installed environments now become immediately available in Job Agent or Web Service execution without restart

Version 9.7.1

Release date: Jun 24, 2020

Bugfixes

  • Empty data set on the Execute Python input no longer throws EmptyDataError
  • When a .py or .ipynb file is dropped onto the canvas from outside of Studio, the path parameter is now correctly set
  • More descriptive error message is thrown if a date value outside of the allowed range of datetime is used in Execute Python instead of "Python int too large to convert to C long"
  • Fixed potential false warning regarding missing rm_main method when a script file is used in

Version 9.7.0

Release date: Jun 3, 2020

When upgrading RapidMiner Server to version 9.7 or later, you must also update the Python Scripting Extension to version 9.7.

New Features

  • As the new repositories support storing arbitrary files, support for dragging and dropping .py and .ipynb files to the canvas has been introduced. RapidMiner Studio will take care of creating the necessary operators.
    • Note: no adjustments are made to the code when dragging and dropping, so users still need to take care of creating the rm_main function so the code will get executed properly. A run-time error will be displayed if this is not done.

Enhancements

  • Added support for projects, so the rapidminer Python library can function correctly.

Bugfixes

  • Optional hidden parameter (rapidminer.python_scripting.shell_command) added to avoid potential freeze during extension initialization on Linux and macOS(default value: bash -l -i -c)

Version 9.6.0

Release date: Feb 25, 2020

New Features

  • Macros are now accessible in Execute Python in an optional dict parameter. Their value can be modified in the script.

Enhancements

  • Pandas 1.0+ is now supported

Bugfixes

  • Array-like values in a DataFrame cell no longer cause error when the DataFrame is returned on the output
  • Irrelevant potential DtypeWarning while loading an input is suppressed now

Version 9.5.0

Release date: Dec 11, 2019

New Features

  • None at this time.

Enhancements

  • Improved robustness of Python execution on Mac and Linux systems
  • Improved data handover between RapidMiner and Python (expected to be faster, but slightly increased memory footprint)

Bugfixes

  • Fixed NoSuchMethodError when Execute Python is used in a web service on Server
  • Macros are now also substituted if you are using a .py or .ipynb file in Execute Python
  • False "Cannot retrieve file name" warning message is no longer logged
  • (Bugfixes listed below apply if you use an Execute Python operator with Compatibility level above 9.3.1)
  • ExampleSets containing multiline text are now handled correctly
  • Special characters in attribute names, roles and nominal values are now handled correctly
  • Time zone in date types is now handled correctly
  • Boolean nominal values are no longer converted to "True" and "False"
  • Explicit errors are now thrown when rm_metadata settings are in conflict with the values in the dataframe
  • Empty nominal value remains an empty string and no longer becomes missing value