noweda 0.2.1__tar.gz → 0.2.3__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.
Files changed (55) hide show
  1. {noweda-0.2.1/noweda.egg-info → noweda-0.2.3}/PKG-INFO +33 -12
  2. {noweda-0.2.1 → noweda-0.2.3}/README.md +30 -11
  3. noweda-0.2.3/noweda/_version.py +1 -0
  4. {noweda-0.2.1 → noweda-0.2.3}/noweda/accessor.py +44 -450
  5. {noweda-0.2.1 → noweda-0.2.3}/noweda/large.py +11 -3
  6. noweda-0.2.3/noweda/visualization.py +1127 -0
  7. {noweda-0.2.1 → noweda-0.2.3/noweda.egg-info}/PKG-INFO +33 -12
  8. {noweda-0.2.1 → noweda-0.2.3}/noweda.egg-info/SOURCES.txt +3 -1
  9. {noweda-0.2.1 → noweda-0.2.3}/noweda.egg-info/requires.txt +2 -0
  10. {noweda-0.2.1 → noweda-0.2.3}/pyproject.toml +2 -2
  11. noweda-0.2.3/tests/test_vizall_ml.py +283 -0
  12. noweda-0.2.1/noweda/_version.py +0 -1
  13. {noweda-0.2.1 → noweda-0.2.3}/LICENSE +0 -0
  14. {noweda-0.2.1 → noweda-0.2.3}/MANIFEST.in +0 -0
  15. {noweda-0.2.1 → noweda-0.2.3}/examples/sample.csv +0 -0
  16. {noweda-0.2.1 → noweda-0.2.3}/noweda/__init__.py +0 -0
  17. {noweda-0.2.1 → noweda-0.2.3}/noweda/cli.py +0 -0
  18. {noweda-0.2.1 → noweda-0.2.3}/noweda/core/__init__.py +0 -0
  19. {noweda-0.2.1 → noweda-0.2.3}/noweda/core/engine.py +0 -0
  20. {noweda-0.2.1 → noweda-0.2.3}/noweda/dtypes.py +0 -0
  21. {noweda-0.2.1 → noweda-0.2.3}/noweda/insights/__init__.py +0 -0
  22. {noweda-0.2.1 → noweda-0.2.3}/noweda/insights/generator.py +0 -0
  23. {noweda-0.2.1 → noweda-0.2.3}/noweda/io.py +0 -0
  24. {noweda-0.2.1 → noweda-0.2.3}/noweda/ml_recommendations.py +0 -0
  25. {noweda-0.2.1 → noweda-0.2.3}/noweda/ml_tasks.py +0 -0
  26. {noweda-0.2.1 → noweda-0.2.3}/noweda/ml_utils.py +0 -0
  27. {noweda-0.2.1 → noweda-0.2.3}/noweda/plugins/__init__.py +0 -0
  28. {noweda-0.2.1 → noweda-0.2.3}/noweda/plugins/base.py +0 -0
  29. {noweda-0.2.1 → noweda-0.2.3}/noweda/plugins/correlation.py +0 -0
  30. {noweda-0.2.1 → noweda-0.2.3}/noweda/plugins/duplicates.py +0 -0
  31. {noweda-0.2.1 → noweda-0.2.3}/noweda/plugins/encoding.py +0 -0
  32. {noweda-0.2.1 → noweda-0.2.3}/noweda/plugins/missing.py +0 -0
  33. {noweda-0.2.1 → noweda-0.2.3}/noweda/plugins/outliers.py +0 -0
  34. {noweda-0.2.1 → noweda-0.2.3}/noweda/plugins/pii.py +0 -0
  35. {noweda-0.2.1 → noweda-0.2.3}/noweda/plugins/schema.py +0 -0
  36. {noweda-0.2.1 → noweda-0.2.3}/noweda/plugins/stats.py +0 -0
  37. {noweda-0.2.1 → noweda-0.2.3}/noweda/report/__init__.py +0 -0
  38. {noweda-0.2.1 → noweda-0.2.3}/noweda/report/html.py +0 -0
  39. {noweda-0.2.1 → noweda-0.2.3}/noweda/report/json.py +0 -0
  40. {noweda-0.2.1 → noweda-0.2.3}/noweda/scoring/__init__.py +0 -0
  41. {noweda-0.2.1 → noweda-0.2.3}/noweda/scoring/scorer.py +0 -0
  42. {noweda-0.2.1 → noweda-0.2.3}/noweda/temporal_utils.py +0 -0
  43. {noweda-0.2.1 → noweda-0.2.3}/noweda/ui.py +0 -0
  44. {noweda-0.2.1 → noweda-0.2.3}/noweda.egg-info/dependency_links.txt +0 -0
  45. {noweda-0.2.1 → noweda-0.2.3}/noweda.egg-info/entry_points.txt +0 -0
  46. {noweda-0.2.1 → noweda-0.2.3}/noweda.egg-info/top_level.txt +0 -0
  47. {noweda-0.2.1 → noweda-0.2.3}/setup.cfg +0 -0
  48. {noweda-0.2.1 → noweda-0.2.3}/setup.py +0 -0
  49. {noweda-0.2.1 → noweda-0.2.3}/tests/test_basic.py +0 -0
  50. {noweda-0.2.1 → noweda-0.2.3}/tests/test_formats.py +0 -0
  51. {noweda-0.2.1 → noweda-0.2.3}/tests/test_large_mode.py +0 -0
  52. {noweda-0.2.1 → noweda-0.2.3}/tests/test_ml_tasks.py +0 -0
  53. {noweda-0.2.1 → noweda-0.2.3}/tests/test_progress.py +0 -0
  54. {noweda-0.2.1 → noweda-0.2.3}/tests/test_regressions.py +0 -0
  55. {noweda-0.2.1 → noweda-0.2.3}/tests/test_release_014.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: noweda
3
- Version: 0.2.1
3
+ Version: 0.2.3
4
4
  Summary: Automated EDA with insights, scoring, and security-aware detection — built as a native pandas extension.
5
5
  Author-email: Daniel Peng <danielpeng95@gmail.com>
6
6
  License: MIT
@@ -38,6 +38,7 @@ Requires-Dist: odfpy>=1.4.1; extra == "excel"
38
38
  Provides-Extra: viz
39
39
  Requires-Dist: matplotlib>=3.5; extra == "viz"
40
40
  Requires-Dist: scipy>=1.7; extra == "viz"
41
+ Requires-Dist: scikit-learn>=1.0; extra == "viz"
41
42
  Provides-Extra: ml
42
43
  Requires-Dist: statsmodels>=0.13; extra == "ml"
43
44
  Requires-Dist: scikit-learn>=1.0; extra == "ml"
@@ -46,6 +47,7 @@ Requires-Dist: pytest>=7; extra == "test"
46
47
  Requires-Dist: odfpy>=1.4.1; extra == "test"
47
48
  Requires-Dist: matplotlib>=3.5; extra == "test"
48
49
  Requires-Dist: scipy>=1.7; extra == "test"
50
+ Requires-Dist: scikit-learn>=1.0; extra == "test"
49
51
  Provides-Extra: hdf
50
52
  Requires-Dist: tables>=3.7; extra == "hdf"
51
53
  Provides-Extra: spss
@@ -107,8 +109,11 @@ df = pd.DataFrame({
107
109
  # Start with one complete assessment.
108
110
  df.eda.statsall()
109
111
 
110
- # Add charts when they help answer the next question.
111
- # df.eda.vizall()
112
+ # With noweda[viz], rank general charts within a panel budget.
113
+ # df.eda.vizall(max_plots=10)
114
+
115
+ # Add target-aware diagnostics for model-family decisions.
116
+ # df.eda.vizall(target="segment", max_plots=15)
112
117
 
113
118
  # Name an outcome before asking for supervised ML guidance.
114
119
  # df.eda.mlall(target="segment")
@@ -193,19 +198,35 @@ metrics, and cautions. Stars and `/5` values are estimated dataset-fit ratings
193
198
  within the selected task, not measured accuracy or expected performance. NowEDA
194
199
  does not train models in this step. See the [ML guidance documentation](https://codewithdaniel1.github.io/NowEDA/ml-guidance/).
195
200
 
196
- ### 3. `df.eda.vizall()` — Automatic charts
201
+ ### 3. `df.eda.vizall()` — Ranked visual diagnostics
197
202
 
198
- Install `noweda[viz]` to draw distributions, correlations, categorical associations,
199
- missingness, and applicable temporal plots. Unsupported or undefined categorical
200
- associations appear as `N/A`, not zero association.
203
+ Install `noweda[viz]` to draw a bounded set of distributions, relationships,
204
+ missingness, outliers, feature scales, and applicable temporal plots. Supply the
205
+ prediction target to add classification or regression diagnostics. NowEDA ranks
206
+ useful features, excludes likely identifiers and detected PII, and describes
207
+ model-family signals without claiming that a chart proves the best model.
208
+ Where applicable, it fits bounded visual baselines for linear regression,
209
+ logistic probability, linear and nonlinear SVM boundaries, and K-Means.
201
210
 
202
211
  ```python
203
- df.eda.vizall() # Small mode: use every loaded row
204
- df.eda.vizall(sample=5_000) # Use a bounded sample
212
+ df.eda.vizall() # General and unsupervised structure
213
+
214
+ visuals = df.eda.vizall(
215
+ target="fraud_flag",
216
+ max_plots=15,
217
+ )
218
+ print(visuals["model_signals"])
219
+ print(visuals["diagnostic_models"])
220
+
221
+ df.eda.vizall(sample=5_000) # Optional bounded sample
205
222
  ```
206
223
 
207
- Statistical reports use the complete DataFrame; visualization sampling affects
208
- only charts.
224
+ `max_plots` counts individual chart panels, including subplots. The returned
225
+ result contains the figures, ranked associations, selected features, plot
226
+ titles, scope, and cautious model signals. In small mode, `sample=` bounds this
227
+ visual analysis without changing the loaded DataFrame.
228
+ See the [visual diagnostics guide](https://codewithdaniel1.github.io/NowEDA/visual-diagnostics/)
229
+ for classification, regression, sampling, and interpretation details.
209
230
 
210
231
  ### 4. `df.eda.profile_column("age")` — One-column profile
211
232
 
@@ -268,7 +289,7 @@ df = eda.read("data.csv", dtype={"customer_id": str})
268
289
  | Parquet, Feather, ORC | Included with `pip install noweda` |
269
290
  | HDF5 | `pip install "noweda[hdf]"` |
270
291
  | SPSS | `pip install "noweda[spss]"` |
271
- | Charts and KDE overlays | `pip install "noweda[viz]"` |
292
+ | Charts, KDE overlays, and fitted visual diagnostics | `pip install "noweda[viz]"` |
272
293
  | Stationarity and seasonality dependencies | `pip install "noweda[ml]"` |
273
294
  | All optional analysis and format dependencies | `pip install "noweda[full]"` |
274
295
 
@@ -43,8 +43,11 @@ df = pd.DataFrame({
43
43
  # Start with one complete assessment.
44
44
  df.eda.statsall()
45
45
 
46
- # Add charts when they help answer the next question.
47
- # df.eda.vizall()
46
+ # With noweda[viz], rank general charts within a panel budget.
47
+ # df.eda.vizall(max_plots=10)
48
+
49
+ # Add target-aware diagnostics for model-family decisions.
50
+ # df.eda.vizall(target="segment", max_plots=15)
48
51
 
49
52
  # Name an outcome before asking for supervised ML guidance.
50
53
  # df.eda.mlall(target="segment")
@@ -129,19 +132,35 @@ metrics, and cautions. Stars and `/5` values are estimated dataset-fit ratings
129
132
  within the selected task, not measured accuracy or expected performance. NowEDA
130
133
  does not train models in this step. See the [ML guidance documentation](https://codewithdaniel1.github.io/NowEDA/ml-guidance/).
131
134
 
132
- ### 3. `df.eda.vizall()` — Automatic charts
135
+ ### 3. `df.eda.vizall()` — Ranked visual diagnostics
133
136
 
134
- Install `noweda[viz]` to draw distributions, correlations, categorical associations,
135
- missingness, and applicable temporal plots. Unsupported or undefined categorical
136
- associations appear as `N/A`, not zero association.
137
+ Install `noweda[viz]` to draw a bounded set of distributions, relationships,
138
+ missingness, outliers, feature scales, and applicable temporal plots. Supply the
139
+ prediction target to add classification or regression diagnostics. NowEDA ranks
140
+ useful features, excludes likely identifiers and detected PII, and describes
141
+ model-family signals without claiming that a chart proves the best model.
142
+ Where applicable, it fits bounded visual baselines for linear regression,
143
+ logistic probability, linear and nonlinear SVM boundaries, and K-Means.
137
144
 
138
145
  ```python
139
- df.eda.vizall() # Small mode: use every loaded row
140
- df.eda.vizall(sample=5_000) # Use a bounded sample
146
+ df.eda.vizall() # General and unsupervised structure
147
+
148
+ visuals = df.eda.vizall(
149
+ target="fraud_flag",
150
+ max_plots=15,
151
+ )
152
+ print(visuals["model_signals"])
153
+ print(visuals["diagnostic_models"])
154
+
155
+ df.eda.vizall(sample=5_000) # Optional bounded sample
141
156
  ```
142
157
 
143
- Statistical reports use the complete DataFrame; visualization sampling affects
144
- only charts.
158
+ `max_plots` counts individual chart panels, including subplots. The returned
159
+ result contains the figures, ranked associations, selected features, plot
160
+ titles, scope, and cautious model signals. In small mode, `sample=` bounds this
161
+ visual analysis without changing the loaded DataFrame.
162
+ See the [visual diagnostics guide](https://codewithdaniel1.github.io/NowEDA/visual-diagnostics/)
163
+ for classification, regression, sampling, and interpretation details.
145
164
 
146
165
  ### 4. `df.eda.profile_column("age")` — One-column profile
147
166
 
@@ -204,7 +223,7 @@ df = eda.read("data.csv", dtype={"customer_id": str})
204
223
  | Parquet, Feather, ORC | Included with `pip install noweda` |
205
224
  | HDF5 | `pip install "noweda[hdf]"` |
206
225
  | SPSS | `pip install "noweda[spss]"` |
207
- | Charts and KDE overlays | `pip install "noweda[viz]"` |
226
+ | Charts, KDE overlays, and fitted visual diagnostics | `pip install "noweda[viz]"` |
208
227
  | Stationarity and seasonality dependencies | `pip install "noweda[ml]"` |
209
228
  | All optional analysis and format dependencies | `pip install "noweda[full]"` |
210
229
 
@@ -0,0 +1 @@
1
+ __version__ = "0.2.3"