ML Project 2 (Post 2)

I finished the Linear Regression & Classification project for Machine Learning class tonight. The part that took me the longest was definitely the conversion of the C sample code to Python! I can read C OK, but have never written more than the most basic code in C, and want to learn Python as well… Continue reading ML Project 2 (Post 2)

Is Data Scientist the Right Career Path for Me?

This is a post in response to the interview article “Is Data Scientist the right career path for you? Candid Advice” posted on KDnuggets here: http://www.kdnuggets.com/2014/03/data-scientist-right-career-path-candid-advice.html In that post, Paco Nathan, “a data science expert with 25+ years of industry experience”, is interviewed about Data Science as a career path, and gives his opinions on… Continue reading Is Data Scientist the Right Career Path for Me?

ML Project 2

For the latest project, my Machine Learning professor gave us some sample code (in C) and we have to:
Convert the sample into the language we’ll be using (Python in my case) and compile & run the linear regression model on the training data, calculating the error using a function. Modify the program to…

Midterms & Project 1 Grade

I’ve been gone from the blog for a while because of midterms in my two grad classes (Risk Analysis and Machine Learning), and I was about to come back and write about an algorithm I explored that wasn’t related to one of my classes, but my Machine Learning professor went and assigned another project…

Wolfram Language

Stephen Wolfram recently announced that he is releasing a programming language that appears to include a quick development approach for mathematical and data science projects (and more), utilizing everything that Wolfram Alpha and Mathematica are capable of, and taking them to another level completely. The demonstration in the video is very impressive, and I’m excited to try this out!

ML Project 1 (Post 6)

I will post again on this project later to summarize everything that I learned, and hopefully clean up the code a bit now that I’m not under a time constraint to just get enough done to turn in! Also, now that I’ve submitted my work, any advice on the approach is welcome! The 4 classification… Continue reading ML Project 1 (Post 6)

ML Project 1 (Post 4)

Wow, this was a tough one!! I actually had the right idea for this Gaussian Bayes Classifier from the start, but I got totally stuck because my Gaussian values were coming out as 2×2 matrixes instead of probabilities. It turns out my x-mu vectors were being stored as arrays, not matrixes, and in Python, arrays don’t have the same shape. So I don’t know why it didn’t get an error, but the math was coming out all wonky.

I stepped through each piece of that equation, and eventually discovered the “shape” property, which showed me that what I thought was a matrix and a matrix transpose were being seen as the same shape.

ML Project 1 (Post 3)

I present to you… my first classifier! Naive Bayes! It appears to work! haha :)
I know it’s a mess, but I have barely used Python before, and I’m new to Machine Learning, so I’m learning. This is for #2 for my project.