Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devAmoghS/Machine-Learning-with-Python
/ functions
Functions
274 in github.com/devAmoghS/Machine-Learning-with-Python
⨍
Functions
274
◇
Types & classes
2
↓ 1 callers
Function
vector_as_matrix
returns the vector v (represented as a list) as a n x 1 matrix
network_analysis/utils.py:109
↓ 1 callers
Function
vector_from_matrix
returns the n x 1 matrix as a list of values
network_analysis/utils.py:114
↓ 1 callers
Function
vector_mean
compute the vector whose i-th element is the mean of the i-th elements of the input vectors
helpers/linear_algebra.py:28
↓ 1 callers
Function
word_probabilities
Turn the word_counts into a list of triplets: w, p(w|spam) and p(w|~spam)
naive_bayes_classfier/utils.py:22
Method
__init__
(self, k)
k_means_clustering/utils.py:10
Method
__init__
(self, k=0.5)
naive_bayes_classfier/naivebayesclassifier.py:6
Function
beta_pdf
(x, alpha, beta)
hypothesis_inference.py:138
Function
classify_and_plot_grid
(k=1)
k_nearest_neighbors/utils.py:74
Function
combine_pct_changes
(pct_change1, pct_change2)
working_with_data/model.py:72
Function
compare_distributions
(num_samples=1000)
natural_language_processing/utils.py:145
Function
compare_two_distributions
()
working_with_data/utils.py:30
Function
correlation_matrix
returns the num_columns x num_columns matrix whose (i, j)th entry is the correlation between columns i and j of data
working_with_data/utils.py:61
Function
count_extreme_values
()
hypothesis_inference.py:77
Function
create_model
()
hparams_grid_search_keras_nn.py:28
Function
data_scientists_who_like
(target_interest)
friendster_network.py:101
Function
day_over_day_changes
(grouped_rows)
working_with_data/utils.py:191
Function
derivative
(x)
helpers/gradient_descent.py:19
Function
derivative_estimate
()
helpers/gradient_descent.py:22
Function
directional_variance
the variance of the data in the direction w
working_with_data/utils.py:250
Function
directional_variance_gradient
(X, w)
working_with_data/utils.py:262
Function
entry_fn
(i, j)
network_analysis/utils.py:138
Function
estimate_gradient
(f, v, h=0.00001)
helpers/gradient_descent.py:41
Function
estimate_sample_beta
(sample)
multiple_regression/utils.py:59
Function
f_or_none
(x)
working_with_data/utils.py:134
Function
first_principal_component_sgd
(X)
working_with_data/utils.py:275
Function
forest_classify
(trees, input)
decision_trees/utils.py:109
Function
generate_sentence
(grammar)
natural_language_processing/utils.py:109
Function
generate_using_bigrams
(transitions)
natural_language_processing/utils.py:55
Function
generate_using_trigrams
(starts, transitions)
natural_language_processing/utils.py:66
Function
get_document
()
natural_language_processing/utils.py:38
Function
get_merge_order
(cluster)
k_means_clustering/utils.py:106
Function
is_diagonal
1's on the 'diagonal', 0's everywhere else
helpers/linear_algebra.py:83
Function
lasso_penalty
(beta, alpha)
multiple_regression/utils.py:111
Function
logistic_log_gradient
(x, y, beta)
logistic_regression/utils.py:42
Function
logistic_log_likelihood
(x, y, beta)
logistic_regression/utils.py:22
Function
logistic_prime
(x)
logistic_regression/utils.py:11
Function
make_chart_salaries_by_tenure
()
friendster_network.py:143
Function
make_digit
(raw_digit)
neural_network/model.py:8
Function
make_friend_counts_histogram
(plt)
helpers/stats.py:14
Function
make_graph_dot_product_as_vector_projection
(plt)
helpers/linear_algebra.py:115
Function
make_hist
(p, n, num_points)
helpers/probabilty.py:87
Function
make_scatterplot_matrix
()
working_with_data/utils.py:73
Function
make_user_interest_vector
(interests, user_interests)
recommender_systems/utils.py:11
Function
matrix_add
(A, B)
helpers/linear_algebra.py:104
Function
matrix_entry
(i, j)
working_with_data/utils.py:67
Function
matrix_product_entry
(A, B, i, j)
network_analysis/utils.py:95
Function
normal_probability_outside
(lo, hi, mu=0, sigma=1)
hypothesis_inference.py:33
Function
overall_change
(changes)
working_with_data/model.py:75
Function
p_spam_given_word
(word_prob)
naive_bayes_classfier/model.py:36
Function
perceptron_output
returns 1 if the perceptron 'fires', 0 if not
neural_network/utils.py:13
Function
plot_cities
()
k_nearest_neighbors/utils.py:48
Function
plot_data
(data)
logistic_regression_banking/utils.py:9
Function
plot_estimated_derivative
()
helpers/gradient_descent.py:15
Function
plot_normal_cdfs
(plt)
helpers/probabilty.py:44
Function
plot_normal_pdfs
(plt)
helpers/probabilty.py:30
Function
plot_resumes
Word Clouds
natural_language_processing/utils.py:11
Function
predict_paid_or_unpaid
(years_experience)
friendster_network.py:192
Function
random_forest
Random Forest Algorithm
sonar_clf_rf.py:220
Function
raw_majority_vote
(labels)
k_nearest_neighbors/utils.py:10
Function
recolor_image
(input_file, k=5)
k_means_clustering/utils.py:54
Function
rescaled
(i, j)
working_with_data/utils.py:222
Function
safe_f
(*args, **kwargs)
helpers/gradient_descent.py:59
Function
scatter
()
working_with_data/utils.py:52
Function
show_weights
(network, neuron_idx)
neural_network/utils.py:75
Function
square
(x)
helpers/gradient_descent.py:16
Function
squared_clustering_errors
finds the total squared error from k-means clustering the inputs
k_means_clustering/utils.py:41
Function
squared_error
(x_i, y_i, theta)
simple_linear_regression/utils.py:33
Function
squared_error
(x_i, y_i, beta)
multiple_regression/utils.py:18
Function
squared_error_gradient
(x_i, y_i, theta)
simple_linear_regression/utils.py:38
Function
squared_error_ridge
estimate error plus ridge penalty on beta
multiple_regression/utils.py:82
Function
squared_error_ridge_gradient
the gradient corresponding to the ith squared error term including the ridge penalty
multiple_regression/utils.py:92
Function
transform
(X, components)
working_with_data/utils.py:315
Function
uniform_cdf
returns the probability that a uniform random variable is less than x
helpers/probabilty.py:15
Function
uniform_pdf
(x)
helpers/probabilty.py:11
← previous
201–274 of 274, ranked by callers