Java 8 introduced functional programming support, this is a powerful feature which was missing from earlier versions. One of the benefits of functional programming is that it can be used to implement decorator pattern without the use of inheritance. One common requirement is to implement some kind of …
In this post I will explain why you should use square root of Gini index while building decision tree classification models.
In decision tress, We know that at every node we need to choose a feature that provides the best split i.e. the feature that reduces the child nodes' …
Earlier, I had covered an example
which showed how to dynamically create users and map the application
roles to enterprise groups. In this post, the sample application is
extended to show how you can query the application roles from the
application stripe(application specific policies).
To query the application …
You might be aware that there are different content encoding formats for
encoding the text. Generally, it is safe to use UTF encoding, but at
least you would expect that the websites would specify the encoding
format in the response. Alas, you might find certain sites , which just
send the …