Goto

Collaborating Authors

 Statistical Learning


"K-Means never fails", they said... - Quantdare

#artificialintelligence

It is known that data mining algorithms are not perfect and they can fail under certain conditions. K-Means is an example of that triviality but there is a good alternative, K-Medoids. In a previous post, "Machine Learning: A Brief Breakdown" we already mentioned that K-Means is the cluster analysis algorithm par excellence and it is one of the most important data mining and machine learning techniques; even psanchezcri used it to analyze the direction of a financial time series, in his post "Returns clustering with K-means algorithm". Nevertheless, it's difficult to find discussions about the algorithm's unexpected results in certain cases. The algorithm documentation is too broad in Internet, so the main objective of this post is to focus on showing a financial example of the problem.


Tutorial: How to determine the quality and correctness of classification models? Introduction

@machinelearnbot

Classification schemes keep evolving & improving with recent publications. Those recent techniques involve multi-output classifications, ie, the response variable/s is 2 or more in comparison to standard classification of just a single variable say Y. The multi-class MIMO SVR (multi input multi output - support vector regression) is one of those new techniques, eg: the multi output could be 3 variables (as Gender, Age-bracket, Earning-bracket) & may be denoted as [G, A, E], where gender is 2 class (male, female), age-bracket is multiclass (student, young-adult, adult, retired) & age-bracket is also multiclass. MIMO SVR can predict the 3 output variables class labels at once. The other multiclass MIMO schemes includes CANFIS (Co-Active Neuro-Fuzzy Inference System) & its variants.


Let Me Hear Your Voice and I Will Tell You How You Feel

#artificialintelligence

Creating mood sensing technology has become very popular in recent years. There is a wide range of companies trying to detect your emotions from what you write, the tone of your voice, or from the expressions on your face. All of these companies offer their technology online through cloud-based programming interfaces (APIs). As part of my offline emotion sensing hardware (Project Jammin), I have already built early prototypes of facial expression and speech content recognition for emotion detection. In this short article I describe the missing part, a voice tone analyzer.


Semantic Visualization with Neighborhood Graph Regularization

Journal of Artificial Intelligence Research

Visualization of high-dimensional data, such as text documents, is useful to map out the similarities among various data points. In the high-dimensional space, documents are commonly represented as bags of words, with dimensionality equal to the vocabulary size. Classical approaches to document visualization directly reduce this into visualizable two or three dimensions. Recent approaches consider an intermediate representation in topic space, between word space and visualization space, which preserves the semantics by topic modeling. While aiming for a good fit between the model parameters and the observed data, previous approaches have not considered the local consistency among data instances. We consider the problem of semantic visualization by jointly modeling topics and visualization on the intrinsic document manifold, modeled using a neighborhood graph. Each document has both a topic distribution and visualization coordinate. Specifically, we propose an unsupervised probabilistic model, called Semafore, which aims to preserve the manifold in the lower-dimensional spaces through a neighborhood regularization framework designed for the semantic visualization task. To validate the efficacy of Semafore, our comprehensive experiments on a number of real-life text datasets of news articles and Web pages show that the proposed methods outperform the state-of-the-art baselines on objective evaluation metrics.


Sequential Bayesian optimal experimental design via approximate dynamic programming

arXiv.org Machine Learning

The design of multiple experiments is commonly undertaken via suboptimal strategies, such as batch (open-loop) design that omits feedback or greedy (myopic) design that does not account for future effects. This paper introduces new strategies for the optimal design of sequential experiments. First, we rigorously formulate the general sequential optimal experimental design (sOED) problem as a dynamic program. Batch and greedy designs are shown to result from special cases of this formulation. We then focus on sOED for parameter inference, adopting a Bayesian formulation with an information theoretic design objective. To make the problem tractable, we develop new numerical approaches for nonlinear design with continuous parameter, design, and observation spaces. We approximate the optimal policy by using backward induction with regression to construct and refine value function approximations in the dynamic program. The proposed algorithm iteratively generates trajectories via exploration and exploitation to improve approximation accuracy in frequently visited regions of the state space. Numerical results are verified against analytical solutions in a linear-Gaussian setting. Advantages over batch and greedy design are then demonstrated on a nonlinear source inversion problem where we seek an optimal policy for sequential sensing.


Can stochastic gradient descent (SGD) optimization be used with Multiple Adaptive Regression Spline (MARS)? โ€ข /r/MachineLearning

@machinelearnbot

I would like to know if someone has strong arguments for, or against, the technical compatibility of stochastic gradient descent specifically for optimizing the learned parameters of the learning algorithm MARS. I am looking into it. My goal is to hear from others who already looked into it too. I would love to entertain tangential discussions in another thread.


K-NN_and_preprocessing

#artificialintelligence

Data preprocessing is an umbrella term that covers an array of operations data scientists will use to get their data into a form more appropriate for what they want to do with it. For example, before performing sentiment analysis of twitter data, you may want to strip out any html tags, white spaces, expand abbreviations and split the tweets into lists of the words they contain. When analyzing spatial data you may scale it so that it is unit-independent, that is, so that your algorithm doesn't care whether the original measurements were in miles or centimeters. However, preprocessing data does not occur in a vacuum. This is just to say that preprocessing is a means to an end and there are no hard and fast rules: there are standard practices, as we shall see, and you can develop an intuition for what will work but, in the end, preprocessing is generally part of a results-oriented pipeline and its performance needs to be judged in context.


Gaussian Processes for Machine Learning (Adaptive Computation and Machine Learning series)

#artificialintelligence

Gaussian processes (GPs) provide a principled, practical, probabilistic approach to learning in kernel machines. GPs have received increased attention in the machine-learning community over the past decade, and this book provides a long-needed systematic and unified treatment of theoretical and practical aspects of GPs in machine learning. The treatment is comprehensive and self-contained, targeted at researchers and students in machine learning and applied statistics.The book deals with the supervised-learning problem for both regression and classification, and includes detailed algorithms. A wide variety of covariance (kernel) functions are presented and their properties discussed. Model selection is discussed both from a Bayesian and a classical perspective.


TfKmeans - mlxtend

@machinelearnbot

Clustering falls into the category of unsupervised learning, a subfield of machine learning where the ground truth labels are not available to us in real-world applications. In clustering, our goal is to group samples by similarity (in k-means: Euclidean distance). Cluster re-assignment stops automatically when the algorithm converged. The cluster assignments stored as a Python dictionary; the dictionary keys denote the cluster indeces and the items are Python lists of the sample indices that were assigned to each cluster. Training vectors, where n_samples is the number of samples and n_features is the number of features.


When Does Deep Learning Work Better Than SVMs or Random Forests?

#artificialintelligence

Guest blog by Sebastian Raschka, originally posted here. If we tackle a supervised learning problem, my advice is to start with the simplest hypothesis space first. I.e., try a linear model such as logistic regression. If this doesn't work "well" (i.e., it doesn't meet our expectation or performance criterion that we defined earlier), I would move on to the next experiment. I would say that random forests are probably THE "worry-free" approach - if such a thing exists in ML: There are no real hyperparameters to tune (maybe except for the number of trees; typically, the more trees we have the better).