Git submodule update

This GitPro page does summarize the consequence of a git submodule update nicely When you run git submodule update, it checks out the specific version of the project, but not within a branch. This is called having a detached head — it means the HEAD file points directly to a commit, not to a symbolic … Read more

t-stat for feature selection

If you don’t want to worry about speed (and with 155 columns you probably don’t care) you can use the t.test function and apply it to every column. Simulate some data first Then we can apply the t.test function to all but the first column using the formula argument. which returns the test statistic for … Read more

Categories R

What is a Context Free Grammar?

A context free grammar is a grammar which satisfies certain properties. In computer science, grammars describe languages; specifically, they describe formal languages. A formal language is just a set (mathematical term for a collection of objects) of strings (sequences of symbols… very similar to the programming usage of the word “string”). A simple example of … Read more