which one to choose in supervised learning? Generally, in supervised learning, we have many algorithms. But I am confused to choose which one is good for a problem. how to find that linear models can be used in this case or trees or SVM or KNN in particular case??
How to choose between learning algorithms I need to implement a program that will classify records into 2 categories (true/false) based on some training data, and I was wondering at which algorithm/methodology I should be looking at. There seem to be a lot of them to choose from -- Artificial Neural Network, Genetic Algorithm, Machine Learning, Bayesian Optimization etc. etc., and I wasn't sure where to start. So, my questions is:  How should I choose a learning algorithm I should use for my problem?  If this helps, here is the problem I need to solve.    The training data: The training data consists of many rows like this:    Precursor1, Precursor2, Boolean (true/false)   The run I will be given a bunch of precursors. Then,     I choose an algorithm A from different algorithms (or dynamically generate an algorithm), and apply it on every possible combinations of these precursors and collect the "record"s  that are emitted. The "record" consists of several key-value pairs*. I apply some awesome algorithm and classify these records in to 2 categories (true/false). I will generate a table that has the same format as the train data: Precursor1, Precursor2, Boolean   And the whole program is scored based on how many true/false I got right.  *:"Record"s will look like this (hope this makes sense)  Record         [1...*] Score -Precursor1             -Key -Precursor2             -Value   There are only a finite number of possible Keys. Records contain different subset of these keys (some records have key1, key2, key3... other records have key3, key4... etc.).  I actually need 2 learning. One is for step 1. I need to have a module that looks at the Precursor pairs etc. and decide what algorithm to apply in order to emit a record for the comparison. Another is for step 2. I need a module that analyzes the collection of records and categorize them into the 2 categories (true/false).    Thank you in advance!
Interaction of Invoke Duplicity and Misty Step Irreducible cyclotomic polynomial Is there a word that contains all the vowels? "Jealousy" contains most of the vowels but lacks 'i'. Is there a word in the English language that contains every vowel (and preferably 'y')? Why split the  tag when writing it with document.write()? How can you use optional parameters in C#? Note: This question was asked at a time when C# did not yet support optional parameters (i.e. before C# 4).  We're building a web API that's programmatically generated from a C# class. The class has method GetFooBar(int a, int b) and the API has a method GetFooBar taking query params like &amp;a=foo &amp;b=bar.   The classes needs to support optional parameters, which isn't supported in C# the language. What's the best approach? Eigenvalues and power of a matrix Can sudo be reinstalled after being removed? This seems to be a chicken-egg problem. The most common task using sudo is installing and removing software.  sudo apt-get purge &lt;appname&gt;   But sudo itself can be removed.  sudo apt-get purge sudo # Do not run this command on production computers!   This is where the fun comes  ubuntu@ubuntu:~$ sudo bash: /usr/bin/sudo: No such file or directory   Although it's obvious that no person in his right mind will purge sudo (other than me), someone can be fooled to run this command (not directly, in its hex mode, or whatever it's called) or a person could SSH in disguised as tech guru and do the mess.  So is there a way of reinstalling sudo? How can I display just a portion of an image in HTML/CSS? How can I get Gnome3 to remember my session? I am running Gnome3, but I had the same problem with Unity, on Ubuntu 12.04.  I have a fairly elaborate setup I enjoy using day-to-day. A LibreOffice spreadsheet with everyone's extension numbers; a window with reference data I use regularly; two mulit-tabbed Konsole/Terminal windows with several remote systems sessions, firefox with a set of open tabs, and so on. But whenever I log out, when I return, I must set up everything from scratch. I remember the good 'ol days, when I rebooted, I'd re-log in, and all my windows came back up in the same places as they were when I logged out, and my Konsole/Term would come up with the same remote logins as before.... I'd have to re -setup  some of my programs, but that's better than having to move every win into place, and resize them, etc.  How do I get this functionality back? Photoelectric Effect - Dependence of current on frequency How do I repair my weapons and armor? Is there a name for "the string of characters typed randomly on a keyboard home row"? MySQL Hashing Function Implementation I know that php has md5(), sha1(), and the hash() functions, but I want to create a hash using the MySQL PASSWORD() function.  So far, the only way I can think of is to just query the server, but I want a function (preferably in php or Perl) that will do the same thing without querying MySQL at all.  For example:  MySQL hash -> 464bb2cb3cf18b66  MySQL5 hash -> *01D01F5CA7CA8BA771E03F4AC55EC73C11EFA229  Thanks! Discontinuous derivative. Could someone give an example of a ‘very’ discontinuous derivative? I myself can only come up with examples where the derivative is discontinuous at only one point. I am assuming the function is real-valued and defined on a bounded interval. Coloring arrows in \xymatrix How can I run an external program from C and parse its output? I've got a utility that outputs a list of files required by a game.  How can I run that utility within a C program and grab its output so I can act on it within the same program? UPDATE: Good call on the lack of information.  The utility spits out a series of strings, and this is supposed to be portable across Mac/Windows/Linux.  Please note, I'm looking for a programmatic way to execute the utility and retain its output (which goes to stdout). How to make existing public files private? No Wifi, HP Pavillion 15 Ubuntu 14.04 How to sum 2 vectors in spherical coordinate system What is the proper way not to scare civilians?