{ "info": { "author": "Antoine de Mathelin", "author_email": "antoine.demat@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# ADAPT\n\n[](https://pypi.org/project/adapt)\n[](https://github.com/adapt-python/adapt/actions)\n[](https://img.shields.io/badge/python-3.8%20|%203.9%20|%203.10|%203.11-blue)\n[](https://codecov.io/gh/adapt-python/adapt)\n\n**A**wesome **D**omain **A**daptation **P**ython **T**oolbox\n\n---\n\nADAPT is an open source library providing numerous tools to perform Transfer Learning and Domain Adaptation.\n\nThe purpose of the ADAPT library is to facilitate the access to transfer learning algorithms for a large public, including industrial players. ADAPT is specifically designed for [Scikit-learn](https://scikit-learn.org/stable/) and [Tensorflow](https://www.tensorflow.org/) users with a \"user-friendly\" approach. All objects in ADAPT implement the ***fit***, ***predict*** and ***score*** methods like any scikit-learn object. A very detailed documentation with several examples is provided:\n\n:arrow_right: [Documentation](https://adapt-python.github.io/adapt/)\n\n
\n \n \n Sample bias correction\n \n \n ![]() | \n \n \n \n Model-based Transfer\n \n \n ![]() | \n
\n \n \n Deep Domain Adaptation\n \n \n ![]() | \n \n \n \n Multi-Fidelity Transfer\n \n \n ![]() | \n
\n \nAdapt Estimator\n \n \n\t\n```python\nAdaptEstimator(\n\testimator = \"\"\"A scikit-learn estimator\n\t (like Ridge(alpha=1.) for example)\n\t\t or a Tensorflow Model\"\"\",\n\tXt = \"The target input features\",\n\tyt = \"The target output labels (if any)\",\n\t**params = \"Hyper-parameters of the AdaptEstimator\"\n)\n```\n\t\n | \n \nDeep Adapt Estimator\n \n \n\n\t\n```python\nDeepAdaptEstimator(\n\tencoder = \"A Tensorflow Model (if required)\",\n\ttask = \"A Tensorflow Model (if required)\",\n\tdiscriminator = \"A Tensorflow Model (if required)\",\n\tXt = \"The target input features\",\n\tyt = \"The target output labels (if any)\",\n\t**params = \"\"\"Hyper-parameters of the DeepAdaptEstimator and\n\t\t the compile and fit params (optimizer, epochs...)\"\"\"\n)\n```\n\t\n\n | \n\t\n\t\n\n\n \nScikit-learn Meta-Estimator\n \n \n\t\n```python\nSklearnMetaEstimator(\n\tbase_estimator = \"\"\"A scikit-learn estimator\n\t\t\t (like Ridge(alpha=1.) for example)\"\"\",\n\t**params = \"Hyper-parameters of the SklearnMetaEstimator\"\n)\n```\n\t\n\n | \n