Decision Tree – Machine Learning

In machine learning, a decision tree is a predictive model which maps observations about an item (represented in the branches) to conclusions about the item’s target value (represented in the leaves). It is one of the predictive modeling approaches used in statistics, data mining and machine learning.

Tree models where the target variable can take a finite set of values are called classification trees; in these tree structures, leaves represent class labels and branches represent conjunctions of features that lead to those class labels. Continue reading “Decision Tree – Machine Learning”

The Feynman Technique

I would like to open this post by mentioning that it is classified under the Computer Science category. In actuality, the technique applies to any time an individual wishes to learn something new, improve your understanding of a subject / topic or to prepare for an exam.

To give the technique validity, we first need to know who Richard Feynman was. Continue reading “The Feynman Technique”

Python: Division

I received an email message from HackerRank suggesting a Python challenge. The challenge is described in the following URL:

Following is the output from a console using Visual Studio 2013 Professional with the PTVS (Python Tools for Visual Studio) plug-in using the sample input data: Continue reading “Python: Division”

Python If-Else

Do not have much time this morning so I just addressed the next challenge in the Python Introduction set at HackerRank named Python If-Else that you can find at:

This challenge tests the ability to write a set of correct if-then-else set of statements (including nested conditions). Continue reading “Python If-Else”

Overload Operators C++

Over the weekend I received an automated email message from HackerRank to solve the following challenge:

If interested, please take a look at the challenge description.

As usual, I try to address the challenge without consulting the provided code or look at the discussions. After losing some time on my own, I check the discussions and the code provided to solve the challenge. In this case the following read only code was provided: Continue reading “Overload Operators C++”