Skip to content

An introduction into automated machine learning, via the FLAML AutoML framework. A basic example, along with examples in SAP contexts are provided.

License

Notifications You must be signed in to change notification settings

SAP-samples/flaml-samples

FLAML Samples

REUSE status

Description

In this repository, we demonstrate the power of automated machine learning (AutoML) by going into how FLAML - Microsoft's AutoML framework - can be used. We go over three examples in the following jupyter notebooks:

  1. Simple FLAML demo
  2. Classification FLAML Demo
  3. Regression FLAML Demo

The first demo introduces the user to the concept of how FLAML can be used, by working on the commonly used IRIS dataset. Examples two and three highlight how FLAML, and more generally AutoML, can be used in an SAP context. The second notebook goes over a classification example, where FLAML uses purchase order data to determine if a purchase order will be accepted or rejected - this is the Purchase Order Requisition Use Case. The third notebook goes over a regression example, where FLAML uses item data to determine the max allocation (or stock) of an item in a store - this is the Retail Order Use Case.

These demos cover the basics for how to use the FLAML library. For those who are interested in learning more, we strongly recommend their repository, and specifically the automl.py file, for a deeper dive.

Requirements

Python version >= 3.8. Specific Python packages, and their installation commands, are already contained in the notebook examples.

Download and Installation

Python downloads can be found here.

Known Issues

No known issues.

How to obtain support

Create an issue in this repository if you find a bug or have questions about the content.

For additional support, ask a question in SAP Community.

Contributing

If you wish to contribute code, offer fixes or improvements, please send a pull request. Due to legal reasons, contributors will be asked to accept a DCO when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses the standard DCO text of the Linux Foundation.

License

Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.

About

An introduction into automated machine learning, via the FLAML AutoML framework. A basic example, along with examples in SAP contexts are provided.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published