noshot 0.3.1__py3-none-any.whl → 0.3.3__py3-none-any.whl

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 (30) hide show
  1. noshot/data/ML TS XAI/ML/1. PCA - EDA.ipynb +207 -0
  2. noshot/data/ML TS XAI/ML/2. KNN Classifier.ipynb +287 -0
  3. noshot/data/ML TS XAI/ML/3. Linear Discriminant Analysis.ipynb +83 -0
  4. noshot/data/ML TS XAI/ML/4. Linear Regression.ipynb +117 -0
  5. noshot/data/ML TS XAI/ML/5. Logistic Regression.ipynb +151 -0
  6. noshot/data/ML TS XAI/ML/6. Bayesian Classifier.ipynb +89 -0
  7. noshot/data/ML TS XAI/ML/data/balance-scale.csv +626 -0
  8. noshot/data/ML TS XAI/ML/data/balance-scale.txt +625 -0
  9. noshot/data/ML TS XAI/ML/data/machine-data.csv +210 -0
  10. noshot/data/ML TS XAI/ML/data/wine-dataset.csv +179 -0
  11. noshot/data/ML TS XAI/TS/1. EDA - Handling Time Series Data.ipynb +247 -0
  12. noshot/data/ML TS XAI/TS/2. Feature Engineering.ipynb +183 -0
  13. noshot/data/ML TS XAI/TS/3. Temporal Relationships.ipynb +172 -0
  14. noshot/data/ML TS XAI/TS/4. Up-Down-Sampling and Interpolation.ipynb +146 -0
  15. noshot/data/ML TS XAI/TS/5. Stationarity - Trend - Seasonality.ipynb +173 -0
  16. noshot/data/ML TS XAI/TS/6. Autocorrelation - Partial Autocorrelation.ipynb +77 -0
  17. noshot/data/ML TS XAI/TS/AllinOne.ipynb +1416 -0
  18. noshot/data/ML TS XAI/TS/data/daily-min-temperatures.csv +3651 -0
  19. noshot/data/ML TS XAI/TS/data/daily-total-female-births.csv +366 -0
  20. noshot/data/ML TS XAI/TS/data/raw_sales.csv +29581 -0
  21. noshot/data/ML TS XAI/TS/data/shampoo_sales.csv +37 -0
  22. noshot/main.py +18 -18
  23. noshot/utils/__init__.py +2 -2
  24. noshot/utils/shell_utils.py +56 -56
  25. {noshot-0.3.1.dist-info → noshot-0.3.3.dist-info}/LICENSE.txt +20 -20
  26. {noshot-0.3.1.dist-info → noshot-0.3.3.dist-info}/METADATA +55 -55
  27. noshot-0.3.3.dist-info/RECORD +30 -0
  28. noshot-0.3.1.dist-info/RECORD +0 -9
  29. {noshot-0.3.1.dist-info → noshot-0.3.3.dist-info}/WHEEL +0 -0
  30. {noshot-0.3.1.dist-info → noshot-0.3.3.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,77 @@
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": null,
6
+ "id": "97b25ae4-1eb7-4599-bad4-e959bbb9a275",
7
+ "metadata": {},
8
+ "outputs": [],
9
+ "source": [
10
+ "import pandas as pd\n",
11
+ "import numpy as np\n",
12
+ "import matplotlib.pyplot as plt\n",
13
+ "from statsmodels.graphics.tsaplots import plot_acf, plot_pacf"
14
+ ]
15
+ },
16
+ {
17
+ "cell_type": "code",
18
+ "execution_count": null,
19
+ "id": "f70584ab-aa4d-4957-9315-3e884f66c559",
20
+ "metadata": {},
21
+ "outputs": [],
22
+ "source": [
23
+ "df = pd.read_csv('data/daily-min-temperatures.csv')\n",
24
+ "print(df.shape)\n",
25
+ "df.head()"
26
+ ]
27
+ },
28
+ {
29
+ "cell_type": "code",
30
+ "execution_count": null,
31
+ "id": "b6574dd0-e010-423b-bb26-ba2ca142e848",
32
+ "metadata": {},
33
+ "outputs": [],
34
+ "source": [
35
+ "df.plot(title = \"daily Minimum Temperature\" ,figsize = (14, 8), legend = None, color = 'green')\n",
36
+ "plt.xlabel('Date')\n",
37
+ "plt.ylabel('Temperature (°C)')\n",
38
+ "plt.show()"
39
+ ]
40
+ },
41
+ {
42
+ "cell_type": "code",
43
+ "execution_count": null,
44
+ "id": "3ba0f2ea-069c-4aa2-aa4b-0d90a54ee21f",
45
+ "metadata": {},
46
+ "outputs": [],
47
+ "source": [
48
+ "fig, axs = plt.subplots(2, 1, figsize = (10,8))\n",
49
+ "plot_acf(df['Temp'], lags = 30, ax = axs[0], title = 'Autocorrelation (ACF)', color = 'green')\n",
50
+ "plot_pacf(df['Temp'], lags = 30, ax = axs[1], title = 'Partial Autocorrelation (PACF)', color = 'red')\n",
51
+ "plt.tight_layout()\n",
52
+ "plt.show()"
53
+ ]
54
+ }
55
+ ],
56
+ "metadata": {
57
+ "kernelspec": {
58
+ "display_name": "Python 3 (ipykernel)",
59
+ "language": "python",
60
+ "name": "python3"
61
+ },
62
+ "language_info": {
63
+ "codemirror_mode": {
64
+ "name": "ipython",
65
+ "version": 3
66
+ },
67
+ "file_extension": ".py",
68
+ "mimetype": "text/x-python",
69
+ "name": "python",
70
+ "nbconvert_exporter": "python",
71
+ "pygments_lexer": "ipython3",
72
+ "version": "3.12.4"
73
+ }
74
+ },
75
+ "nbformat": 4,
76
+ "nbformat_minor": 5
77
+ }