[Python] Integrating MATLAB Regression into a Python Application on AWS Cloud

Discussão em 'Python' iniciado por Stack, Fevereiro 5, 2025.

  1. Stack

    Stack Membro Participativo

    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:

    1. Do the solutions mentioned in Run MATLAB on AWS and MATLAB in AWS involve running a full MATLAB instance in AWS?
    2. 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.

    Continue reading...

Compartilhe esta Página