Discussion of article "Machine Learning: How Support Vector Machines can be used in Trading"

 

New article Machine Learning: How Support Vector Machines can be used in Trading is published:

Support Vector Machines have long been used in fields such as bioinformatics and applied mathematics to assess complex data sets and extract useful patterns that can be used to classify data. This article looks at what a support vector machine is, how they work and why they can be so useful in extracting complex patterns. We then investigate how they can be applied to the market and potentially used to advise on trades. Using the Support Vector Machine Learning Tool, the article provides worked examples that allow readers to experiment with their own trading.

What is a Support Vector Machine?

A support vector machine is a method of machine learning that attempts to take input data and classify into one of two categories. In order for a support vector machine to be effective, it is necessary to first use a set of training input and output data to build the support vector machine model that can be used for classifying new data.

A support vector machine develops this model by taking the training inputs, mapping them into multidimensional space, then using regression to find a hyperplane (a hyperplane is a surface in n-dimensional space that it separates the space into two half spaces) that best separates the two classes of inputs. Once the support vector machine has been trained, it is able to assess new inputs with respect to the separating hyperplane and classify it into one of the two categories.

A support vector machine is essentially an input/output machine. A user is able to put in an input, and based on the model developed through training, it will return an output. The number of inputs for any given support vector machine theoretically ranges from one to infinity, however in practical terms computing power does limit how many inputs can be used. If for example, N inputs are used for a particular support vector machine (the integer value of N can range from one to infinity), the support vector machine must map each set of inputs into N-dimensional space and find a (N-1)-dimensional hyperplane that best separates the training data.

Input/Output Machine

Author: Josh Readhead

 
Extremely didactic and well written article, thanks for sharing.
 
MetaQuotes:

New article Machine Learning: How Support Vector Machines can be used in Trading is published:

Author: Josh Readhead

Thank you very much for you article.

 
I would like to point out that the method will not work if at least one of the classes is not coherent, i.e. consists of 2 or more non-overlapping subgroups. For example, if Shnyaki (actually - the computer doesn't know this before the analysis!) are of 2 kinds - greenish, weighing 100 kg and loving carrots and rainbow-shiny weighing 30 kg, which can't tolerate carrots but eat herring, it will be quite problematic to draw a hyperplane between "shnyaki" and "not shnyaki". And such a situation on the market, and even in a multidimensional case, is quite typical.
 

alsu:
 Вот я бы все таки отметил, что метод не бует работать, если хотя бы один из классов не связный, то есть состоит из 2 и более непересекающихся подгрупп. Например, если Шняки (на самом деле - компьютер перед анализом этого не знает!) бывают 2 видов - зеленоватые, весом 100 кг и которые любят морковку и радужно-блестящие весом 30 кг, которые морковку не переносят, но зато хавают селедку, то провести гиперплоскость между "шняками" и "не шняками" будет довольно проблематично. А такая ситуация на рынке, да еще и в многомерном случае, типична вполне. 

... And that you can use this algorithm to solve this problem. Thank you very much for it by the way!

P.S: Sorry, but I couldn't resist ... :)

1) You see a creature with 9 legs (!) and 4 eyes. That's not a glitch!!! It's a SNACK!

2) The mating frequency of animals is 14000 Hz (14,000 times per second). 0_o

 
MigVRN:

... And that you can use this algorithm to solve this problem. Thank you very much for it by the way!

I reread it - a good man writes well, and I wanted to use it myself))))
 
Interesting article. Well written.
 
The problem with 2 species of Schniaks can be solved in the following way: 1) indicate features common to both species, but distinguishing them from other animals. The result of the analysis will be both species without their separation, but the quality of recognition will be low 2) in addition to point 1, the features that distinguish 2 species of Shnyaks are specified. As a result, there will be fewer errors for which these signs are not fulfilled, and more errors with fulfilment of additional signs. The overall result depends on how much the additional features distinguish Shnyaks from everything else. 3) It is possible to perform 2 analyses, each highlighting a specific type of Schniak. High precision is assumed.
 
Great article, thanks!
 

Very useful for implementing SVM in trading! 

Great work! 

 
great stuff!