Skip to main content

Posts

Showing posts from December, 2018

Spring Boot Admin

What is Spring Boot Admin? Spring Boot Admin is a Angular based application, developed on top of the Spring Actuator Endpoints. It allow us to monitor and manage the Spring Boot applications. How to setup Spring Boot Admin  Create the simple spring boot project with  https://start.spring.io/  Add Spring Boot Admin Server and UI depedencies <dependency> <groupId> de.codecentric </groupId> <artifactId> spring-boot-admin-server </artifactId> <version> 1.5.7 </version> </dependency> <dependency> <groupId> de.codecentric </groupId> <artifactId> spring-boot-admin-server-ui </artifactId> <version> 1.5.7 </version> </dependency>  Add @EnableAdminServer in the Spring Boot Configuration @Configuration @EnableAutoConfiguration @EnableAdminServer public class SpringBootAdminApplication { public static void main( String [...

K - Means (Simplest clustering algorithm)

K- Means Algorithm Introduction K- Means algorithm is an unsupervised machine learning algorithm. It is the simplest algorithm to grouping the data based on theirs attribute values. What is clustering? Clustering is the process of grouping similar elements together. As a example, we will take the salaries of the persons and grouping them as middle class, lower middle class and upper middle class. Let's assume the example data set (Persons and their salaries) Input Data set Person 1 20000 Person 2 6000 Person 3 7000 Person 4 11000 Person 5 15000 Person 6 19000 Person 7 30000 Person 8 25000 Person 9 4000 Perso   10 8000 The similar amount of salaried persons can be grouped as like below Lower Middle Class Middle Class Upper Middle Class Person 2 Person 1 Person 7 Person 3 Person 4 Person 8 Person 9 Person 5 ...