{"id":4442,"library":"autogluon-core","title":"AutoGluon Core","description":"AutoGluon is an open-source AutoML library developed by AWS AI, designed to automate machine learning tasks with minimal code. It supports various data types, including tabular, image, text, and time series, enabling users to train and deploy highly accurate models efficiently. The current version is 1.5.0, with regular updates introducing new features, performance improvements, and bug fixes, typically on a quarterly major release cadence with interim patch releases.","status":"active","version":"1.5.0","language":"en","source_language":"en","source_url":"https://github.com/autogluon/autogluon/","tags":["automl","machine-learning","tabular","time-series","multimodal","aws","deep-learning"],"install":[{"cmd":"pip install autogluon","lang":"bash","label":"Recommended installation for full AutoGluon functionality (includes autogluon-core)"}],"dependencies":[{"reason":"Required Python interpreter version range. (e.g., autogluon-core==1.5.0 requires >=3.10, <3.14).","package":"Python","optional":false}],"imports":[{"note":"While autogluon-core is the underlying package, users typically import high-level predictor classes from specific AutoGluon modules like autogluon.tabular, autogluon.timeseries, or autogluon.multimodal for machine learning tasks.","symbol":"TabularPredictor","correct":"from autogluon.tabular import TabularPredictor"},{"note":"Used for loading and managing tabular data within the AutoGluon framework, often in conjunction with TabularPredictor.","symbol":"TabularDataset","correct":"from autogluon.tabular import TabularDataset"}],"quickstart":{"code":"import pandas as pd\nfrom autogluon.tabular import TabularPredictor, TabularDataset\n\n# Create a dummy CSV for demonstration\ndata = {\n    'feature1': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],\n    'feature2': ['A', 'B', 'A', 'C', 'B', 'A', 'C', 'B', 'A', 'C'],\n    'target': [0, 1, 0, 1, 0, 1, 0, 1, 0, 1]\n}\ndf = pd.DataFrame(data)\ndf.to_csv('train.csv', index=False)\n\n# Load data using TabularDataset\ntrain_data = TabularDataset('train.csv')\n\n# Initialize and train a TabularPredictor\nlabel = 'target'\npredictor = TabularPredictor(label=label, path='AutogluonModels').fit(train_data)\n\n# Make predictions (example test data)\ntest_data = TabularDataset(pd.DataFrame({\n    'feature1': [11, 12, 13],\n    'feature2': ['A', 'B', 'C']\n}))\npredictions = predictor.predict(test_data)\n\nprint(\"Predictions:\")\nprint(predictions)\n","lang":"python","description":"This quickstart demonstrates how to use AutoGluon's TabularPredictor for a classification task. It involves loading a dataset, fitting a predictor by specifying the target column, and then making predictions on new data. AutoGluon automatically handles model selection, hyperparameter tuning, and ensemble creation."},"warnings":[{"fix":"Re-train your models using the new AutoGluon version after upgrading the library.","message":"Models trained with an older version of AutoGluon are generally not compatible with newer versions. Users are advised to re-train models after upgrading the library.","severity":"breaking","affected_versions":"All major versions (e.g., v0.8.x, v1.0.x, v1.1.x, v1.2.x, v1.3.x, v1.4.x, v1.5.x)"},{"fix":"Upgrade Python to version 3.9 or higher (current stable support: 3.10-3.12; 3.13 is experimental).","message":"Python 3.8 support was dropped in AutoGluon v1.2.0. Users on Python 3.8 will need to upgrade their Python environment to use v1.2.0 or newer.","severity":"breaking","affected_versions":">=1.2.0"},{"fix":"Use the new method names: `persist`, `model_names`, `predict_from_proba` respectively, and consult the release notes for a full list of renames.","message":"Several methods of `TabularPredictor` (e.g., `persist_models`, `get_model_names`, `get_pred_from_proba`) were deprecated in v1.0.0, started raising errors in v1.2.0, and were removed in v1.3.0.","severity":"deprecated","affected_versions":">=1.3.0 (removed), >=1.2.0 (raises error)"},{"fix":"For end-to-end ML, install the full `autogluon` package and import specific predictor classes from its submodules (e.g., `from autogluon.tabular import TabularPredictor`).","message":"`autogluon-core` is a foundational package primarily containing core utilities, searchers, and schedulers for hyperparameter tuning. Most users performing machine learning tasks will interact with higher-level packages like `autogluon.tabular`, `autogluon.timeseries`, or `autogluon.multimodal` (via `pip install autogluon`).","severity":"gotcha","affected_versions":"All versions"},{"fix":"Ensure adequate GPU resources or consider other presets like `best_quality` for larger datasets or CPU-only environments.","message":"The `extreme` preset for `TabularPredictor`, introduced in v1.4.0, often requires a CUDA-compatible GPU (ideally with 32+ GB vRAM) for optimal performance and is most effective for datasets with at most 30,000 samples. Inference time can also be longer than with other presets.","severity":"gotcha","affected_versions":">=1.4.0"},{"fix":"For production or critical workloads, consider using fully supported Python versions (3.10, 3.11, 3.12). If using 3.13, be aware of potential limitations.","message":"Python 3.13 support, introduced in v1.5.0, is currently experimental. Some features may not be available when running on Python 3.13, particularly on Windows.","severity":"gotcha","affected_versions":">=1.5.0"},{"fix":"Update model references from `\"TABPFNV2\"` to `\"REALTABPFN-V2\"` in your `hyperparameters` configurations.","message":"For users previously using `\"TABPFNV2\"` as a model, AutoGluon v1.4.0 (and newer) strongly recommends switching to `\"REALTABPFN-V2\"` to avoid breaking changes related to the underlying TabPFN releases.","severity":"breaking","affected_versions":">=1.4.0"}],"env_vars":null,"last_verified":"2026-04-12T00:00:00.000Z","next_check":"2026-07-11T00:00:00.000Z"}