随笔分类 - Machine Learning
摘要:Predicting Student Admissions with Neural Networks In this notebook, we predict student admissions to graduate school at UCLA based on three pieces of
阅读全文
摘要:ClassifyNB.py: def classify(features_train, labels_train): ### import the sklearn module for GaussianNB from sklearn.naive_bayes import GaussianNB ###
阅读全文
摘要:Implementing the Gradient Descent Algorithm In this lab, we'll implement the basic functions of the Gradient Descent algorithm to find the boundary in
阅读全文
摘要:If I have bunch of events and a bunch of probabilities, how likely is it those events happen based on the probabilities? If it is very likely then we
阅读全文
摘要:The Softmax Function In the next video, we'll learn about the softmax function, which is the equivalent of the sigmoid activation function, but when t
阅读全文
摘要:The sigmoid function is defined as sigmoid(x) = 1/(1+e-x). If the score is defined by 4x1 + 5x2 - 9 = score, then which of the following points has ex
阅读全文
摘要:Give this: We have a wrongn classified point, how to move the line to come closer to the points? We apply learning rate and since wrong point is in po
阅读全文
摘要:Training an algorithm involes four ingredients: Data Model Objective function: We put data input a Model and get output out of it. The value we call i
阅读全文
摘要:A part of Natural Language Processing (NLP) is processing text by “tokenizing” language strings. This means we can break up a string of text into part
阅读全文