May 4, 2017gradient descent,logistic regression,mathematicsMathematics
In my previous post, you saw the derivative of the cost function for logistic regression as:
I bet several of you were thinking, "How on Earth could you derive a cost function like this:
Into a nice function like this:
Well, this post is going to go through the math. Even if you already know it, it's a good algebra and calculus problem. Read more
by Joseph Woolf
May 3, 2017algorithm,gradient descent,logistic regression,classification,supervisedAlgorithms,Machine Learning
As I previously mentioned in my Linear Regression post, linear regression works best with regression type problems. Linear regression wouldn't work well on classification problem since only numeric values on a continuous interval would be returned. Now, you could describe a range to classify the test case when an interval is reached, but it's not very good practice to use the algorithm in this manner.
So if you can't use linear regression for classification, what kind of algorithm can be used to classify test cases? While there are many different algorithms that can be used in classification, one of the most basic algorithms is logistic regression.
April 29, 2017Datasets
This week's dataset focuses on popular baby names and their ethnicity in New York city. Read more
April 26, 2017algorithm,gradient descentAlgorithms
When working with machine learning algorithms, you often have to train your algorithm prior to predicting future data. One of the most popular methods that is used for training is called gradient descent.
April 22, 2017linear regression,datasetDatasets
This week's dataset covers some housing date from Boston Massachusetts. The dataset is provided by UCI and is primarily geared towards regression. The main point of this analysis is to determine how the cross validation error and testing error behaved as the number of cases increased. Read more
April 19, 2017algorithm,linear regression,regression,supervisedAlgorithms,Machine Learning
For anyone who starts out with machine learning, one of the first algorithms that one would learn is linear regression.
April 15, 2017dataset,KaggleDatasets
This week's dataset explores crimes that occurred in Los Angeles between 2012-2016. I had two objectives in mind when working with this dataset. The first was observing crime patterns to see whether anything interesting popped out. The second was getting more experience manipulating data with pandas.Read more