-
Notifications
You must be signed in to change notification settings - Fork 521
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into automl_model_estimator_doc
- Loading branch information
Showing
87 changed files
with
13,154 additions
and
832 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
### Description | ||
|
||
<!-- A clear and concise description of the issue or feature request. --> | ||
|
||
### Environment | ||
|
||
- FLAML version: <!-- Specify the FLAML version (e.g., v0.2.0) --> | ||
- Python version: <!-- Specify the Python version (e.g., 3.8) --> | ||
- Operating System: <!-- Specify the OS (e.g., Windows 10, Ubuntu 20.04) --> | ||
|
||
### Steps to Reproduce (for bugs) | ||
|
||
<!-- Provide detailed steps to reproduce the issue. Include code snippets, configuration files, or any other relevant information. --> | ||
|
||
1. Step 1 | ||
1. Step 2 | ||
1. ... | ||
|
||
### Expected Behavior | ||
|
||
<!-- Describe what you expected to happen. --> | ||
|
||
### Actual Behavior | ||
|
||
<!-- Describe what actually happened. Include any error messages, stack traces, or unexpected behavior. --> | ||
|
||
### Screenshots / Logs (if applicable) | ||
|
||
<!-- If relevant, include screenshots or logs that help illustrate the issue. --> | ||
|
||
### Additional Information | ||
|
||
<!-- Include any additional information that might be helpful, such as specific configurations, data samples, or context about the environment. --> | ||
|
||
### Possible Solution (if you have one) | ||
|
||
<!-- If you have suggestions on how to address the issue, provide them here. --> | ||
|
||
### Is this a Bug or Feature Request? | ||
|
||
<!-- Choose one: Bug | Feature Request --> | ||
|
||
### Priority | ||
|
||
<!-- Choose one: High | Medium | Low --> | ||
|
||
### Difficulty | ||
|
||
<!-- Choose one: Easy | Moderate | Hard --> | ||
|
||
### Any related issues? | ||
|
||
<!-- If this is related to another issue, reference it here. --> | ||
|
||
### Any relevant discussions? | ||
|
||
<!-- If there are any discussions or forum threads related to this issue, provide links. --> | ||
|
||
### Checklist | ||
|
||
<!-- Please check the items that you have completed --> | ||
|
||
- [ ] I have searched for similar issues and didn't find any duplicates. | ||
- [ ] I have provided a clear and concise description of the issue. | ||
- [ ] I have included the necessary environment details. | ||
- [ ] I have outlined the steps to reproduce the issue. | ||
- [ ] I have included any relevant logs or screenshots. | ||
- [ ] I have indicated whether this is a bug or a feature request. | ||
- [ ] I have set the priority and difficulty levels. | ||
|
||
### Additional Comments | ||
|
||
<!-- Any additional comments or context that you think would be helpful. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Bug Report | ||
description: File a bug report | ||
title: "[Bug]: " | ||
labels: ["bug"] | ||
|
||
body: | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Describe the bug | ||
description: A clear and concise description of what the bug is. | ||
placeholder: What went wrong? | ||
- type: textarea | ||
id: reproduce | ||
attributes: | ||
label: Steps to reproduce | ||
description: | | ||
Steps to reproduce the behavior: | ||
1. Step 1 | ||
2. Step 2 | ||
3. ... | ||
4. See error | ||
placeholder: How can we replicate the issue? | ||
- type: textarea | ||
id: modelused | ||
attributes: | ||
label: Model Used | ||
description: A description of the model that was used when the error was encountered | ||
placeholder: gpt-4, mistral-7B etc | ||
- type: textarea | ||
id: expected_behavior | ||
attributes: | ||
label: Expected Behavior | ||
description: A clear and concise description of what you expected to happen. | ||
placeholder: What should have happened? | ||
- type: textarea | ||
id: screenshots | ||
attributes: | ||
label: Screenshots and logs | ||
description: If applicable, add screenshots and logs to help explain your problem. | ||
placeholder: Add screenshots here | ||
- type: textarea | ||
id: additional_information | ||
attributes: | ||
label: Additional Information | ||
description: | | ||
- FLAML Version: <!-- Specify the FLAML version (e.g., v0.2.0) --> | ||
- Operating System: <!-- Specify the OS (e.g., Windows 10, Ubuntu 20.04) --> | ||
- Python Version: <!-- Specify the Python version (e.g., 3.8) --> | ||
- Related Issues: <!-- Link to any related issues here (e.g., #1) --> | ||
- Any other relevant information. | ||
placeholder: Any additional details |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
blank_issues_enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Feature Request | ||
description: File a feature request | ||
labels: ["enhancement"] | ||
title: "[Feature Request]: " | ||
|
||
body: | ||
- type: textarea | ||
id: problem_description | ||
attributes: | ||
label: Is your feature request related to a problem? Please describe. | ||
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
placeholder: What problem are you trying to solve? | ||
|
||
- type: textarea | ||
id: solution_description | ||
attributes: | ||
label: Describe the solution you'd like | ||
description: A clear and concise description of what you want to happen. | ||
placeholder: How do you envision the solution? | ||
|
||
- type: textarea | ||
id: additional_context | ||
attributes: | ||
label: Additional context | ||
description: Add any other context or screenshots about the feature request here. | ||
placeholder: Any additional information |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: General Issue | ||
description: File a general issue | ||
title: "[Issue]: " | ||
labels: [] | ||
|
||
body: | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Describe the issue | ||
description: A clear and concise description of what the issue is. | ||
placeholder: What went wrong? | ||
- type: textarea | ||
id: reproduce | ||
attributes: | ||
label: Steps to reproduce | ||
description: | | ||
Steps to reproduce the behavior: | ||
1. Step 1 | ||
2. Step 2 | ||
3. ... | ||
4. See error | ||
placeholder: How can we replicate the issue? | ||
- type: textarea | ||
id: screenshots | ||
attributes: | ||
label: Screenshots and logs | ||
description: If applicable, add screenshots and logs to help explain your problem. | ||
placeholder: Add screenshots here | ||
- type: textarea | ||
id: additional_information | ||
attributes: | ||
label: Additional Information | ||
description: | | ||
- FLAML Version: <!-- Specify the FLAML version (e.g., v0.2.0) --> | ||
- Operating System: <!-- Specify the OS (e.g., Windows 10, Ubuntu 20.04) --> | ||
- Python Version: <!-- Specify the Python version (e.g., 3.8) --> | ||
- Related Issues: <!-- Link to any related issues here (e.g., #1) --> | ||
- Any other relevant information. | ||
placeholder: Any additional details |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[![PyPI version](https://badge.fury.io/py/FLAML.svg)](https://badge.fury.io/py/FLAML) | ||
![Conda version](https://img.shields.io/conda/vn/conda-forge/flaml) | ||
[![Build](https://github.com/microsoft/FLAML/actions/workflows/python-package.yml/badge.svg)](https://github.com/microsoft/FLAML/actions/workflows/python-package.yml) | ||
![Python Version](https://img.shields.io/badge/3.8%20%7C%203.9%20%7C%203.10-blue) | ||
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/FLAML)](https://pypi.org/project/FLAML/) | ||
[![Downloads](https://pepy.tech/badge/flaml)](https://pepy.tech/project/flaml) | ||
[![](https://img.shields.io/discord/1025786666260111483?logo=discord&style=flat)](https://discord.gg/Cppx2vSPVP) | ||
|
||
|
@@ -14,6 +14,8 @@ | |
<br> | ||
</p> | ||
|
||
:fire: FLAML supports AutoML and Hyperparameter Tuning in [Microsoft Fabric Data Science](https://learn.microsoft.com/en-us/fabric/data-science/automated-machine-learning-fabric). In addition, we've introduced Python 3.11 support, along with a range of new estimators, and comprehensive integration with MLflow—thanks to contributions from the Microsoft Fabric product team. | ||
|
||
:fire: Heads-up: We have migrated [AutoGen](https://microsoft.github.io/autogen/) into a dedicated [github repository](https://github.com/microsoft/autogen). Alongside this move, we have also launched a dedicated [Discord](https://discord.gg/pAbnFJrkgZ) server and a [website](https://microsoft.github.io/autogen/) for comprehensive documentation. | ||
|
||
:fire: The automated multi-agent chat framework in [AutoGen](https://microsoft.github.io/autogen/) is in preview from v2.0.0. | ||
|
@@ -22,8 +24,6 @@ | |
|
||
:fire: [autogen](https://microsoft.github.io/autogen/) is released with support for ChatGPT and GPT-4, based on [Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inference](https://arxiv.org/abs/2303.04673). | ||
|
||
:fire: FLAML supports Code-First AutoML & Tuning – Private Preview in [Microsoft Fabric Data Science](https://learn.microsoft.com/en-us/fabric/data-science/). | ||
|
||
## What is FLAML | ||
|
||
FLAML is a lightweight Python library for efficient automation of machine | ||
|
@@ -154,3 +154,9 @@ provided by the bot. You will only need to do this once across all repos using o | |
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). | ||
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or | ||
contact [[email protected]](mailto:[email protected]) with any additional questions or comments. | ||
|
||
## Contributors Wall | ||
|
||
<a href="https://github.com/microsoft/flaml/graphs/contributors"> | ||
<img src="https://contrib.rocks/image?repo=microsoft/flaml&max=204" /> | ||
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
import logging | ||
|
||
from flaml.automl import AutoML, logger_formatter | ||
try: | ||
from flaml.automl import AutoML, logger_formatter | ||
|
||
has_automl = True | ||
except ImportError: | ||
has_automl = False | ||
from flaml.onlineml.autovw import AutoVW | ||
from flaml.tune.searcher import CFO, FLOW2, BlendSearch, BlendSearchTuner, RandomSearch | ||
from flaml.version import __version__ | ||
|
||
# Set the root logger. | ||
logger = logging.getLogger(__name__) | ||
logger.setLevel(logging.INFO) | ||
|
||
if not has_automl: | ||
logger.warning("flaml.automl is not available. Please install flaml[automl] to enable AutoML functionalities.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.