This repository demonstrates the integration of machine learning workflows using the hana-ml
library with SAP HANA. The project is organized into two main components:
sap-hana-mock/
: Contains code that simulates the SAP HANA environment, which allows to test and demonstrate ML workflows without needing an actual instance.sap-hana-instance/
: Contains the actual integration with an SAP HANA instance. It includes the necessary code to connect to SAP HANA, perform analysis, and use machine learning models with thehana-ml
library. In this version, the model is trained using the Wine Quality dataset and utilizesPolynomialRegression
for predictions.
For more information about the dataset, visit Wine Quality dataset on OpenML.
git clone https://github.com/Mahpara/sap-hana-ml.git
cd sap-hana-ml
Install the required libraries for both environments. Navigate to the appropriate folder and run:
pip install -r requirements.txt
Run the main.py script in the appropriate folder:
python main.py