MCPcopy Create free account

hub / github.com/christopherjenness/ML-lib / functions

Functions201 in github.com/christopherjenness/ML-lib

Functioncontinuous_data
()
tests/data.py:5
Functioncontinuous_data_complicated
()
tests/data.py:11
Functionf
(x1, x2)
ML/svm.py:11
Methodfit
Fits Naive Bayes classifier Args: X (np.ndarray): Training data of shape[n_samples, n_features] y (np.ndarra
ML/naivebayes.py:34
Functiongrad
(X, y, weights)
tests/test_descentmethods.py:10
Methodgrad
Computes the gradient (needed if using gradient descent). Args: X (np.ndarray): Training data of shape[n_samples, n_feat
ML/regression.py:61
Methodgrad
Args: X (np.ndarray): Training data of shape[n_samples, n_features] y (np.ndarray): Target values of shape[n_samples,
ML/regression.py:125
Functionhess
(X, weights)
tests/test_descentmethods.py:19
Functionk_fold_generator
generator of indices to split data of given length into test and train sets. Useful for K-fold cross validation. Args: d
ML/modelselection.py:136
Methodlearn_split
CART algorithm to learn split at node in tree. Minimizes mean squared error of the two classes generated. Args:
ML/treemethods.py:194
Methodlearn_split
CART algorithm to learn split at node in tree. Minimizes total misclassification error. Args: data (np.ndarray):
ML/treemethods.py:263
Methodlearned
(self)
ML/regression.py:23
Functionlinear_kernel
(**kwargs)
ML/svm.py:10
Methodlocallogisticregression
Local linear logistic eliminates bias at boundries of domain. It uses weighted least squares, determining weights from the k
ML/kernelmethods.py:158
Functionnewtonsmethod
Args: X (np.ndarray): Training data of shape[n_samples, n_features] y (np.ndarray): Target values of shape[n_samples, 1]
ML/descentmethods.py:116
Functionpolynomial_kernel
(power, coef, **kwargs)
ML/svm.py:15
Methodpredict
Args: x (np.array): Training data of shape[1, n_features] Currently, only vector of single sample is supported
ML/naivebayes.py:48
Functionrbf_kernel
(gamma, **kwargs)
ML/svm.py:20
Functionsteepestdescent
Args: X (np.ndarray): Training data of shape[n_samples, n_features] y (np.ndarray): Target values of shape[n_samples, 1]
ML/descentmethods.py:78
Functiontall_matrix_data
()
tests/data.py:23
Functiontall_matrix_data_2
()
tests/data.py:32
Functiontest_ClassificationTree
()
tests/test_treemethods.py:14
Functiontest_DANN
()
tests/test_prototypemethods.py:80
Functiontest_DANN_prediction
()
tests/test_prototypemethods.py:87
Functiontest_DiscreteAdaBoost
()
tests/test_treemethods.py:30
Functiontest_GM_fit
()
tests/test_gaussianmixtures.py:13
Functiontest_GM_fit_lowiterations
()
tests/test_gaussianmixtures.py:24
Functiontest_GM_init
()
tests/test_gaussianmixtures.py:6
Functiontest_GM_predict
()
tests/test_gaussianmixtures.py:35
Functiontest_GM_predict_probs
()
tests/test_gaussianmixtures.py:46
Functiontest_GradientBoostingRegression
()
tests/test_treemethods.py:38
Functiontest_KMeans
()
tests/test_prototypemethods.py:22
Functiontest_KMeans_prediction
()
tests/test_prototypemethods.py:31
Functiontest_KMediods
()
tests/test_prototypemethods.py:41
Functiontest_KMediods_prediction
()
tests/test_prototypemethods.py:51
Functiontest_LDA
()
tests/test_discriminantanalysis.py:5
Functiontest_LVQ
()
tests/test_prototypemethods.py:61
Functiontest_LVQ_prediction
()
tests/test_prototypemethods.py:70
Functiontest_PCA
()
tests/test_pca.py:6
Functiontest_Perceptron
()
tests/test_svm.py:28
Functiontest_PrimRegression
()
tests/test_treemethods.py:22
Functiontest_QDA
()
tests/test_discriminantanalysis.py:15
Functiontest_RDA
()
tests/test_discriminantanalysis.py:25
Functiontest_RandomForestRegression
()
tests/test_treemethods.py:46
Functiontest_RegressionTree
()
tests/test_treemethods.py:6
Functiontest_SupportVectorMachine
()
tests/test_svm.py:6
Functiontest_SupportVectorMachine_polynomial_kernel
()
tests/test_svm.py:17
Functiontest_bernoulli_naive_bayes
()
tests/test_naivebayes.py:22
Functiontest_bernoulli_naive_bayes_probs
()
tests/test_naivebayes.py:30
Functiontest_best_subset
()
tests/test_modelselection.py:7
Functiontest_best_subset_backward
()
tests/test_modelselection.py:26
Functiontest_best_subset_combinatorial
()
tests/test_modelselection.py:36
Functiontest_best_subset_forward
()
tests/test_modelselection.py:16
Functiontest_epanechnikovkernel_close
()
tests/test_kernelmethods.py:13
Functiontest_epanechnikovkernel_distant
()
tests/test_kernelmethods.py:18
Functiontest_epanechnikovkernel_same
()
tests/test_kernelmethods.py:23
Functiontest_error_cross_entropy_error
()
tests/test_modelselection.py:60
Functiontest_error_mean_classification_error
()
tests/test_modelselection.py:53
Functiontest_error_mse
()
tests/test_modelselection.py:46
Functiontest_gaussian_naive_bayes
()
tests/test_naivebayes.py:5
Functiontest_gaussian_naive_bayes_probs
()
tests/test_naivebayes.py:14
Functiontest_gaussiankernel_close
()
tests/test_kernelmethods.py:43
Functiontest_gaussiankernel_distant
()
tests/test_kernelmethods.py:48
Functiontest_gaussiankernel_same
()
tests/test_kernelmethods.py:53
Functiontest_gradientdescent
()
tests/test_descentmethods.py:25
Functiontest_gradientdescent_alpha
()
tests/test_descentmethods.py:32
Functiontest_gradientdescent_initialweights
()
tests/test_descentmethods.py:48
Functiontest_gradientdescent_lowiterations
()
tests/test_descentmethods.py:40
Functiontest_gradientdescent_regparam
()
tests/test_descentmethods.py:66
Functiontest_gradientdescent_stochastic
()
tests/test_descentmethods.py:57
Functiontest_k_fold_generator
()
tests/test_modelselection.py:67
Functiontest_k_fold_generator_odd
()
tests/test_modelselection.py:75
Functiontest_kerneldensityestimate
()
tests/test_kernelmethods.py:74
Functiontest_kerneldensitypredict
()
tests/test_kernelmethods.py:82
Functiontest_kernelmethods_fit
()
tests/test_kernelmethods.py:6
Functiontest_knearestneighbor_classification
()
tests/test_prototypemethods.py:14
Functiontest_knearestneighbor_regression
()
tests/test_prototypemethods.py:6
Functiontest_linear_kernel
()
tests/test_svm.py:37
Functiontest_linear_regression
()
tests/test_regression.py:5
Functiontest_linear_regression_descent
()
tests/test_regression.py:12
Functiontest_linear_regression_descent_regularized
()
tests/test_regression.py:28
Functiontest_linear_regression_regularized
()
tests/test_regression.py:19
Functiontest_locallinearregression
()
tests/test_kernelmethods.py:66
Functiontest_logistic_regression
()
tests/test_regression.py:37
Functiontest_logistic_regression_regularized
()
tests/test_regression.py:44
Functiontest_nadarayaaverage
()
tests/test_kernelmethods.py:58
Functiontest_newtonsmethod
()
tests/test_descentmethods.py:101
Functiontest_newtonsmethod_alpha
()
tests/test_descentmethods.py:110
Functiontest_newtonsmethod_initialweights
()
tests/test_descentmethods.py:128
Functiontest_newtonsmethod_lowiterations
()
tests/test_descentmethods.py:119
Functiontest_polynomial_kernel
()
tests/test_svm.py:44
Functiontest_rbf_kernel
()
tests/test_svm.py:53
Functiontest_steepestdescent
()
tests/test_descentmethods.py:75
Functiontest_steepestdescent_alpha
()
tests/test_descentmethods.py:83
Functiontest_steepestdescent_lowiterations
()
tests/test_descentmethods.py:92
Functiontest_test_train_splitter
()
tests/test_modelselection.py:83
Functiontest_train_splitter
Splits X and y arrays into test and train sets Args: X (np.ndarray): Training data of shape[n_samples, n_features] y (np.nda
ML/modelselection.py:101
Functiontest_tricubekernel_close
()
tests/test_kernelmethods.py:28
Functiontest_tricubekernel_distant
()
tests/test_kernelmethods.py:33
Functiontest_tricubekernel_same
()
tests/test_kernelmethods.py:38
← previousnext →101–200 of 201, ranked by callers