How to Call MATLAB from Python
It shows how to call MATLAB® code from Python using a sentiment analysis example. In this example, Python is used for listening to audio through a microphone and detecting text from speech.
Then, a pretrained machine learning model in MATLAB is used to predict the sentiment (positive, negative, or neutral) of the detected text. First, you will see how the MATLAB Engine API for Python can be used to directly call MATLAB as a computational engine from Python code. Next, you will learn how to deploy MATLAB code as a Python package using MATLAB Compiler SDK™. This deployed package requires only the MATLAB Runtime, which enables you to share your code royalty-free with users who do not need MATLAB. • Resources: Calling MATLAB from Python: http://bit.ly/2VjLmpJ • Generate a Python package from MATLAB:http://bit.ly/3383NQT • Train a sentiment classifier: http://bit.ly/2pqUQn3 • Sequence classification using deep learning: http://bit.ly/2pt3RMx
Then, a pretrained machine learning model in MATLAB is used to predict the sentiment (positive, negative, or neutral) of the detected text. First, you will see how the MATLAB Engine API for Python can be used to directly call MATLAB as a computational engine from Python code. Next, you will learn how to deploy MATLAB code as a Python package using MATLAB Compiler SDK™. This deployed package requires only the MATLAB Runtime, which enables you to share your code royalty-free with users who do not need MATLAB. • Resources: Calling MATLAB from Python: http://bit.ly/2VjLmpJ • Generate a Python package from MATLAB:http://bit.ly/3383NQT • Train a sentiment classifier: http://bit.ly/2pqUQn3 • Sequence classification using deep learning: http://bit.ly/2pt3RMx
No comments