14

Mar

By Benjamin | No Comments

Accuracy versus F score: Machine Learning for the RNA Polymerases
Introduction
Hello, today I'm going to show you the difference of using two different common performance measures (useful not only for Machine Learning purposes, is useful in every scientific field). Until now, I have found...

14

Mar

By Benjamin | No Comments

Upgrade and update R 2.X to R 3.X in Debian Wheezy 7.X
Introduction
Following the instructions from CRAN, you need to add the R backports in your source list.
FIRST PART: ADD R BACKPORTS:
First, open a Terminal and open the sources.list file:
$ gksudo gedit /etc/apt/sources.list
Then,...

14

Mar

By Benjamin | No Comments

Introduction to Markov Chains and modelling DNA sequences in R
Introduction
Markov chains are probabilistic models which can be used for the modeling of sequences given a probability distribution and then, they are also very useful for the characterization of certain parts of a DNA or protein...

22

Feb

By Benjamin | No Comments

Optimizing a multivariable function parameters using a random method, Genetic Algorithm and Simulated Annealing in R
Introduction
Say that you are implementing a non-linear regression analysis, which is shortly described by wikipedia as:
"In statistics, nonlinear regression is a form of...

22

Feb

By Benjamin | No Comments

Brownian motion simulation in R
Introduction
I have based this post on a very useful piece of code which basically is the core of my own implementation of a Brownian Motion simulation in R. The original reference code
Methods
According to Wikipedia the mathematical model for Brownian...

22

Feb

By Benjamin | No Comments

To cooperate of defect (besides of coding): Prisoners dilemma, a game theory example in R
Introduction
Hello Computer Science and/or R enthusiasts.
This week I had the opportunity to try something that was in my To-Do list a while ago. The idea came almost instantly after reading Dr....

22

Feb

By Benjamin | No Comments

What are the names of the school principals in Mexico?, If your name is Maria, probably this post will interest you. Trends and cool plots from the national education census of Mexico in 2013
Introduction
I will start this post with a disclaimer:
The main intention of the post is to show...

21

Feb

By Benjamin | No Comments

100 Prisoners problem, 100 lines of code, a game theory example in R
Introduction
was looking for some Game-Theory post in R-bloggers and found this very cool post, obviously I decided to read the post, to look at the code and implement a version of it.
As Matt Asher describes in his...

21

Feb

By Benjamin | No Comments

If the typing monkeys have met Mr Markov: probabilities of spelling "omglolbbq" after the digital monkeys have read Dracula
Introduction
The infinite monkey theorem states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type a...