Category Archives: Scala

Back2Basics : Existential types in Scala


In the first blog of the Scala Type System series, I  had put a lot of emphasis on the fact that “Type variables make a very powerful piece of type-level programming”. They appear in a variety of forms and variations. One … Continue reading

Posted in Scala | Tagged , , | 1 Comment

How Spark Internally Executes A Program


Hello everyone! In my previous blog, I explained the difference between RDD, DF, and DS you can find this blog Here In this blog, I will try to explain How spark internally works and what are the Components of Execution: Jobs, … Continue reading

Posted in apache spark, big data, Java, Scala, Spark | Leave a comment

MachineX: Understanding FP-Tree construction


In my previous blog, MachineX: Why no one uses apriori algorithm for association rule learning?, we discussed one of the first algorithms in association rule learning, apriori algorithm. Although even after being so simple and clear, it has some weaknesses … Continue reading

Posted in Artificial intelligence, machine learning, Scala | Tagged , , , , , , , , | Leave a comment

Docker Architecture


In my previous blog, we had a little glimpse of what Docker is. It’s time to take one step ahead of that. Let’s understand more about Docker through its architecture. A Quick recall WHAT? Docker is a tool designed to … Continue reading

Posted in Devops, Scala | Tagged , , , | Leave a comment

A Quick Guide: Java 8 DateTime API


DateTime API in Java 8 has overcome many shortcomings of older java.util.Date and java.util.Calendar. As there were many issues with the older Date and Calendar API. So now let us see how this java 8 DateTime API resolve the issues … Continue reading

Posted in Scala | Leave a comment

MachineX: Why no one uses apriori algorithm for association rule learning?


In my previous blog, MachineX: Two parts of Association Rule Learning, we discussed that there are two parts in performing association rule learning, namely, frequent itemset generation and rule generation. In this blog, we are going to talk about one … Continue reading

Posted in Artificial intelligence, machine learning, Scala | Tagged , , , , , , , | 1 Comment

MachineX: Two parts of Association Rule Learning


In our previous blog, MachineX: Layman guide to Association Rule Learning, we discussed what Association rule learning is all about. And as you can already tell, with a large dataset, which almost every market has, finding association rules isn’t very … Continue reading

Posted in Artificial intelligence, machine learning, Scala | Tagged , , , , , , , , | 2 Comments

DC/OS: Dynamic Resourcing


Suppose that we are running a service on a node and it was producing some date to be used later. Then your node was restarted. What will happen to it? The data will evaporate and on the next boot, the … Continue reading

Posted in Scala | Leave a comment

Writing better Feature Files!


My endeavors in recent times have exposed me to BDD in general and to Feature Files in specific. I have over the time realized that there are nuances in writing good FFs, which we tend to overlook. I suggest we … Continue reading

Posted in Scala | Tagged , | Leave a comment

ScalaFP: Understanding Monoids In Scala Pragmatically


As we discussed in our previous post, Monoids are semigroups meaning they have properties called closure and associative, along with identity element. So, now our question is, why do we require the identity element? Let’s add this one to our questions which … Continue reading

Posted in Functional Programming, Scala | Tagged , , , , , , , , , | 3 Comments