23 个版本
0.3.2 | 2020年7月12日 |
---|---|
0.3.1 | 2020年7月2日 |
0.3.0 | 2020年6月28日 |
0.2.11 | 2020年6月27日 |
0.1.12 | 2020年5月31日 |
#243 在 机器学习 中
每月 59 次下载
445KB
7.5K SLoC
描述
- 创建一个函数库,这些函数经常用于数据分析和机器学习任务
- 受 Python 库如 numpy、sklearn、pandas 等的启发
本版本变更
部分 | 新增 | 修复 | 删除 |
---|---|---|---|
lib_matrix | dataframe_comparision, datamap_comparision, vector_comparision, DataFrame > sort, DataMap > sort | ||
lib_ts | pacf |
与 Scikit learn 的输出 进行比较
- OLS
- BLR
- SSVM
- KNN
- Kmeans
参考文献?
- Rust: Crazcalm's Tech Stack
- lib_nn: nnfs.io
- 文中提到的其他博客
函数和结构体列表
lib_matrix
1. MatrixF :
> determinant_f
x determinant_2
x determinant_3plus
> is_square_matrix
x round_off_f
> inverse_f
x identity_matrix
x zero_matrix
2. DataFrame:
> describe
> groupby
> sort
3. DataMap:
> describe
> groupby
> sort
1. dot_product
2. element_wise_operation
3. matrix_multiplication
4. pad_with_zero
5. print_a_matrix
6. shape_changer
7. transpose
8. vector_addition
9. make_matrix_float
10. make_vector_float
11. round_off_f
12. unique_values
13. value_counts
14. is_numerical
15. min_max_f
16. type_of
17. element_wise_matrix_operation
18. matrix_vector_product_f
19. split_vector
20. split_vector_at
21. join_matrix
22. make_matrix_string_literal
23. head
24. tail
25. row_to_columns_conversion
26. columns_to_rows_conversion
27. dataframe_comparision
28. datamap_comparision
29. vector_comparision
lib_ml
1. OLS:
> fit
2. BLR:
> fit
> sigmoid
> log_loss
> gradient_descent
> change_in_loss
> predict
3. KNN
> fit
x predict
4. Distance
> distance_euclidean
> distance_manhattan
> distance_cosine
> distance_chebyshev
5. Kmeans
> fit
6. SSVM
> fit
x sgd
x compute_cost
x calculate_cost_gradient
x predict
1. coefficient
2. convert_and_impute
3. covariance
4. impute_string
5. mean
6. read_csv
7. root_mean_square
8. simple_linear_regression_prediction
9. variance
10. convert_string_categorical
11. min_max_scaler
12. logistic_function_f
13. log_gradient_f
14. logistic_predict
15. randomize_vector
16. randomize
17. train_test_split_vector_f
18. train_test_split_f
19. correlation
20. std_dev
21. spearman_rank
22. how_many_and_where_vector
23. how_many_and_where
24. z_score
25. one_hot_encoding
26. shape
27. rmse
28. mse
29. mae
30. r_square
31. mape
32. drop_column
33. preprocess_train_test_split
34. standardize_vector_f
35. min_max_scaler
36. float_randomize
37. confuse_me
38. cv
39. z_outlier_f
40. percentile_f
41. quartile_f
lib_nn
1. LayerDetails :
> create_weights
> create_bias
> output_of_layer
1. activation_leaky_relu
2. activation_relu
3. activation_sigmoid
4. activation_tanh
lib_string
1. StringToMatch :
> compare_percentage
x calculate
> clean_string
x char_vector
> compare_chars
> compare_position
> fuzzy_subset
x n_gram
> split_alpha_numericals
> char_count
> frequent_char
> char_replace
1. extract_vowels_consonants
2. sentence_case
3. remove_stop_words
4. tokenize
lib_ts
1. acf
2. simple_ma
3. exp_ma
4. best_fit_line
关于作者
- 使用 Python,学习 Rust
- 欢迎反馈
- [email protected]
依赖
~520–770KB
~12K SLoC