Statistical Learning
Markov Chain Monte Carlo for Bayesian Inference - The Metropolis Algorithm - QuantStart
In previous discussions of Bayesian Inference we introduced Bayesian Statistics and considered how to infer a binomial proportion using the concept of conjugate priors. We discussed the fact that not all models can make use of conjugate priors and thus calculation of the posterior distribution would need to be approximated numerically. In this article we introduce the main family of algorithms, known collectively as Markov Chain Monte Carlo (MCMC), that allow us to approximate the posterior distribution as calculated by Bayes' Theorem. In particular, we consider the Metropolis Algorithm, which is easily stated and relatively straightforward to understand. It serves as a useful starting point when learning about MCMC before delving into more sophisticated algorithms such as Metropolis-Hastings, Gibbs Samplers and Hamiltonian Monte Carlo. Once we have described how MCMC works, we will carry it out using the open-source PyMC3 library, which takes care of many of the underlying implementation details, allowing us to concentrate on Bayesian modelling.
Predicting Car Prices Part 2: Using Neural Network
This is part two of the series. In part one, we used linear regression model to predict the prices of used Toyota Corollas. There are some overlap in the materials for those just reading this post for the first time. For those who read the part 1 of the series using linear regression, then you can safely skip to the section where I applied neural networks to the same data set. In this post, we will use neural networks!
The Promise and Pitfalls of Machine Learning Ayasdi
Machine learning is generating a tremendous amount of attention these days from the press as well as the practitioners. And rightly so – machine learning is a transformative technology. But despite the references to the topic, the money raised from venture capitalists, and the spotlight that Google is bringing to the subject, machine learning is still poorly understood outside of a core group of highly technical leaders. This has the effect of underestimating how transformative machine learning is going to be. It also has the effect of shielding business leaders from what they need to do to prepare for the era of machine learning.
Collection Of SVM Libraries By Language
SVMlight, by Joachims, is one of the most widely used SVM classification and regression packages. It has a fast optimization algorithm, can be applied to very large datasets, and has a very efficient implementation of the leave-one-out cross-validation. Distributed as C source and binaries for Linux, Windows, Cygwin, and Solaris.
Escaping from Saddle Points
Non-convex functions can be much more complicated. In this post we will discuss various types of critical points that you might encounter when you go off the convex path. In particular, we will see in many cases simple heuristics based on gradient descent can lead you to a local minimum in polynomial time. Here \eta is a small step size. This is the gradient descent algorithm.
Exploratory Data Analysis: Kernel Density Estimation - Conceptual Foundations
Recently, I began a series on exploratory data analysis; so far, I have written about computing descriptive statistics and creating box plots in R for a univariate data set with missing values. Today, I will continue this series by introducing the underlying concepts of kernel density estimation, a useful non-parametric technique for visualizing the underlying distribution of a continuous variable. In the second half of this blog post that will be published later here on AnalyticBridge, I will show how to construct kernel density estimates and plot them in R. I will also introduce rug plots and show how they can complement kernel density plots. Before defining kernel density estimation, let's define a kernel. A kernel is a special type of probability density function (PDF) with the added property that it must be even.
k-nearest neighbor algorithm using Python
This article was written by Natasha Latysheva. Here we publish a short version, with references to full source code in the original article. In machine learning, you may often wish to build predictors that allows to classify things into categories based on some set of associated values. For example, it is possible to provide a diagnosis to a patient based on data from previous patients. Many algorithms have been developed for automated classification, and common ones include random forests, support vector machines, Naïve Bayes classifiers, and many types of neural networks.
The best kept secret about linear and logistic regression
All the regression theory developed by statisticians over the last 200 years (related to the general linear model) is useless. Regression can be performed as accurately without statistical models, including the computation of confidence intervals (for estimates, predicted values or regression parameters). The non-statistical approach is also more robust than theory described in all statistics textbooks and taught in all statistical courses. It does not require Map-Reduce when data is really big, nor any matrix inversion, maximum likelihood estimation, or mathematical optimization (Newton algorithm). It is indeed incredibly simple, robust, easy to interpret, and easy to code (no statistical libraries required).
Behind the buzz: What researchers should know about machine learning
Editor's note: Kevin Gray is president of Cannon Gray LLC, a marketing science and analytics consultancy. He would like to thank Marco Vriens of Ipsos for his helpful comments on a draft of this article. Machine learning gets a lot of buzz these days, usually in connection with big data and artificial intelligence (AI). But what exactly is it? Broadly speaking, machine learners are computer algorithms designed for pattern recognition, curve fitting, classification and clustering.