Commit 1526e3f5 authored by Alexander David Hellwig's avatar Alexander David Hellwig
Browse files

Move clust4j from helpers to com package

parent 490694c8
Pipeline #95861 passed with stages
in 13 minutes and 52 seconds
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.data;
package com.clust4j.data;
abstract public class ExampleDataSets {
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.data;
package com.clust4j.data;
abstract class IrisLoader {
final static DataSet load() {
......
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.data;
package com.clust4j.data;
abstract class ToyMoonsLoader {
final static DataSet load() {
......
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.data;
package com.clust4j.data;
import org.apache.commons.math3.util.FastMath;
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.data;
package com.clust4j.data;
abstract class WineLoader {
final static DataSet load() {
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.except;
package com.clust4j.except;
public class IllegalClusterStateException extends IllegalStateException {
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.except;
package com.clust4j.except;
public class MatrixParseException extends RuntimeException {
private static final long serialVersionUID = 5494488803473338495L;
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.except;
package com.clust4j.except;
public class ModelNotFitException extends RuntimeException {
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.except;
package com.clust4j.except;
/**
* Generally thrown in the presence of a {@link Double#NaN}
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.except;
package com.clust4j.except;
import org.apache.commons.math3.exception.DimensionMismatchException;
......
......@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel;
package com.clust4j.kernel;
import org.apache.commons.math3.util.FastMath;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils;
import com.clust4j.utils.VecUtils;
/**
* The ANOVA kernel is also a {@link RadialBasisKernel}, just as the {@link GaussianKernel}
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel;
package com.clust4j.kernel;
import org.apache.commons.math3.util.FastMath;
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel;
package com.clust4j.kernel;
import org.apache.commons.math3.util.FastMath;
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel;
package com.clust4j.kernel;
abstract class ConstantKernel extends Kernel {
/**
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel;
package com.clust4j.kernel;
/**
* The exponential kernel is closely related to the {@link GaussianKernel},
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel;
package com.clust4j.kernel;
/**
* The Gaussian kernel is an example of radial basis function kernel:
......
......@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel;
package com.clust4j.kernel;
import org.apache.commons.math3.util.FastMath;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils;
import com.clust4j.utils.VecUtils;
/**
* The Generalized Histogram Intersection kernel
......
......@@ -13,12 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel;
package com.clust4j.kernel;
import com.clust4j.utils.VecUtils;
import org.apache.commons.math3.util.FastMath;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils;
/**
* The Hyperbolic Tangent Kernel, also known as the
* Sigmoid Kernel and as the Multilayer Perceptron (MLP)
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel;
package com.clust4j.kernel;
/**
* The Inverse {@link MultiQuadricKernel}. As with the {@link GaussianKernel},
......
......@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel;
package com.clust4j.kernel;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.SimilarityMetric;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils;
import com.clust4j.metrics.pairwise.SimilarityMetric;
import com.clust4j.utils.VecUtils;
/**
* Highest level of kernel abstraction. For kernels whose similarity
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment