Here we come with another challenging aspect about Python and its goodies. I have a lot of material in hereÂ and I have to structure it, both in my mind and blog. ðŸ˜€ Therefore, today shortlist: List Comprehensions Set Comprehensions Dictionary…

As I have promised, here I am with the second posting about handling exceptions. Honestly, neither do I expected for this to happen so soon. ðŸ˜€ If you have not read theÂ Handling exceptions (1), maybe it would be a good…

Tagged with: EAFP, finally-blocks, getkey, ImportError, Mac, msvcrt, Platform-Specific, Python, sys module, termios, try-blocks, tty, Unix, Windows, zen

Posted in Little Python

Posted in Little Python

I have to admit, this is one of the most challenging topics which I have approached, until now… ðŸ™‚ So… I decided to split it into two postings. In the first one, we will have a look over: try statement,…

Tagged with: API, EAFP, Exceptions, Handling exceptions, IndexError, KeyError, LBYL, programmer errors, Protocols, TypeError, ValueError

Posted in Little Python

Posted in Little Python

On Tuesday, August 23rd I attended for the second time a Data Science Festival meetup. I must admit, it was even better than the first one. The meetup was hosted by Google Campus London.Â Thus, I found out about the rainyÂ Google…

Tagged with: data science, Data Science Festival, Google, Google Actual Cloud Platform, Google Campus London, ocado

Posted in Conferences

Posted in Conferences

Nowadays, logistic regression is one of the most popular and most widely used classification algorithm.Â Here are some classification examples when logistic regression can help us: Email: Spam/Not Spam? Online Transactions: Fraudulent (Yes/No)? Tumor: Malignant/Benign?

Tagged with: binary dependent, binomial regression, categorical values, classification, classification algorithm, hypothesis, Logistic Regression

Posted in Coursera

Posted in Coursera

Normal equation: What if XTX is non-invertible?Â (singular/degenerate) R: ginv(X’*X)*X’y from {MASS} Octave: pinv(X’*X)*X’y

Tagged with: common causes for the non-invertibility, Generalized Inverse of a Matrix, ginv, inv, invertibility, MASS, pinv, pseudo-inverse, solve R

Posted in Coursera

Posted in Coursera

## Modularity

I called this posting simply –Â Modularity.Â I promised myself that I shall be very clear and concise aroundÂ this concept, trying to follow, as well as my not-so-easy-to-understand nature permits me, the KISSÂ principle. ðŸ˜€ Scraping the internet in order to get a…

Posted in Little Python