datly 0.0.1 → 0.0.3
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.
- package/README.MD +1773 -2386
- package/dist/datly.cjs +1 -0
- package/dist/datly.mjs +1 -0
- package/dist/datly.umd.js +1 -1
- package/dist/datly.umd.js.map +1 -0
- package/package.json +24 -11
- package/src/code.js +2466 -0
- package/src/index.js +236 -0
- package/src/plot.js +609 -0
package/src/index.js
ADDED
@@ -0,0 +1,236 @@
|
|
1
|
+
import {
|
2
|
+
plotHistogram,
|
3
|
+
plotBoxplot,
|
4
|
+
plotScatter,
|
5
|
+
plotLine,
|
6
|
+
plotBar,
|
7
|
+
plotPie,
|
8
|
+
plotHeatmap,
|
9
|
+
plotViolin,
|
10
|
+
plotDensity,
|
11
|
+
plotQQ,
|
12
|
+
plotParallel,
|
13
|
+
plotPairplot,
|
14
|
+
plotMultiline
|
15
|
+
} from './plot.js';
|
16
|
+
|
17
|
+
import {
|
18
|
+
// dataframe
|
19
|
+
dataframe_from_json,
|
20
|
+
df_describe,
|
21
|
+
df_missing_report,
|
22
|
+
df_corr,
|
23
|
+
eda_overview,
|
24
|
+
// stats
|
25
|
+
mean,
|
26
|
+
stddeviation,
|
27
|
+
variance,
|
28
|
+
median,
|
29
|
+
quantile,
|
30
|
+
minv,
|
31
|
+
maxv,
|
32
|
+
skewness,
|
33
|
+
kurtosis,
|
34
|
+
corr_pearson,
|
35
|
+
corr_spearman,
|
36
|
+
// distributions
|
37
|
+
normal_pdf,
|
38
|
+
normal_cdf,
|
39
|
+
normal_ppf,
|
40
|
+
binomial_pmf,
|
41
|
+
binomial_cdf,
|
42
|
+
poisson_pmf,
|
43
|
+
poisson_cdf,
|
44
|
+
// hypothesis tests
|
45
|
+
t_test_independent,
|
46
|
+
z_test_one_sample,
|
47
|
+
chi_square_independence,
|
48
|
+
anova_oneway,
|
49
|
+
// ml
|
50
|
+
train_test_split,
|
51
|
+
train_linear_regression,
|
52
|
+
train_logistic_regression,
|
53
|
+
predict_linear,
|
54
|
+
predict_logistic,
|
55
|
+
metrics_classification,
|
56
|
+
metrics_regression,
|
57
|
+
// additional statistical tests
|
58
|
+
t_test_paired,
|
59
|
+
t_test_one_sample,
|
60
|
+
shapiro_wilk,
|
61
|
+
jarque_bera,
|
62
|
+
levene_test,
|
63
|
+
kruskal_wallis,
|
64
|
+
mann_whitney,
|
65
|
+
wilcoxon_signed_rank,
|
66
|
+
chi_square_goodness,
|
67
|
+
// confidence intervals
|
68
|
+
confidence_interval_mean,
|
69
|
+
confidence_interval_proportion,
|
70
|
+
confidence_interval_variance,
|
71
|
+
confidence_interval_difference,
|
72
|
+
// additional correlations
|
73
|
+
corr_kendall,
|
74
|
+
corr_partial,
|
75
|
+
corr_matrix_all,
|
76
|
+
// knn
|
77
|
+
train_knn_classifier,
|
78
|
+
predict_knn_classifier,
|
79
|
+
train_knn_regressor,
|
80
|
+
predict_knn_regressor,
|
81
|
+
// decision trees
|
82
|
+
train_decision_tree_classifier,
|
83
|
+
train_decision_tree_regressor,
|
84
|
+
predict_decision_tree,
|
85
|
+
// random forest
|
86
|
+
train_random_forest_classifier,
|
87
|
+
train_random_forest_regressor,
|
88
|
+
predict_random_forest_classifier,
|
89
|
+
predict_random_forest_regressor,
|
90
|
+
// naive bayes
|
91
|
+
train_naive_bayes,
|
92
|
+
predict_naive_bayes,
|
93
|
+
// feature scaling
|
94
|
+
standard_scaler_fit,
|
95
|
+
standard_scaler_transform,
|
96
|
+
minmax_scaler_fit,
|
97
|
+
minmax_scaler_transform,
|
98
|
+
// dimensionality reduction
|
99
|
+
train_pca,
|
100
|
+
transform_pca,
|
101
|
+
// clustering
|
102
|
+
train_kmeans,
|
103
|
+
predict_kmeans,
|
104
|
+
// ensemble
|
105
|
+
ensemble_voting_classifier,
|
106
|
+
ensemble_voting_regressor,
|
107
|
+
// cross-validation
|
108
|
+
cross_validate,
|
109
|
+
// feature importance
|
110
|
+
feature_importance_tree,
|
111
|
+
// outlier detection
|
112
|
+
outliers_iqr,
|
113
|
+
outliers_zscore,
|
114
|
+
// time series
|
115
|
+
moving_average,
|
116
|
+
exponential_smoothing,
|
117
|
+
autocorrelation,
|
118
|
+
} from './code.js'
|
119
|
+
|
120
|
+
const daitly = {
|
121
|
+
dataframe_from_json,
|
122
|
+
df_describe,
|
123
|
+
df_missing_report,
|
124
|
+
df_corr,
|
125
|
+
eda_overview,
|
126
|
+
// stats
|
127
|
+
mean,
|
128
|
+
stddeviation,
|
129
|
+
variance,
|
130
|
+
median,
|
131
|
+
quantile,
|
132
|
+
minv,
|
133
|
+
maxv,
|
134
|
+
skewness,
|
135
|
+
kurtosis,
|
136
|
+
corr_pearson,
|
137
|
+
corr_spearman,
|
138
|
+
// distributions
|
139
|
+
normal_pdf,
|
140
|
+
normal_cdf,
|
141
|
+
normal_ppf,
|
142
|
+
binomial_pmf,
|
143
|
+
binomial_cdf,
|
144
|
+
poisson_pmf,
|
145
|
+
poisson_cdf,
|
146
|
+
// hypothesis tests
|
147
|
+
t_test_independent,
|
148
|
+
z_test_one_sample,
|
149
|
+
chi_square_independence,
|
150
|
+
anova_oneway,
|
151
|
+
// ml
|
152
|
+
train_test_split,
|
153
|
+
train_linear_regression,
|
154
|
+
train_logistic_regression,
|
155
|
+
predict_linear,
|
156
|
+
predict_logistic,
|
157
|
+
metrics_classification,
|
158
|
+
metrics_regression,
|
159
|
+
// additional statistical tests
|
160
|
+
t_test_paired,
|
161
|
+
t_test_one_sample,
|
162
|
+
shapiro_wilk,
|
163
|
+
jarque_bera,
|
164
|
+
levene_test,
|
165
|
+
kruskal_wallis,
|
166
|
+
mann_whitney,
|
167
|
+
wilcoxon_signed_rank,
|
168
|
+
chi_square_goodness,
|
169
|
+
// confidence intervals
|
170
|
+
confidence_interval_mean,
|
171
|
+
confidence_interval_proportion,
|
172
|
+
confidence_interval_variance,
|
173
|
+
confidence_interval_difference,
|
174
|
+
// additional correlations
|
175
|
+
corr_kendall,
|
176
|
+
corr_partial,
|
177
|
+
corr_matrix_all,
|
178
|
+
// knn
|
179
|
+
train_knn_classifier,
|
180
|
+
predict_knn_classifier,
|
181
|
+
train_knn_regressor,
|
182
|
+
predict_knn_regressor,
|
183
|
+
// decision trees
|
184
|
+
train_decision_tree_classifier,
|
185
|
+
train_decision_tree_regressor,
|
186
|
+
predict_decision_tree,
|
187
|
+
// random forest
|
188
|
+
train_random_forest_classifier,
|
189
|
+
train_random_forest_regressor,
|
190
|
+
predict_random_forest_classifier,
|
191
|
+
predict_random_forest_regressor,
|
192
|
+
// naive bayes
|
193
|
+
train_naive_bayes,
|
194
|
+
predict_naive_bayes,
|
195
|
+
// feature scaling
|
196
|
+
standard_scaler_fit,
|
197
|
+
standard_scaler_transform,
|
198
|
+
minmax_scaler_fit,
|
199
|
+
minmax_scaler_transform,
|
200
|
+
// dimensionality reduction
|
201
|
+
train_pca,
|
202
|
+
transform_pca,
|
203
|
+
// clustering
|
204
|
+
train_kmeans,
|
205
|
+
predict_kmeans,
|
206
|
+
// ensemble
|
207
|
+
ensemble_voting_classifier,
|
208
|
+
ensemble_voting_regressor,
|
209
|
+
// cross-validation
|
210
|
+
cross_validate,
|
211
|
+
// feature importance
|
212
|
+
feature_importance_tree,
|
213
|
+
// outlier detection
|
214
|
+
outliers_iqr,
|
215
|
+
outliers_zscore,
|
216
|
+
// time series
|
217
|
+
moving_average,
|
218
|
+
exponential_smoothing,
|
219
|
+
autocorrelation,
|
220
|
+
// plots
|
221
|
+
plotHistogram,
|
222
|
+
plotBoxplot,
|
223
|
+
plotScatter,
|
224
|
+
plotLine,
|
225
|
+
plotBar,
|
226
|
+
plotPie,
|
227
|
+
plotHeatmap,
|
228
|
+
plotViolin,
|
229
|
+
plotDensity,
|
230
|
+
plotQQ,
|
231
|
+
plotParallel,
|
232
|
+
plotPairplot,
|
233
|
+
plotMultiline
|
234
|
+
};
|
235
|
+
|
236
|
+
export default daitly;
|