ai-data-science-team 0.0.0.9007__tar.gz → 0.0.0.9009__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. ai_data_science_team-0.0.0.9009/MANIFEST.in +1 -0
  2. ai_data_science_team-0.0.0.9009/PKG-INFO +245 -0
  3. ai_data_science_team-0.0.0.9009/README.md +201 -0
  4. ai_data_science_team-0.0.0.9009/ai_data_science_team/_version.py +1 -0
  5. {ai_data_science_team-0.0.0.9007 → ai_data_science_team-0.0.0.9009}/ai_data_science_team/agents/__init__.py +4 -5
  6. {ai_data_science_team-0.0.0.9007 → ai_data_science_team-0.0.0.9009}/ai_data_science_team/agents/data_cleaning_agent.py +268 -116
  7. ai_data_science_team-0.0.0.9009/ai_data_science_team/agents/data_visualization_agent.py +760 -0
  8. ai_data_science_team-0.0.0.9009/ai_data_science_team/agents/data_wrangling_agent.py +847 -0
  9. ai_data_science_team-0.0.0.9009/ai_data_science_team/agents/feature_engineering_agent.py +790 -0
  10. ai_data_science_team-0.0.0.9009/ai_data_science_team/agents/sql_database_agent.py +797 -0
  11. ai_data_science_team-0.0.0.9009/ai_data_science_team/ml_agents/__init__.py +1 -0
  12. ai_data_science_team-0.0.0.9009/ai_data_science_team/ml_agents/h2o_ml_agent.py +1032 -0
  13. ai_data_science_team-0.0.0.9009/ai_data_science_team/multiagents/__init__.py +1 -0
  14. ai_data_science_team-0.0.0.9009/ai_data_science_team/multiagents/sql_data_analyst.py +398 -0
  15. ai_data_science_team-0.0.0.9009/ai_data_science_team/multiagents/supervised_data_analyst.py +2 -0
  16. {ai_data_science_team-0.0.0.9007 → ai_data_science_team-0.0.0.9009}/ai_data_science_team/templates/__init__.py +3 -1
  17. {ai_data_science_team-0.0.0.9007 → ai_data_science_team-0.0.0.9009}/ai_data_science_team/templates/agent_templates.py +319 -43
  18. {ai_data_science_team-0.0.0.9007 → ai_data_science_team-0.0.0.9009}/ai_data_science_team/tools/metadata.py +94 -62
  19. ai_data_science_team-0.0.0.9009/ai_data_science_team/tools/regex.py +164 -0
  20. ai_data_science_team-0.0.0.9009/ai_data_science_team/utils/__init__.py +0 -0
  21. ai_data_science_team-0.0.0.9009/ai_data_science_team/utils/plotly.py +24 -0
  22. ai_data_science_team-0.0.0.9009/ai_data_science_team.egg-info/PKG-INFO +245 -0
  23. {ai_data_science_team-0.0.0.9007 → ai_data_science_team-0.0.0.9009}/ai_data_science_team.egg-info/SOURCES.txt +10 -1
  24. ai_data_science_team-0.0.0.9009/ai_data_science_team.egg-info/requires.txt +20 -0
  25. ai_data_science_team-0.0.0.9007/ai_data_science_team.egg-info/requires.txt → ai_data_science_team-0.0.0.9009/requirements.txt +2 -1
  26. {ai_data_science_team-0.0.0.9007 → ai_data_science_team-0.0.0.9009}/setup.py +15 -17
  27. ai_data_science_team-0.0.0.9007/PKG-INFO +0 -183
  28. ai_data_science_team-0.0.0.9007/README.md +0 -151
  29. ai_data_science_team-0.0.0.9007/ai_data_science_team/_version.py +0 -1
  30. ai_data_science_team-0.0.0.9007/ai_data_science_team/agents/data_visualization_agent.py +0 -331
  31. ai_data_science_team-0.0.0.9007/ai_data_science_team/agents/data_wrangling_agent.py +0 -407
  32. ai_data_science_team-0.0.0.9007/ai_data_science_team/agents/feature_engineering_agent.py +0 -405
  33. ai_data_science_team-0.0.0.9007/ai_data_science_team/agents/sql_database_agent.py +0 -397
  34. ai_data_science_team-0.0.0.9007/ai_data_science_team/tools/regex.py +0 -79
  35. ai_data_science_team-0.0.0.9007/ai_data_science_team.egg-info/PKG-INFO +0 -183
  36. {ai_data_science_team-0.0.0.9007 → ai_data_science_team-0.0.0.9009}/LICENSE +0 -0
  37. {ai_data_science_team-0.0.0.9007 → ai_data_science_team-0.0.0.9009}/ai_data_science_team/__init__.py +0 -0
  38. {ai_data_science_team-0.0.0.9007 → ai_data_science_team-0.0.0.9009}/ai_data_science_team/orchestration.py +0 -0
  39. {ai_data_science_team-0.0.0.9007 → ai_data_science_team-0.0.0.9009}/ai_data_science_team/tools/__init__.py +0 -0
  40. {ai_data_science_team-0.0.0.9007 → ai_data_science_team-0.0.0.9009}/ai_data_science_team/tools/logging.py +0 -0
  41. {ai_data_science_team-0.0.0.9007 → ai_data_science_team-0.0.0.9009}/ai_data_science_team/tools/parsers.py +0 -0
  42. {ai_data_science_team-0.0.0.9007 → ai_data_science_team-0.0.0.9009}/ai_data_science_team.egg-info/dependency_links.txt +0 -0
  43. {ai_data_science_team-0.0.0.9007 → ai_data_science_team-0.0.0.9009}/ai_data_science_team.egg-info/top_level.txt +0 -0
  44. {ai_data_science_team-0.0.0.9007 → ai_data_science_team-0.0.0.9009}/setup.cfg +0 -0
@@ -0,0 +1 @@
1
+ include requirements.txt
@@ -0,0 +1,245 @@
1
+ Metadata-Version: 2.2
2
+ Name: ai-data-science-team
3
+ Version: 0.0.0.9009
4
+ Summary: Build and run an AI-powered data science team.
5
+ Home-page: https://github.com/business-science/ai-data-science-team
6
+ Author: Matt Dancho
7
+ Author-email: mdancho@business-science.io
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.9
10
+ Classifier: Programming Language :: Python :: 3.10
11
+ Classifier: Programming Language :: Python :: 3.11
12
+ Classifier: Programming Language :: Python :: 3.12
13
+ Requires-Python: >=3.9
14
+ Description-Content-Type: text/markdown
15
+ License-File: LICENSE
16
+ Requires-Dist: openpyxl
17
+ Requires-Dist: langchain
18
+ Requires-Dist: langchain_community
19
+ Requires-Dist: langchain_openai
20
+ Requires-Dist: langchain_experimental
21
+ Requires-Dist: langgraph>=0.2.57
22
+ Requires-Dist: openai
23
+ Requires-Dist: pandas
24
+ Requires-Dist: sqlalchemy
25
+ Requires-Dist: numpy
26
+ Requires-Dist: plotly
27
+ Requires-Dist: streamlit
28
+ Requires-Dist: scikit-learn
29
+ Requires-Dist: xgboost
30
+ Provides-Extra: machine-learning-agent
31
+ Requires-Dist: h2o; extra == "machine-learning-agent"
32
+ Provides-Extra: all
33
+ Requires-Dist: h2o; extra == "all"
34
+ Dynamic: author
35
+ Dynamic: author-email
36
+ Dynamic: classifier
37
+ Dynamic: description
38
+ Dynamic: description-content-type
39
+ Dynamic: home-page
40
+ Dynamic: provides-extra
41
+ Dynamic: requires-dist
42
+ Dynamic: requires-python
43
+ Dynamic: summary
44
+
45
+ <div align="center">
46
+ <a href="https://github.com/business-science/ai-data-science-team">
47
+ <picture>
48
+ <img src="/img/ai_data_science_team_logo.jpg" alt="AI Data Science Team" width="400">
49
+ </picture>
50
+ </a>
51
+ </div>
52
+ <div align="center">
53
+ <em>An AI-powered data science team of agents to help you perform common data science tasks 10X faster</em>
54
+ </div>
55
+ <div align="center">
56
+ <a href="https://pypi.python.org/pypi/ai-data-science-team"><img src="https://img.shields.io/pypi/v/ai-data-science-team.svg?style=for-the-badge" alt="PyPI"></a>
57
+ <a href="https://github.com/business-science/ai-data-science-team"><img src="https://img.shields.io/pypi/pyversions/ai-data-science-team.svg?style=for-the-badge" alt="versions"></a>
58
+ <a href="https://github.com/business-science/ai-data-science-team/blob/main/LICENSE"><img src="https://img.shields.io/github/license/business-science/ai-data-science-team.svg?style=for-the-badge" alt="license"></a>
59
+ </div>
60
+
61
+
62
+ # Your AI Data Science Team (🪖 An Army Of Agents)
63
+
64
+ **An AI-powered data science team of agents to help you perform common data science tasks 10X faster**.
65
+
66
+ [**Please ⭐ us on GitHub (it takes 2 seconds and means a lot).**](https://github.com/business-science/ai-data-science-team)
67
+
68
+ *Beta - This Python library is under active development. There may be breaking changes that occur until release of 0.1.0.*
69
+
70
+ ---
71
+
72
+ The AI Data Science Team of Copilots includes Agents that specialize data cleaning, preparation, feature engineering, modeling (machine learning), and interpretation of various business problems like:
73
+
74
+ - Churn Modeling
75
+ - Employee Attrition
76
+ - Lead Scoring
77
+ - Insurance Risk
78
+ - Credit Card Risk
79
+ - And more
80
+
81
+ ## Table of Contents
82
+
83
+ - [Your AI Data Science Team (🪖 An Army Of Agents)](#your-ai-data-science-team--an-army-of-agents)
84
+ - [Table of Contents](#table-of-contents)
85
+ - [Companies That Want A Custom AI Data Science Team (And AI Apps)](#companies-that-want-a-custom-ai-data-science-team-and-ai-apps)
86
+ - [Generative AI for Data Scientists Workshop](#generative-ai-for-data-scientists-workshop)
87
+ - [Data Science Agents](#data-science-agents)
88
+ - [NEW: Multi-Agents](#new-multi-agents)
89
+ - [Coming Soon: Data Science Apps](#coming-soon-data-science-apps)
90
+ - [Agents Available Now](#agents-available-now)
91
+ - [Data Science Agents](#data-science-agents-1)
92
+ - [Multi-Agents](#multi-agents)
93
+ - [Agents Coming Soon](#agents-coming-soon)
94
+ - [Disclaimer](#disclaimer)
95
+ - [Installation](#installation)
96
+ - [Usage](#usage)
97
+ - [Example 1: Feature Engineering with the Feature Engineering Agent](#example-1-feature-engineering-with-the-feature-engineering-agent)
98
+ - [Example 2: Cleaning Data with the Data Cleaning Agent](#example-2-cleaning-data-with-the-data-cleaning-agent)
99
+ - [Contributing](#contributing)
100
+ - [License](#license)
101
+ - [Want To Become A Full-Stack Generative AI Data Scientist?](#want-to-become-a-full-stack-generative-ai-data-scientist)
102
+
103
+ ## Companies That Want A Custom AI Data Science Team (And AI Apps)
104
+
105
+ Want to have your own _customized_ enterprise-grade AI Data Science Team and *domain-specific* AI-powered Apps?
106
+
107
+ **Send inquiries here:** [https://www.business-science.io/contact.html](https://www.business-science.io/contact.html)
108
+
109
+ ## Generative AI for Data Scientists Workshop
110
+
111
+ If you're an aspiring data scientist who wants to learn how to build AI Agents and AI Apps for your company that performs Data Science, Business Intelligence, Churn Modeling, Time Series Forecasting, and more, then I'd love to help you.
112
+
113
+ [**Register for my next Generative AI for Data Scientists workshop here.**](https://learn.business-science.io/ai-register)
114
+
115
+ ## Data Science Agents
116
+
117
+ This project is a work in progress. New data science agents will be released soon.
118
+
119
+ ![Data Science Team](/img/ai_data_science_team.jpg)
120
+
121
+ ### NEW: Multi-Agents
122
+
123
+ This is the internals of the SQL Data Analyst Agent that connects to SQL databases to pull data into the data science environment. It creates pipelines to automate data extraction, performs Joins, Aggregations, and other SQL Query operations. And it includes a Data Visualization Agent that creates visualizations to help you understand your data.:
124
+
125
+ ![Business Intelligence SQL Agent](/img/multi_agent_sql_data_visualization.jpg)
126
+
127
+ ### Coming Soon: Data Science Apps
128
+
129
+ This is a top secret project I'm working on. It's a multi-agent data science app that performs time series forecasting.
130
+
131
+ ![Multi-Agent Data Science App](/img/ai_powered_apps.jpg)
132
+
133
+ ### Agents Available Now
134
+
135
+ #### Data Science Agents
136
+
137
+ 1. **Data Wrangling Agent:** Merges, Joins, Preps and Wrangles data into a format that is ready for data analysis.
138
+ 2. **Data Visualization Agent:** Creates visualizations to help you understand your data. Returns JSON serializable plotly visualizations.
139
+ 3. **Data Cleaning Agent:** Performs Data Preparation steps including handling missing values, outliers, and data type conversions.
140
+ 4. **Feature Engineering Agent:** Converts the prepared data into ML-ready data. Adds features to increase predictive accuracy of ML models.
141
+ 5. **SQL Database Agent:** Connects to SQL databases to pull data into the data science environment. Creates pipelines to automate data extraction. Performs Joins, Aggregations, and other SQL Query operations.
142
+
143
+ #### Multi-Agents
144
+
145
+ 1. **SQL Data Analyst Agent:** Connects to SQL databases to pull data into the data science environment. Creates pipelines to automate data extraction. Performs Joins, Aggregations, and other SQL Query operations. Includes a Data Visualization Agent that creates visualizations to help you understand your data.
146
+
147
+ ### Agents Coming Soon
148
+
149
+ 1. **Data Analyst:** Analyzes data structure, creates exploratory visualizations, and performs correlation analysis to identify relationships.
150
+ 2. **Machine Learning Agent:** Builds and logs the machine learning models.
151
+ 3. **Interpretability Agent:** Performs Interpretable ML to explain why the model returned predictions including which features were the most important to the model.
152
+ 4. **Supervisor:** Forms task list. Moderates sub-agents. Returns completed assignment.
153
+
154
+ ## Disclaimer
155
+
156
+ **This project is for educational purposes only.**
157
+
158
+ - It is not intended to replace your company's data science team
159
+ - No warranties or guarantees provided
160
+ - Creator assumes no liability for financial loss
161
+ - Consult an experienced Generative AI Data Scientist for building your own custom AI Data Science Team
162
+ - If you want a custom enterprise-grade AI Data Science Team, [send inquiries here](https://www.business-science.io/contact.html).
163
+
164
+ By using this software, you agree to use it solely for learning purposes.
165
+
166
+ ## Installation
167
+
168
+ ``` bash
169
+ pip install git+https://github.com/business-science/ai-data-science-team.git --upgrade
170
+ ```
171
+
172
+ ## Usage
173
+
174
+ [See all examples here.](/examples)
175
+
176
+ ### Example 1: Feature Engineering with the Feature Engineering Agent
177
+
178
+ [See the full example here.](/examples/feature_engineering_agent.ipynb)
179
+
180
+ ``` python
181
+ feature_engineering_agent = FeatureEngineeringAgent(model = llm)
182
+
183
+ feature_engineering_agent.invoke_agent(
184
+ data_raw = df,
185
+ user_instructions = "Make sure to scale and center numeric features",
186
+ target_variable = "Churn",
187
+ max_retries = 3,
188
+ )
189
+ ```
190
+
191
+ ``` bash
192
+ ---FEATURE ENGINEERING AGENT----
193
+ * CREATE FEATURE ENGINEER CODE
194
+ * EXECUTING AGENT CODE
195
+ * EXPLAIN AGENT CODE
196
+ ```
197
+
198
+ ``` python
199
+ feature_engineering_agent.get_data_engineered()
200
+ ```
201
+
202
+ ### Example 2: Cleaning Data with the Data Cleaning Agent
203
+
204
+ [See the full example here.](/examples/data_cleaning_agent.ipynb)
205
+
206
+ ``` python
207
+ data_cleaning_agent = DataCleaningAgent(model = llm)
208
+
209
+ response = data_cleaning_agent.invoke_agent(
210
+ data_raw = df,
211
+ user_instructions = "Don't remove outliers when cleaning the data.",
212
+ max_retries = 3,
213
+ )
214
+ ```
215
+
216
+ ``` bash
217
+ ---DATA CLEANING AGENT----
218
+ * CREATE DATA CLEANER CODE
219
+ * EXECUTING AGENT CODE
220
+ * EXPLAIN AGENT CODE
221
+ ```
222
+
223
+ ``` python
224
+ data_cleaning_agent.get_data_cleaned()
225
+ ```
226
+
227
+ ## Contributing
228
+
229
+ 1. Fork the repository
230
+ 2. Create a feature branch
231
+ 3. Commit your changes
232
+ 4. Push to the branch
233
+ 5. Create a Pull Request
234
+
235
+ ## License
236
+
237
+ This project is licensed under the MIT License. See LICENSE file for details.
238
+
239
+ # Want To Become A Full-Stack Generative AI Data Scientist?
240
+
241
+ ![Generative AI Data Scientist](/img/become_a_generative_ai_data_scientist.jpg)
242
+
243
+ I teach Generative AI Data Science to help you build AI-powered data science apps. [**Register for my next Generative AI for Data Scientists workshop here.**](https://learn.business-science.io/ai-register)
244
+
245
+
@@ -0,0 +1,201 @@
1
+ <div align="center">
2
+ <a href="https://github.com/business-science/ai-data-science-team">
3
+ <picture>
4
+ <img src="/img/ai_data_science_team_logo.jpg" alt="AI Data Science Team" width="400">
5
+ </picture>
6
+ </a>
7
+ </div>
8
+ <div align="center">
9
+ <em>An AI-powered data science team of agents to help you perform common data science tasks 10X faster</em>
10
+ </div>
11
+ <div align="center">
12
+ <a href="https://pypi.python.org/pypi/ai-data-science-team"><img src="https://img.shields.io/pypi/v/ai-data-science-team.svg?style=for-the-badge" alt="PyPI"></a>
13
+ <a href="https://github.com/business-science/ai-data-science-team"><img src="https://img.shields.io/pypi/pyversions/ai-data-science-team.svg?style=for-the-badge" alt="versions"></a>
14
+ <a href="https://github.com/business-science/ai-data-science-team/blob/main/LICENSE"><img src="https://img.shields.io/github/license/business-science/ai-data-science-team.svg?style=for-the-badge" alt="license"></a>
15
+ </div>
16
+
17
+
18
+ # Your AI Data Science Team (🪖 An Army Of Agents)
19
+
20
+ **An AI-powered data science team of agents to help you perform common data science tasks 10X faster**.
21
+
22
+ [**Please ⭐ us on GitHub (it takes 2 seconds and means a lot).**](https://github.com/business-science/ai-data-science-team)
23
+
24
+ *Beta - This Python library is under active development. There may be breaking changes that occur until release of 0.1.0.*
25
+
26
+ ---
27
+
28
+ The AI Data Science Team of Copilots includes Agents that specialize data cleaning, preparation, feature engineering, modeling (machine learning), and interpretation of various business problems like:
29
+
30
+ - Churn Modeling
31
+ - Employee Attrition
32
+ - Lead Scoring
33
+ - Insurance Risk
34
+ - Credit Card Risk
35
+ - And more
36
+
37
+ ## Table of Contents
38
+
39
+ - [Your AI Data Science Team (🪖 An Army Of Agents)](#your-ai-data-science-team--an-army-of-agents)
40
+ - [Table of Contents](#table-of-contents)
41
+ - [Companies That Want A Custom AI Data Science Team (And AI Apps)](#companies-that-want-a-custom-ai-data-science-team-and-ai-apps)
42
+ - [Generative AI for Data Scientists Workshop](#generative-ai-for-data-scientists-workshop)
43
+ - [Data Science Agents](#data-science-agents)
44
+ - [NEW: Multi-Agents](#new-multi-agents)
45
+ - [Coming Soon: Data Science Apps](#coming-soon-data-science-apps)
46
+ - [Agents Available Now](#agents-available-now)
47
+ - [Data Science Agents](#data-science-agents-1)
48
+ - [Multi-Agents](#multi-agents)
49
+ - [Agents Coming Soon](#agents-coming-soon)
50
+ - [Disclaimer](#disclaimer)
51
+ - [Installation](#installation)
52
+ - [Usage](#usage)
53
+ - [Example 1: Feature Engineering with the Feature Engineering Agent](#example-1-feature-engineering-with-the-feature-engineering-agent)
54
+ - [Example 2: Cleaning Data with the Data Cleaning Agent](#example-2-cleaning-data-with-the-data-cleaning-agent)
55
+ - [Contributing](#contributing)
56
+ - [License](#license)
57
+ - [Want To Become A Full-Stack Generative AI Data Scientist?](#want-to-become-a-full-stack-generative-ai-data-scientist)
58
+
59
+ ## Companies That Want A Custom AI Data Science Team (And AI Apps)
60
+
61
+ Want to have your own _customized_ enterprise-grade AI Data Science Team and *domain-specific* AI-powered Apps?
62
+
63
+ **Send inquiries here:** [https://www.business-science.io/contact.html](https://www.business-science.io/contact.html)
64
+
65
+ ## Generative AI for Data Scientists Workshop
66
+
67
+ If you're an aspiring data scientist who wants to learn how to build AI Agents and AI Apps for your company that performs Data Science, Business Intelligence, Churn Modeling, Time Series Forecasting, and more, then I'd love to help you.
68
+
69
+ [**Register for my next Generative AI for Data Scientists workshop here.**](https://learn.business-science.io/ai-register)
70
+
71
+ ## Data Science Agents
72
+
73
+ This project is a work in progress. New data science agents will be released soon.
74
+
75
+ ![Data Science Team](/img/ai_data_science_team.jpg)
76
+
77
+ ### NEW: Multi-Agents
78
+
79
+ This is the internals of the SQL Data Analyst Agent that connects to SQL databases to pull data into the data science environment. It creates pipelines to automate data extraction, performs Joins, Aggregations, and other SQL Query operations. And it includes a Data Visualization Agent that creates visualizations to help you understand your data.:
80
+
81
+ ![Business Intelligence SQL Agent](/img/multi_agent_sql_data_visualization.jpg)
82
+
83
+ ### Coming Soon: Data Science Apps
84
+
85
+ This is a top secret project I'm working on. It's a multi-agent data science app that performs time series forecasting.
86
+
87
+ ![Multi-Agent Data Science App](/img/ai_powered_apps.jpg)
88
+
89
+ ### Agents Available Now
90
+
91
+ #### Data Science Agents
92
+
93
+ 1. **Data Wrangling Agent:** Merges, Joins, Preps and Wrangles data into a format that is ready for data analysis.
94
+ 2. **Data Visualization Agent:** Creates visualizations to help you understand your data. Returns JSON serializable plotly visualizations.
95
+ 3. **Data Cleaning Agent:** Performs Data Preparation steps including handling missing values, outliers, and data type conversions.
96
+ 4. **Feature Engineering Agent:** Converts the prepared data into ML-ready data. Adds features to increase predictive accuracy of ML models.
97
+ 5. **SQL Database Agent:** Connects to SQL databases to pull data into the data science environment. Creates pipelines to automate data extraction. Performs Joins, Aggregations, and other SQL Query operations.
98
+
99
+ #### Multi-Agents
100
+
101
+ 1. **SQL Data Analyst Agent:** Connects to SQL databases to pull data into the data science environment. Creates pipelines to automate data extraction. Performs Joins, Aggregations, and other SQL Query operations. Includes a Data Visualization Agent that creates visualizations to help you understand your data.
102
+
103
+ ### Agents Coming Soon
104
+
105
+ 1. **Data Analyst:** Analyzes data structure, creates exploratory visualizations, and performs correlation analysis to identify relationships.
106
+ 2. **Machine Learning Agent:** Builds and logs the machine learning models.
107
+ 3. **Interpretability Agent:** Performs Interpretable ML to explain why the model returned predictions including which features were the most important to the model.
108
+ 4. **Supervisor:** Forms task list. Moderates sub-agents. Returns completed assignment.
109
+
110
+ ## Disclaimer
111
+
112
+ **This project is for educational purposes only.**
113
+
114
+ - It is not intended to replace your company's data science team
115
+ - No warranties or guarantees provided
116
+ - Creator assumes no liability for financial loss
117
+ - Consult an experienced Generative AI Data Scientist for building your own custom AI Data Science Team
118
+ - If you want a custom enterprise-grade AI Data Science Team, [send inquiries here](https://www.business-science.io/contact.html).
119
+
120
+ By using this software, you agree to use it solely for learning purposes.
121
+
122
+ ## Installation
123
+
124
+ ``` bash
125
+ pip install git+https://github.com/business-science/ai-data-science-team.git --upgrade
126
+ ```
127
+
128
+ ## Usage
129
+
130
+ [See all examples here.](/examples)
131
+
132
+ ### Example 1: Feature Engineering with the Feature Engineering Agent
133
+
134
+ [See the full example here.](/examples/feature_engineering_agent.ipynb)
135
+
136
+ ``` python
137
+ feature_engineering_agent = FeatureEngineeringAgent(model = llm)
138
+
139
+ feature_engineering_agent.invoke_agent(
140
+ data_raw = df,
141
+ user_instructions = "Make sure to scale and center numeric features",
142
+ target_variable = "Churn",
143
+ max_retries = 3,
144
+ )
145
+ ```
146
+
147
+ ``` bash
148
+ ---FEATURE ENGINEERING AGENT----
149
+ * CREATE FEATURE ENGINEER CODE
150
+ * EXECUTING AGENT CODE
151
+ * EXPLAIN AGENT CODE
152
+ ```
153
+
154
+ ``` python
155
+ feature_engineering_agent.get_data_engineered()
156
+ ```
157
+
158
+ ### Example 2: Cleaning Data with the Data Cleaning Agent
159
+
160
+ [See the full example here.](/examples/data_cleaning_agent.ipynb)
161
+
162
+ ``` python
163
+ data_cleaning_agent = DataCleaningAgent(model = llm)
164
+
165
+ response = data_cleaning_agent.invoke_agent(
166
+ data_raw = df,
167
+ user_instructions = "Don't remove outliers when cleaning the data.",
168
+ max_retries = 3,
169
+ )
170
+ ```
171
+
172
+ ``` bash
173
+ ---DATA CLEANING AGENT----
174
+ * CREATE DATA CLEANER CODE
175
+ * EXECUTING AGENT CODE
176
+ * EXPLAIN AGENT CODE
177
+ ```
178
+
179
+ ``` python
180
+ data_cleaning_agent.get_data_cleaned()
181
+ ```
182
+
183
+ ## Contributing
184
+
185
+ 1. Fork the repository
186
+ 2. Create a feature branch
187
+ 3. Commit your changes
188
+ 4. Push to the branch
189
+ 5. Create a Pull Request
190
+
191
+ ## License
192
+
193
+ This project is licensed under the MIT License. See LICENSE file for details.
194
+
195
+ # Want To Become A Full-Stack Generative AI Data Scientist?
196
+
197
+ ![Generative AI Data Scientist](/img/become_a_generative_ai_data_scientist.jpg)
198
+
199
+ I teach Generative AI Data Science to help you build AI-powered data science apps. [**Register for my next Generative AI for Data Scientists workshop here.**](https://learn.business-science.io/ai-register)
200
+
201
+
@@ -0,0 +1 @@
1
+ __version__ = "0.0.0.9009"
@@ -1,6 +1,5 @@
1
1
  from ai_data_science_team.agents.data_cleaning_agent import make_data_cleaning_agent, DataCleaningAgent
2
- from ai_data_science_team.agents.feature_engineering_agent import make_feature_engineering_agent
3
- from ai_data_science_team.agents.data_wrangling_agent import make_data_wrangling_agent
4
- from ai_data_science_team.agents.sql_database_agent import make_sql_database_agent
5
- from ai_data_science_team.agents.data_visualization_agent import make_data_visualization_agent
6
-
2
+ from ai_data_science_team.agents.feature_engineering_agent import make_feature_engineering_agent, FeatureEngineeringAgent
3
+ from ai_data_science_team.agents.data_wrangling_agent import make_data_wrangling_agent, DataWranglingAgent
4
+ from ai_data_science_team.agents.sql_database_agent import make_sql_database_agent, SQLDatabaseAgent
5
+ from ai_data_science_team.agents.data_visualization_agent import make_data_visualization_agent, DataVisualizationAgent