Author: Anuj Saxena

Machine Learning with Random Forests

Reading Time: 5 minutes Machines, working on our commands, for each step, they need guidance where to go what to do. This pattern is like a child who doesn’t understand the surrounding facts to make decisions for a situation. The grown ups usually do it for children. Same goes for machines. The developer writes the commands for the machine to be executed. But here in Machine Learning, we talk about Continue Reading

Machine Learning with Decision Trees: Implementation

Reading Time: 5 minutes Smile is a machine learning library based on JAVA and provides Scala API too although most of the classes it uses are implemented in JAVA. To know more about smile please go through this introductory blog. Here in this blog, we will implement decision tree using Smile library. To know more about the decision trees you can check out this blog Quickstart  To use smile the Continue Reading

Kafka Streams: Unit Testing

Reading Time: 3 minutes Kafka Streams is a powerful API. In Kafka, we can only store our data for consumers to consume. But we always needed a processor with which we can process the data without going to an external tool like Spark, Storm etc. To know more about this and for a quick start you can check out the first blog of this series. The Need Now here Continue Reading

Kafka Streams : More Than Just a Dumb Storage

Reading Time: 5 minutes Whenever we hear the word Kafka, all we think about it as a messaging system with a publisher-subscriber model that we use for our streaming applications as a source and a sink. So we can say that Kafka is just a dumb storage system that stores the data provided by a producer for a long time (configurable) and it can provide it to some consumer whenever Continue Reading

Lagom: Getting to Know

Reading Time: 2 minutes JUST THE RIGHT AMOUNT Lagom- [lah-gome], a swedish word meaning ‘Sufficient’ or ‘Just the right amount’. The meaning of the name ‘Microservice’ is misunderstood by a majority of people. Taking it litrelly Micro = very small i.e. very small service is not the underlying meaning or agenda of creating Microservices. The real theme here does not revolves around the ‘size’ criteria. What really matters here is the Continue Reading

Self type Annotations in Cake Pattern

Reading Time: 2 minutes Self type annotations/references allows you to redefine this and is a way to declare the dependencies required by a component. Using a trait mixin, you can inject various implementations of dependencies In layman terms, Self type annotations/references are to ensure that the class can not be instantiated without mixing in the trait explicitly specified in the notation and its members can be used in the Continue Reading