autodataagent 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,135 @@
1
+ Metadata-Version: 2.4
2
+ Name: autodataagent
3
+ Version: 1.0.0
4
+ Summary: Automated CSV Data Analysis & ML Diagnostics Agent for Jupyter Notebooks
5
+ Author: AutoDataAgent Team
6
+ Keywords: data-analysis,jupyter,visualization,machine-learning,eda,plotly,shap
7
+ Requires-Python: >=3.8
8
+ Description-Content-Type: text/markdown
9
+ Requires-Dist: pandas>=1.5.0
10
+ Requires-Dist: numpy>=1.20.0
11
+ Requires-Dist: plotly>=5.0.0
12
+ Requires-Dist: matplotlib>=3.5.0
13
+ Requires-Dist: seaborn>=0.12.0
14
+ Requires-Dist: scikit-learn>=1.0.0
15
+ Requires-Dist: shap>=0.40.0
16
+ Requires-Dist: ipywidgets>=8.0.0
17
+ Requires-Dist: kaleido>=0.2.0
18
+ Dynamic: requires-python
19
+
20
+ # ๐Ÿค– Automated Data Analysis & ML Diagnostics Agent for Jupyter Notebook
21
+
22
+ Jupyter Notebook ke andar **Exploratory Data Analysis (EDA)** aur **Machine Learning (ML) Model Diagnostics** ke liye ek all-in-one AI assistant.
23
+
24
+ Aapko bas CSV file provide karni hai โ€” agent aapse **Step 1: First Column** select karwayega, fir **Step 2: Second Column**, fir **Step 3 mein 3 organized tabs** ke andar **23 different plot types** offer karega, aur ek click mein **Interactive Visualizations (Plotly)**, **Statistical & ML Insights**, aur **Python Code** generate karke dega!
25
+
26
+ ---
27
+
28
+ ## ๐ŸŒŸ Naye Features (Multi-Plot & Direct Download)
29
+
30
+ ### 1. โž• Ek Se Zyada Plots Banayein (Active Plots Gallery)
31
+ - Pehla plot banne ke baad purana plot delete ya overwrite nahi hoga.
32
+ - Plot ke theek niche **"โž• Create Another Plot (Naya Plot Banayein)"** button milta hai.
33
+ - Click karte hi aap naye columns aur naya plot choose kar sakte hain โ€” aur naya plot neeche append ho jayega!
34
+ - Is tarah aap ek hi notebook session mein kitne bhi plots (Plot #1, Plot #2, Plot #3...) stack karke compare kar sakte hain.
35
+
36
+ ### 2. ๐Ÿ“ฅ 1-Click Direct Download (PNG & HTML)
37
+ - Har generated plot ke theek upar dedicated download buttons milte hain:
38
+ - ๐Ÿ“ฅ **Download PNG (High-Res Image)** โ€” Publication-ready high resolution 2x scale image directly download hoti hai.
39
+ - ๐ŸŒ **Download Interactive HTML** โ€” Standalone browser file jisme zoom, pan, hover tooltips sab preserved rehte hain.
40
+ - Files aapke local `exports/` folder mein bhi automatically save hoti hain.
41
+
42
+ ---
43
+
44
+ ## ๐ŸŒŸ Master Catalog of 23 Supported Plot Types
45
+
46
+ ### ๐Ÿ“Š Category A: Exploratory Data Analysis & Statistical Plots (16 Plots)
47
+ 1. ๐Ÿ“ˆ **Line Plot (`line_plot`)** โ€” Trends, sequential progression, aur time-series.
48
+ 2. ๐Ÿ“Š **Bar Plot (`bar_plot`)** โ€” Categories ka comparison (Mean / Sum aggregation ya counts).
49
+ 3. ๐Ÿ“‹ **Horizontal Bar Plot (`horizontal_bar`)** โ€” Categories ki clean horizontal ranking.
50
+ 4. ๐Ÿ“ถ **Grouped Bar Plot (`grouped_bar`)** โ€” Multiple categories ka side-by-side comparison.
51
+ 5. ๐Ÿงฑ **Stacked Bar Plot (`stacked_bar`)** โ€” Proportions aur percentage composition across groups.
52
+ 6. ๐Ÿฅง **Pie Chart (`pie_chart`)** โ€” Circular percentage distribution.
53
+ 7. ๐Ÿฉ **Donut Chart (`donut_chart`)** โ€” Modern center-hole donut chart.
54
+ 8. ๐Ÿ“Š **Histogram (`histogram`)** โ€” Distribution spread, frequency bins aur KDE / box marginals.
55
+ 9. โœจ **Scatter Plot (`scatter_plot`)** โ€” Correlation, relationships, regression trendline aur $R^2$.
56
+ 10. ๐Ÿ”๏ธ **Area Plot (`area_plot`)** โ€” Cumulative filled volume under curve.
57
+ 11. โ›ฐ๏ธ **Stacked Area Plot (`stacked_area_plot`)** โ€” Multiple groups ka cumulative trend over sequence.
58
+ 12. ๐Ÿ”ฅ **Heatmap (`heatmap`)** โ€” 2D cross-tabulation frequency matrix aur 2D density heatmap.
59
+ 13. ๐ŸŒก๏ธ **Correlation Heatmap (`correlation_heatmap`)** โ€” Poore dataset ke numeric columns ka Pearson correlation matrix.
60
+ 14. ๐Ÿ“ฆ **Box Plot (`box_plot`)** โ€” Quartiles (Q1, Median, Q3) aur IQR outlier markers.
61
+ 15. ๐ŸŽป **Violin Plot (`violin_plot`)** โ€” Kernel density estimation + embedded box plot.
62
+ 16. ๐Ÿ”ฒ **Pair Plot (`pair_plot`)** โ€” Multivariate pairwise scatter matrix across dataset features.
63
+
64
+ ### ๐Ÿค– Category B: Machine Learning & Diagnostic Plots (7 Plots)
65
+ 17. ๐ŸŽฏ **Residual Plot (`residual_plot`)** โ€” Fitted values vs residuals ($y - \hat{y}$), homoscedasticity check, RMSE, MAE, $R^2$.
66
+ 18. ๐ŸŒฒ **Feature Importance Plot (`feature_importance`)** โ€” Random Forest model se top predictive features ki ranking.
67
+ 19. ๐Ÿ”ฎ **SHAP Summary Plot (`shap_summary`)** โ€” Explainable AI (SHAP) se features ka positive/negative impact.
68
+ 20. ๐Ÿงฎ **Confusion Matrix Heatmap (`confusion_matrix`)** โ€” Classification True vs Predicted labels, Accuracy, Precision, Recall, F1.
69
+ 21. ๐Ÿ“‰ **ROC Curve (`roc_curve`)** โ€” Receiver Operating Characteristic curve, False Positive vs True Positive rate, ROC-AUC score.
70
+ 22. ๐ŸŽฏ **Precision-Recall Curve (`precision_recall_curve`)** โ€” PR curve with Average Precision (AP) score, imbalanced classification ke liye best.
71
+ 23. ๐Ÿ“š **Learning Curve (`learning_curve`)** โ€” Sample size ke against Train vs Validation scores, Overfitting / Underfitting diagnosis.
72
+
73
+ ---
74
+
75
+ ## ๐Ÿ“ฆ Python Library Installation
76
+
77
+ Yeh agent ab ek standard Python library (`data-agent`) ban chuka hai.
78
+ Aap ise apne system environment mein install kar sakte hain taaki **kisi bhi folder ya notebook se seedha import ho sake**:
79
+
80
+ ```bash
81
+ # Workspace folder mein jaakar install karein (editable mode):
82
+ pip install -e .
83
+ ```
84
+
85
+ Ek baar install hone ke baad, aap **apne computer par kahin se bhi** bina kisi path setting ke seedha likh sakte hain:
86
+ ```python
87
+ from data_agent import AutoDataAgent
88
+
89
+ agent = AutoDataAgent()
90
+ agent.analyze("path/to/any_data.csv")
91
+ ```
92
+
93
+ ---
94
+ ```python
95
+ from data_agent import AutoDataAgent
96
+
97
+ # Agent initialize karein
98
+ agent = AutoDataAgent()
99
+
100
+ # CSV file provide karein
101
+ agent.analyze("sample_sales_data.csv")
102
+ ```
103
+ - **Step 1**: 1-click se pehla column (X-axis / Target) select karein.
104
+ - **Step 2**: 1-click se doosra column (Y-axis / Feature) chunein ya **Single Column / Dataset Mode** click karein.
105
+ - **Step 3**: 3 Tabs mein se koi bhi plot select karein.
106
+ - **Plot Output**:
107
+ - Upar **Download PNG** ya **Download HTML** par click karke save karein.
108
+ - Niche **โž• Create Another Plot** dabakar naya plot add karein!
109
+
110
+ ### 2. Programmatic Export (Direct Code):
111
+ ```python
112
+ fig, code, insights = agent.quick_plot("Sales", "Profit", plot_id="scatter_plot")
113
+
114
+ # Save directly as PNG & HTML
115
+ png_path, _ = agent.export_plot(fig, filename="sales_vs_profit", format="png")
116
+ html_path, _ = agent.export_plot(fig, filename="sales_vs_profit", format="html")
117
+
118
+ print("Saved PNG:", png_path)
119
+ print("Saved HTML:", html_path)
120
+ fig.show()
121
+ ```
122
+
123
+ ---
124
+
125
+ ## ๐Ÿงช Testing
126
+
127
+ Test suite ko run karein:
128
+ ```bash
129
+ python3 test_agent.py
130
+ ```
131
+ Sabhi 25 tests pass hote hain:
132
+ ```text
133
+ .........................
134
+ Ran 25 tests in 15.967s (OK)
135
+ ```
@@ -0,0 +1,116 @@
1
+ # ๐Ÿค– Automated Data Analysis & ML Diagnostics Agent for Jupyter Notebook
2
+
3
+ Jupyter Notebook ke andar **Exploratory Data Analysis (EDA)** aur **Machine Learning (ML) Model Diagnostics** ke liye ek all-in-one AI assistant.
4
+
5
+ Aapko bas CSV file provide karni hai โ€” agent aapse **Step 1: First Column** select karwayega, fir **Step 2: Second Column**, fir **Step 3 mein 3 organized tabs** ke andar **23 different plot types** offer karega, aur ek click mein **Interactive Visualizations (Plotly)**, **Statistical & ML Insights**, aur **Python Code** generate karke dega!
6
+
7
+ ---
8
+
9
+ ## ๐ŸŒŸ Naye Features (Multi-Plot & Direct Download)
10
+
11
+ ### 1. โž• Ek Se Zyada Plots Banayein (Active Plots Gallery)
12
+ - Pehla plot banne ke baad purana plot delete ya overwrite nahi hoga.
13
+ - Plot ke theek niche **"โž• Create Another Plot (Naya Plot Banayein)"** button milta hai.
14
+ - Click karte hi aap naye columns aur naya plot choose kar sakte hain โ€” aur naya plot neeche append ho jayega!
15
+ - Is tarah aap ek hi notebook session mein kitne bhi plots (Plot #1, Plot #2, Plot #3...) stack karke compare kar sakte hain.
16
+
17
+ ### 2. ๐Ÿ“ฅ 1-Click Direct Download (PNG & HTML)
18
+ - Har generated plot ke theek upar dedicated download buttons milte hain:
19
+ - ๐Ÿ“ฅ **Download PNG (High-Res Image)** โ€” Publication-ready high resolution 2x scale image directly download hoti hai.
20
+ - ๐ŸŒ **Download Interactive HTML** โ€” Standalone browser file jisme zoom, pan, hover tooltips sab preserved rehte hain.
21
+ - Files aapke local `exports/` folder mein bhi automatically save hoti hain.
22
+
23
+ ---
24
+
25
+ ## ๐ŸŒŸ Master Catalog of 23 Supported Plot Types
26
+
27
+ ### ๐Ÿ“Š Category A: Exploratory Data Analysis & Statistical Plots (16 Plots)
28
+ 1. ๐Ÿ“ˆ **Line Plot (`line_plot`)** โ€” Trends, sequential progression, aur time-series.
29
+ 2. ๐Ÿ“Š **Bar Plot (`bar_plot`)** โ€” Categories ka comparison (Mean / Sum aggregation ya counts).
30
+ 3. ๐Ÿ“‹ **Horizontal Bar Plot (`horizontal_bar`)** โ€” Categories ki clean horizontal ranking.
31
+ 4. ๐Ÿ“ถ **Grouped Bar Plot (`grouped_bar`)** โ€” Multiple categories ka side-by-side comparison.
32
+ 5. ๐Ÿงฑ **Stacked Bar Plot (`stacked_bar`)** โ€” Proportions aur percentage composition across groups.
33
+ 6. ๐Ÿฅง **Pie Chart (`pie_chart`)** โ€” Circular percentage distribution.
34
+ 7. ๐Ÿฉ **Donut Chart (`donut_chart`)** โ€” Modern center-hole donut chart.
35
+ 8. ๐Ÿ“Š **Histogram (`histogram`)** โ€” Distribution spread, frequency bins aur KDE / box marginals.
36
+ 9. โœจ **Scatter Plot (`scatter_plot`)** โ€” Correlation, relationships, regression trendline aur $R^2$.
37
+ 10. ๐Ÿ”๏ธ **Area Plot (`area_plot`)** โ€” Cumulative filled volume under curve.
38
+ 11. โ›ฐ๏ธ **Stacked Area Plot (`stacked_area_plot`)** โ€” Multiple groups ka cumulative trend over sequence.
39
+ 12. ๐Ÿ”ฅ **Heatmap (`heatmap`)** โ€” 2D cross-tabulation frequency matrix aur 2D density heatmap.
40
+ 13. ๐ŸŒก๏ธ **Correlation Heatmap (`correlation_heatmap`)** โ€” Poore dataset ke numeric columns ka Pearson correlation matrix.
41
+ 14. ๐Ÿ“ฆ **Box Plot (`box_plot`)** โ€” Quartiles (Q1, Median, Q3) aur IQR outlier markers.
42
+ 15. ๐ŸŽป **Violin Plot (`violin_plot`)** โ€” Kernel density estimation + embedded box plot.
43
+ 16. ๐Ÿ”ฒ **Pair Plot (`pair_plot`)** โ€” Multivariate pairwise scatter matrix across dataset features.
44
+
45
+ ### ๐Ÿค– Category B: Machine Learning & Diagnostic Plots (7 Plots)
46
+ 17. ๐ŸŽฏ **Residual Plot (`residual_plot`)** โ€” Fitted values vs residuals ($y - \hat{y}$), homoscedasticity check, RMSE, MAE, $R^2$.
47
+ 18. ๐ŸŒฒ **Feature Importance Plot (`feature_importance`)** โ€” Random Forest model se top predictive features ki ranking.
48
+ 19. ๐Ÿ”ฎ **SHAP Summary Plot (`shap_summary`)** โ€” Explainable AI (SHAP) se features ka positive/negative impact.
49
+ 20. ๐Ÿงฎ **Confusion Matrix Heatmap (`confusion_matrix`)** โ€” Classification True vs Predicted labels, Accuracy, Precision, Recall, F1.
50
+ 21. ๐Ÿ“‰ **ROC Curve (`roc_curve`)** โ€” Receiver Operating Characteristic curve, False Positive vs True Positive rate, ROC-AUC score.
51
+ 22. ๐ŸŽฏ **Precision-Recall Curve (`precision_recall_curve`)** โ€” PR curve with Average Precision (AP) score, imbalanced classification ke liye best.
52
+ 23. ๐Ÿ“š **Learning Curve (`learning_curve`)** โ€” Sample size ke against Train vs Validation scores, Overfitting / Underfitting diagnosis.
53
+
54
+ ---
55
+
56
+ ## ๐Ÿ“ฆ Python Library Installation
57
+
58
+ Yeh agent ab ek standard Python library (`data-agent`) ban chuka hai.
59
+ Aap ise apne system environment mein install kar sakte hain taaki **kisi bhi folder ya notebook se seedha import ho sake**:
60
+
61
+ ```bash
62
+ # Workspace folder mein jaakar install karein (editable mode):
63
+ pip install -e .
64
+ ```
65
+
66
+ Ek baar install hone ke baad, aap **apne computer par kahin se bhi** bina kisi path setting ke seedha likh sakte hain:
67
+ ```python
68
+ from data_agent import AutoDataAgent
69
+
70
+ agent = AutoDataAgent()
71
+ agent.analyze("path/to/any_data.csv")
72
+ ```
73
+
74
+ ---
75
+ ```python
76
+ from data_agent import AutoDataAgent
77
+
78
+ # Agent initialize karein
79
+ agent = AutoDataAgent()
80
+
81
+ # CSV file provide karein
82
+ agent.analyze("sample_sales_data.csv")
83
+ ```
84
+ - **Step 1**: 1-click se pehla column (X-axis / Target) select karein.
85
+ - **Step 2**: 1-click se doosra column (Y-axis / Feature) chunein ya **Single Column / Dataset Mode** click karein.
86
+ - **Step 3**: 3 Tabs mein se koi bhi plot select karein.
87
+ - **Plot Output**:
88
+ - Upar **Download PNG** ya **Download HTML** par click karke save karein.
89
+ - Niche **โž• Create Another Plot** dabakar naya plot add karein!
90
+
91
+ ### 2. Programmatic Export (Direct Code):
92
+ ```python
93
+ fig, code, insights = agent.quick_plot("Sales", "Profit", plot_id="scatter_plot")
94
+
95
+ # Save directly as PNG & HTML
96
+ png_path, _ = agent.export_plot(fig, filename="sales_vs_profit", format="png")
97
+ html_path, _ = agent.export_plot(fig, filename="sales_vs_profit", format="html")
98
+
99
+ print("Saved PNG:", png_path)
100
+ print("Saved HTML:", html_path)
101
+ fig.show()
102
+ ```
103
+
104
+ ---
105
+
106
+ ## ๐Ÿงช Testing
107
+
108
+ Test suite ko run karein:
109
+ ```bash
110
+ python3 test_agent.py
111
+ ```
112
+ Sabhi 25 tests pass hote hain:
113
+ ```text
114
+ .........................
115
+ Ran 25 tests in 15.967s (OK)
116
+ ```
@@ -0,0 +1,135 @@
1
+ Metadata-Version: 2.4
2
+ Name: autodataagent
3
+ Version: 1.0.0
4
+ Summary: Automated CSV Data Analysis & ML Diagnostics Agent for Jupyter Notebooks
5
+ Author: AutoDataAgent Team
6
+ Keywords: data-analysis,jupyter,visualization,machine-learning,eda,plotly,shap
7
+ Requires-Python: >=3.8
8
+ Description-Content-Type: text/markdown
9
+ Requires-Dist: pandas>=1.5.0
10
+ Requires-Dist: numpy>=1.20.0
11
+ Requires-Dist: plotly>=5.0.0
12
+ Requires-Dist: matplotlib>=3.5.0
13
+ Requires-Dist: seaborn>=0.12.0
14
+ Requires-Dist: scikit-learn>=1.0.0
15
+ Requires-Dist: shap>=0.40.0
16
+ Requires-Dist: ipywidgets>=8.0.0
17
+ Requires-Dist: kaleido>=0.2.0
18
+ Dynamic: requires-python
19
+
20
+ # ๐Ÿค– Automated Data Analysis & ML Diagnostics Agent for Jupyter Notebook
21
+
22
+ Jupyter Notebook ke andar **Exploratory Data Analysis (EDA)** aur **Machine Learning (ML) Model Diagnostics** ke liye ek all-in-one AI assistant.
23
+
24
+ Aapko bas CSV file provide karni hai โ€” agent aapse **Step 1: First Column** select karwayega, fir **Step 2: Second Column**, fir **Step 3 mein 3 organized tabs** ke andar **23 different plot types** offer karega, aur ek click mein **Interactive Visualizations (Plotly)**, **Statistical & ML Insights**, aur **Python Code** generate karke dega!
25
+
26
+ ---
27
+
28
+ ## ๐ŸŒŸ Naye Features (Multi-Plot & Direct Download)
29
+
30
+ ### 1. โž• Ek Se Zyada Plots Banayein (Active Plots Gallery)
31
+ - Pehla plot banne ke baad purana plot delete ya overwrite nahi hoga.
32
+ - Plot ke theek niche **"โž• Create Another Plot (Naya Plot Banayein)"** button milta hai.
33
+ - Click karte hi aap naye columns aur naya plot choose kar sakte hain โ€” aur naya plot neeche append ho jayega!
34
+ - Is tarah aap ek hi notebook session mein kitne bhi plots (Plot #1, Plot #2, Plot #3...) stack karke compare kar sakte hain.
35
+
36
+ ### 2. ๐Ÿ“ฅ 1-Click Direct Download (PNG & HTML)
37
+ - Har generated plot ke theek upar dedicated download buttons milte hain:
38
+ - ๐Ÿ“ฅ **Download PNG (High-Res Image)** โ€” Publication-ready high resolution 2x scale image directly download hoti hai.
39
+ - ๐ŸŒ **Download Interactive HTML** โ€” Standalone browser file jisme zoom, pan, hover tooltips sab preserved rehte hain.
40
+ - Files aapke local `exports/` folder mein bhi automatically save hoti hain.
41
+
42
+ ---
43
+
44
+ ## ๐ŸŒŸ Master Catalog of 23 Supported Plot Types
45
+
46
+ ### ๐Ÿ“Š Category A: Exploratory Data Analysis & Statistical Plots (16 Plots)
47
+ 1. ๐Ÿ“ˆ **Line Plot (`line_plot`)** โ€” Trends, sequential progression, aur time-series.
48
+ 2. ๐Ÿ“Š **Bar Plot (`bar_plot`)** โ€” Categories ka comparison (Mean / Sum aggregation ya counts).
49
+ 3. ๐Ÿ“‹ **Horizontal Bar Plot (`horizontal_bar`)** โ€” Categories ki clean horizontal ranking.
50
+ 4. ๐Ÿ“ถ **Grouped Bar Plot (`grouped_bar`)** โ€” Multiple categories ka side-by-side comparison.
51
+ 5. ๐Ÿงฑ **Stacked Bar Plot (`stacked_bar`)** โ€” Proportions aur percentage composition across groups.
52
+ 6. ๐Ÿฅง **Pie Chart (`pie_chart`)** โ€” Circular percentage distribution.
53
+ 7. ๐Ÿฉ **Donut Chart (`donut_chart`)** โ€” Modern center-hole donut chart.
54
+ 8. ๐Ÿ“Š **Histogram (`histogram`)** โ€” Distribution spread, frequency bins aur KDE / box marginals.
55
+ 9. โœจ **Scatter Plot (`scatter_plot`)** โ€” Correlation, relationships, regression trendline aur $R^2$.
56
+ 10. ๐Ÿ”๏ธ **Area Plot (`area_plot`)** โ€” Cumulative filled volume under curve.
57
+ 11. โ›ฐ๏ธ **Stacked Area Plot (`stacked_area_plot`)** โ€” Multiple groups ka cumulative trend over sequence.
58
+ 12. ๐Ÿ”ฅ **Heatmap (`heatmap`)** โ€” 2D cross-tabulation frequency matrix aur 2D density heatmap.
59
+ 13. ๐ŸŒก๏ธ **Correlation Heatmap (`correlation_heatmap`)** โ€” Poore dataset ke numeric columns ka Pearson correlation matrix.
60
+ 14. ๐Ÿ“ฆ **Box Plot (`box_plot`)** โ€” Quartiles (Q1, Median, Q3) aur IQR outlier markers.
61
+ 15. ๐ŸŽป **Violin Plot (`violin_plot`)** โ€” Kernel density estimation + embedded box plot.
62
+ 16. ๐Ÿ”ฒ **Pair Plot (`pair_plot`)** โ€” Multivariate pairwise scatter matrix across dataset features.
63
+
64
+ ### ๐Ÿค– Category B: Machine Learning & Diagnostic Plots (7 Plots)
65
+ 17. ๐ŸŽฏ **Residual Plot (`residual_plot`)** โ€” Fitted values vs residuals ($y - \hat{y}$), homoscedasticity check, RMSE, MAE, $R^2$.
66
+ 18. ๐ŸŒฒ **Feature Importance Plot (`feature_importance`)** โ€” Random Forest model se top predictive features ki ranking.
67
+ 19. ๐Ÿ”ฎ **SHAP Summary Plot (`shap_summary`)** โ€” Explainable AI (SHAP) se features ka positive/negative impact.
68
+ 20. ๐Ÿงฎ **Confusion Matrix Heatmap (`confusion_matrix`)** โ€” Classification True vs Predicted labels, Accuracy, Precision, Recall, F1.
69
+ 21. ๐Ÿ“‰ **ROC Curve (`roc_curve`)** โ€” Receiver Operating Characteristic curve, False Positive vs True Positive rate, ROC-AUC score.
70
+ 22. ๐ŸŽฏ **Precision-Recall Curve (`precision_recall_curve`)** โ€” PR curve with Average Precision (AP) score, imbalanced classification ke liye best.
71
+ 23. ๐Ÿ“š **Learning Curve (`learning_curve`)** โ€” Sample size ke against Train vs Validation scores, Overfitting / Underfitting diagnosis.
72
+
73
+ ---
74
+
75
+ ## ๐Ÿ“ฆ Python Library Installation
76
+
77
+ Yeh agent ab ek standard Python library (`data-agent`) ban chuka hai.
78
+ Aap ise apne system environment mein install kar sakte hain taaki **kisi bhi folder ya notebook se seedha import ho sake**:
79
+
80
+ ```bash
81
+ # Workspace folder mein jaakar install karein (editable mode):
82
+ pip install -e .
83
+ ```
84
+
85
+ Ek baar install hone ke baad, aap **apne computer par kahin se bhi** bina kisi path setting ke seedha likh sakte hain:
86
+ ```python
87
+ from data_agent import AutoDataAgent
88
+
89
+ agent = AutoDataAgent()
90
+ agent.analyze("path/to/any_data.csv")
91
+ ```
92
+
93
+ ---
94
+ ```python
95
+ from data_agent import AutoDataAgent
96
+
97
+ # Agent initialize karein
98
+ agent = AutoDataAgent()
99
+
100
+ # CSV file provide karein
101
+ agent.analyze("sample_sales_data.csv")
102
+ ```
103
+ - **Step 1**: 1-click se pehla column (X-axis / Target) select karein.
104
+ - **Step 2**: 1-click se doosra column (Y-axis / Feature) chunein ya **Single Column / Dataset Mode** click karein.
105
+ - **Step 3**: 3 Tabs mein se koi bhi plot select karein.
106
+ - **Plot Output**:
107
+ - Upar **Download PNG** ya **Download HTML** par click karke save karein.
108
+ - Niche **โž• Create Another Plot** dabakar naya plot add karein!
109
+
110
+ ### 2. Programmatic Export (Direct Code):
111
+ ```python
112
+ fig, code, insights = agent.quick_plot("Sales", "Profit", plot_id="scatter_plot")
113
+
114
+ # Save directly as PNG & HTML
115
+ png_path, _ = agent.export_plot(fig, filename="sales_vs_profit", format="png")
116
+ html_path, _ = agent.export_plot(fig, filename="sales_vs_profit", format="html")
117
+
118
+ print("Saved PNG:", png_path)
119
+ print("Saved HTML:", html_path)
120
+ fig.show()
121
+ ```
122
+
123
+ ---
124
+
125
+ ## ๐Ÿงช Testing
126
+
127
+ Test suite ko run karein:
128
+ ```bash
129
+ python3 test_agent.py
130
+ ```
131
+ Sabhi 25 tests pass hote hain:
132
+ ```text
133
+ .........................
134
+ Ran 25 tests in 15.967s (OK)
135
+ ```
@@ -0,0 +1,10 @@
1
+ README.md
2
+ autodataagent.py
3
+ data_agent.py
4
+ pyproject.toml
5
+ setup.py
6
+ autodataagent.egg-info/PKG-INFO
7
+ autodataagent.egg-info/SOURCES.txt
8
+ autodataagent.egg-info/dependency_links.txt
9
+ autodataagent.egg-info/requires.txt
10
+ autodataagent.egg-info/top_level.txt
@@ -0,0 +1,9 @@
1
+ pandas>=1.5.0
2
+ numpy>=1.20.0
3
+ plotly>=5.0.0
4
+ matplotlib>=3.5.0
5
+ seaborn>=0.12.0
6
+ scikit-learn>=1.0.0
7
+ shap>=0.40.0
8
+ ipywidgets>=8.0.0
9
+ kaleido>=0.2.0
@@ -0,0 +1,2 @@
1
+ autodataagent
2
+ data_agent
@@ -0,0 +1,9 @@
1
+ """
2
+ AutoDataAgent - Top-Level Module
3
+ Enables both:
4
+ from autodataagent import AutoDataAgent
5
+ from data_agent import AutoDataAgent
6
+ """
7
+ from data_agent import AutoDataAgent
8
+
9
+ __all__ = ["AutoDataAgent"]