-
Execute Python 'pandas module not found' when installed
I'm trying to use the Execute Python operator in RapidMiner. I have installed Python, pip and pandas: When I execute my rapidminer process I get the following error: 'Pandas module not found -- The pandas module for Python was not found. Please make sure that the pandas module for Python is installed in your execution…
-
Hypermesh Python problem
Hello, I'm trying to learn python in order to make script that I can use in hypermesh. I have a script with an input command (ID_node = input("\nEnter the ID of a node :\n \n") If I run this script with : file → load → python script, Hypermesh crashes but if I type the command directly in the Hypermesh python window, i can…
-
Implementing Higher Complexity Functions Through Python User Subroutines in MotionView
Overview: Using the Expression Builder in MotionView allows the User to write a variety of expressions to define Forces, Motions, and the positions of Points. However, higher level functions can be cumbersome in the Expression Builder, so a User Subroutine can be implemented to enable more complex and higher-order…
-
Location of files for HyperView python examples
Hi guys, I started to run some python examples for HyperView and HyperGraph. My version is not latest 2023.1. May be somebody knows where are those input/supporting files for python examples: aerobox.fem, aerobox-LC1-2.op2.. (see the screenshot). I guess these files are from some other tutorials - HyperMesh or OptiStruct?…
-
HyperStudyの標準リーダーでCAE結果ファイルの読み取りがうまくいかない場合は
Altair HyperStudyを用いることで、様々なCAEツールと連携させてDOE・最適化が実行できます。 ただし、たまに、HyperStudyの標準リーダーでCAE結果ファイルの読み取りがうまくいかない場合があります。その場合は、Pythonツールをご利用ください。 例えば、あるCAE結果として、下記のようなCSVファイルが生成されたとします。赤枠のベクトルデータを読み取りたいのですが、ヘッダ情報があったり、ラベルが複数行ある場合は、標準リーダではうまく読み取れません。 ElectronicsThermal_smart_objects.csv この場合は、Pythonを使用します。…
-
Modeling a Cone Penetrometer Test using EDEM
1. IntroductionThe Cone Penetrometer Test (CPT) is commonly used to characterize mechanical soil properties and often finds application in agricultural and geotechnical engineering. Also, calibration of DEM parameters against CPT results is often considered for modeling and analysis of equipment-soil interactions in…
-
HyperMesh Batch Mode로 python 파일 실행 방법
HyperMesh의 Batch Mode로 python 스크립트를 실행하는 방법에 대해 알아보겠습니다. 방법 1) CMD에서 실행하기 아래와 같은 실행 Command를 CMD창에서 실행 가능합니다. 단, 사용하시는 프로그램 버전에 따라 실행 명령어가 상이할 수 있습니다. "C:\Program Files\Altair\2024.1\hwdesktop\hwx\bin\win64\runhwx.exe" -cfg -client HyperWorksDesktop -plugin HyperworksPost -profile HyperworksPost -f…
-
How do I use the hyperview TCL command to get the post handle after manually import the model
Just as the title says, in hyperview, I need to manually import the model and draw the cloud image first, and then I need to use TCL to output pictures in batches. How can I get some handles in this case Thanks
-
Error when executing python file generated from .psimsch file
I generated a .py file using the "Save as Python Code" function in the "File" tab. When i want to run this .py file then, i recieve the error: from .Psim_Class import PSIM ImportError: bad magic number in 'psimapipy.Psim_Class': b'U\r\r\n' I executed the…
-
How to assign properly an allowable value for a Python Certification Method in composites material
Hello there, I want to create a Failure Theory using the Certification Method tool, using a simple python script. I assign the Xt, Yt, etc with the corresponding Material allowable defined in the MAT8 card but when running the method it shows an error saying "Warning, LongTensile StressLimit not available for element". I…
-
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.
-
FAQ - Python for HyperMesh
This article is a collection of the questions which we collected through support requests for usage of Python from HyperMesh 2024, and which are not documented yet in the online help. How can I access the data in the collections created by HyperMesh apart of using loops? The collection can be turned into a list. It can be…
-
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,…