Removed the ML module!

This commit is contained in:
Ali Dehghani 2019-08-07 20:36:36 +04:30
parent f8e37b3162
commit f615f9aeae
14 changed files with 36 additions and 48 deletions

View File

@ -30,6 +30,17 @@
<artifactId>guava</artifactId> <artifactId>guava</artifactId>
<version>${guava.version}</version> <version>${guava.version}</version>
</dependency> </dependency>
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>retrofit</artifactId>
<version>${retrofit.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>converter-jackson</artifactId>
<version>${retrofit.version}</version>
</dependency>
</dependencies> </dependencies>
<build> <build>
@ -48,5 +59,6 @@
<org.assertj.core.version>3.9.0</org.assertj.core.version> <org.assertj.core.version>3.9.0</org.assertj.core.version>
<commons-collections4.version>4.3</commons-collections4.version> <commons-collections4.version>4.3</commons-collections4.version>
<guava.version>28.0-jre</guava.version> <guava.version>28.0-jre</guava.version>
<retrofit.version>2.6.0</retrofit.version>
</properties> </properties>
</project> </project>

View File

@ -1,4 +1,4 @@
package com.baeldung.ml.kmeans; package com.baeldung.algorithms.kmeans;
import java.util.Map; import java.util.Map;
import java.util.Objects; import java.util.Objects;

View File

@ -1,4 +1,4 @@
package com.baeldung.ml.kmeans; package com.baeldung.algorithms.kmeans;
import java.util.Map; import java.util.Map;

View File

@ -1,4 +1,4 @@
package com.baeldung.ml.kmeans; package com.baeldung.algorithms.kmeans;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;

View File

@ -1,4 +1,4 @@
package com.baeldung.ml.kmeans; package com.baeldung.algorithms.kmeans;
import java.util.Map; import java.util.Map;

View File

@ -1,6 +1,11 @@
package com.baeldung.ml.kmeans; package com.baeldung.algorithms.kmeans;
import java.util.*; import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.Set;
import static java.util.stream.Collectors.toList; import static java.util.stream.Collectors.toList;
import static java.util.stream.Collectors.toSet; import static java.util.stream.Collectors.toSet;

View File

@ -1,14 +1,20 @@
package com.baeldung.ml.kmeans; package com.baeldung.algorithms.kmeans;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;
import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectMapper;
import okhttp3.OkHttpClient; import okhttp3.OkHttpClient;
import retrofit2.Retrofit; import retrofit2.Retrofit;
import retrofit2.converter.jackson.JacksonConverterFactory; import retrofit2.converter.jackson.JacksonConverterFactory;
import java.io.IOException;
import java.util.*;
import java.util.stream.Collectors;
import static java.util.stream.Collectors.toSet; import static java.util.stream.Collectors.toSet;
public class LastFm { public class LastFm {

View File

@ -1,4 +1,4 @@
package com.baeldung.ml.kmeans; package com.baeldung.algorithms.kmeans;
import java.io.IOException; import java.io.IOException;
import java.util.Collections; import java.util.Collections;

View File

@ -1,4 +1,4 @@
package com.baeldung.ml.kmeans; package com.baeldung.algorithms.kmeans;
import java.util.Map; import java.util.Map;
import java.util.Objects; import java.util.Objects;

View File

@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-modules</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>machine-learning</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>Machine Learning</name>
<description>Host for all Machine Learning Algorithms</description>
<dependencies>
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>retrofit</artifactId>
<version>${retrofit.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>converter-jackson</artifactId>
<version>${retrofit.version}</version>
</dependency>
</dependencies>
<properties>
<retrofit.version>2.6.0</retrofit.version>
</properties>
</project>

View File

@ -339,7 +339,6 @@
<module>algorithms-miscellaneous-1</module> <module>algorithms-miscellaneous-1</module>
<module>algorithms-miscellaneous-2</module> <module>algorithms-miscellaneous-2</module>
<module>algorithms-miscellaneous-3</module> <module>algorithms-miscellaneous-3</module>
<module>machine-learning</module>
<module>algorithms-sorting</module> <module>algorithms-sorting</module>
<module>animal-sniffer-mvn-plugin</module> <module>animal-sniffer-mvn-plugin</module>
<module>annotations</module> <module>annotations</module>