Splitting Data into Training and Test

I finally took a course of Machine Learning Foundation Course at Coursera. Well I have taken several courses before on Coursera as well, but in my opinion this is the best one and I like it.

Today I’m learning of how to install iPython – which is very simple and easy, and then start to run the notebook.

Notebook is like a combination of Python and Wikipedia. I can add some text on it, and also execute some python commands on it. I can show graph as well. Pretty cool for a presentation.

Then I learn some basic concept of Data Scientist, which are:

  • To find a better function to represent the data. Today I learned linear regression model which can be linear or quadratic function or more complex one. One thing to remember is that the complex one is not always the best. Because it may fit the training data, but it doesn’t make sense
  • We should split the data into: (1) training data, (2) test data.  And then we do training using the training data sets. After that, we test the function with test data set.  The best function is the one that can minimize the error when we test it using the test data set

That’s all for today. I have to go out now for me time. And I’ll be back again when I’m a little bit fresh.


Which path?

I have just told some friends about my dream to be a data scientist. Luckily I got some suggestion from some of the friends about which path I can try to be a data scientist

I’m going to try to list all of the path here.

(1) Getting Master of Data Science online from University of Berkeley

(2) Getting a Boot camp regarding to Data Science

(3) Getting a Master degree from Computer Science locally, and learn Data Science by myself.

I’m still digging more about the alternative and collecting some information about pros and cons. Do you have any better idea so that I can put into my list?

Getting started with Python for Data Science

I found a website with a title Getting Started with Python for Data Science. It looks like a good start to me so I can move one step forward.

I have just installed, numpy, scipy and scikit-learn. The first two were installed by executing the exe files that I downloaded from their respective website. And scikit-learn was installed by using easy_install script on python.

The installation went smooth without any issue.

What’s next? I guess it is a time to try some easy code as mentioned on the “Getting Started” website mentioned above

A Data Scientist Wanna Be

I feel that I have too many spare time now. Jobs are becoming regular and easy. Not that many interesting stuff that need extra effort to be done. If you know me, this situation makes me boring. I’m missing something. I’m missing the joy of learning. The desire to learn something new.

To achieve that missing part on my life, I decided to take a learning path to be a data scientist. Let call me a data scientist wanna be now. I’m starting this new journey by taking some course on Coursera for Data Scientist Speciality. I’m also doing a lot of googling of how to be data scientist with python.

Anybody has a better suggestion of where to start?


It’s been a long time I didn’t update this blog.  Now I’m not anymore in Kuwait, but living in Dubai already for almost 1 year.  There are a lot of things changed between these days. But it seems that there is still one thing that is not changed. I’m  still unable to find out an idea to post on this blog 😀

I was thinking of using this blog as personal branding. But I end up with a question,”what branding ?”.  Still have no answer for the time being, so I will keep this blog as personal blog as it is.


I used to live a country where she lies around the equator and only has 2 seasons which is hot and very hot.  Since I live in Kuwait, I’m experiencing two seasons now, Summer and Winter. The weather starts to be nice for outdoor activity now, since winter is coming.

I like winter !

The story of Al Farid

One year ago, estimately in the month of May, I was announcing to some neighbors that I was going to leave them and decided to work overseas. At that time I told them a joke that my name would be renamed or translated as Al Farid when I started to life in Arabic Country because there are no vowel in Arabic letters so that It will be difficult to write Alfred -my name- in Arabic.

Now, I’m working in Kuwait. I have a civil-ID, which is written in Arabic. And yes, the joke is not anymore a joke. Now some Arabic people who doesn’t speak English call me Al Farid. My name is translated into Al Farid.

And today, when I created this new blog, I tried several other words and none of them were available. I gave up. I tried to name this blog Alfarid. Unfortunately wordpress accept it. And from now on, I will start this “alfarid” blog as my new blog in English. 🙂