Writing Latex in wordpress

I am very happy with the LaTex support provided by WordPress. To type an in-line formula in WordPress, one can simply type $ latex your-latex-code-here… $ (you need to remove the space between $ and latex to make it work).

So, for example,

$ latex \int_0^\infty \mathrm{e}^{-x}\,\mathrm{d}x $

will produce

\int_0^\infty \mathrm{e}^{-x}\,\mathrm{d}x

In order to display a formula type equation, simply add <p align=”center”>. For example

<p align="center"> $ latex \int_0^\infty \mathrm{e}^{-x}\,\mathrm{d}x $ </P>

produces

 \int_0^\infty \mathrm{e}^{-x}\,\mathrm{d}x

In addition to these two formats, you can also change the size of the LaTeX by specifying an s parameter after the \LaTeX code.

s option can go from -4 to 4 (0 is the default). For example

$ latex \LaTex&s=4$ will give you \LaTeX

Also when you insert an in-line LaTex elements, it is normally vertically aligned way too high. The result may relate to which theme you use but the vertical alignment can be manually adjusted. For example,

The formula looks like this before any adjustment \int_0^\infty \mathrm{e}^{-x}\,\mathrm{d}x , while after using this code in HTML editor <span style="vertical-align:-25%;"> your-latex-code-here </span>, the formula become this \int_0^\infty \mathrm{e}^{-x}\,\mathrm{d}x

You can change the percentage as you like, depending on which theme you use.

One last thing is about the LaTex syntax. Since there are already a lot of articles online teaching you how to write LaTex code, I only recommends two websites (link and link) which include almost everything you need in order to write a LaTex formula.

[who you should follow] The Most Influential in Big Data on Twitter

I’m a big fan of Twitter and also like big data. It is a headache for me to find someone who are good at big data to follow on Twitter because there are way too many people there.

Fortunately, Big Data Republic solved this problem for me. They have run a poll to figure out who is the most influential in big data on Twitter. Here is the list and you can scroll down to see the entire list.

[iframe src=”http://groups.peerindex.com/bigdatarepublic/big-data-100/embed” width=”600″ height=”1180″ scrolling=”yes”]

 

 

Reference:

http://www.bigdatarepublic.com/author.asp?section_id=2642&doc_id=260536

 

15 Principles for Data Scientists

Mark Alen, a PhD student at Berkeley summarized these fifteen rule for a data scientists. I think we can all learn from these principles. 

1- Do not lie with data and do not bullshit: Be honest and frank about empirical evidences. And most importantly do not lie to yourself with data

2- Build everlasting tools and share them with others: Spend a portion of your daily work building tools that makes someone’s life easier. We are freaking humans, we are supposed to be tool builders!

3- Educate yourself continuously: you are a scientist for Bhudda’s sake. Read hardcore math and stats from graduate level textbooks. Never settle down for shitty explanations of a method that you receive from a coworker in the hallway. Learn fundamentals and you can do magic. Read recent papers, go to conferences, publish, and review papers. There is no shortcut for this.

Continue reading

Big data is like teenage sex…

Saw a joke about big data today, so funny:

Big data is like teenage sex: everyone talks about it, nobody really knows how to do it, everyone thinks everyone else is doing it, so everyone claims they are doing it.