I have a MATLAB application that performs regression using LinearModel.stepwise. I translated the regression process into Python and tried pycaret, OLS, and RLM for regression. However, I noticed differences in the results compared to MATLAB. To ensure consistency, I want to use the MATLAB regression model within my Python application.
Locally, I can call MATLAB code from Python using the MATLAB Engine API for Python.
However, my long-term goal is to deploy this application on AWS. Since I have no prior experience with AWS, I am trying to understand the best approach.
My questions:
- Do the solutions mentioned in Run MATLAB on AWS and MATLAB in AWS involve running a full MATLAB instance in AWS?
- Is there an API or service that allows calling specific MATLAB functions and returning results without running a full MATLAB instance in AWS? Any guidance on configuring MATLAB in AWS for this use case would be greatly appreciated.