Author: Rahul Khanna

Running Multiple Tests using JUnit

Reading Time: 2 minutes In this blog we are going to discuss an approach to run multiple tests using JUnit and for this task we will user JUnit Platform Launcher API. We are going to create a demo project in Maven that uses the Launcher API to discover and run tests. Lets add some dependencies to our Maven project: <dependencies> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>5.6.0</version> </dependency> <dependency> <groupId>org.junit.vintage</groupId> <artifactId>junit-vintage-engine</artifactId> <version>5.6.0</version> Continue Reading

Data Visualisation In KNIME

Reading Time: 3 minutes KNIME is definitely a dream for data scientists. It makes the work of an Data Scientist much easier. If you haven’t heard about KNIME, you can find all about it in our blog Knime Analytics Platform: A dream for a data scientist Continuing on, in this blog we will now see how to create visualizations in KNIME and how easy it is to create visualizations. Continue Reading

Java8 Optional API

Reading Time: 3 minutes Lets understand the use of Optional with a small real example in a production code to understand the real power of Optional Suppose you want to get the value from an environment variables and want to set a default value if value is not present instead of throwing NullPointer Exception. In a traditional way we would write private static String getPropertyOrThrow(String propertyName) throws IllegalArgumentException { Continue Reading

MachineX: Evaluation Metrics for Classification Models

Reading Time: 5 minutes In our last blog post, we have looked at various evaluation metrics for the regression model. Continuing on this we will take a look at the evaluation metrics used for classification models. Classification is about predicting class labels given input data. In binary classification, there are two possible output classes whereas in Multi-class classification we have more than two possible output classes. We are going Continue Reading