nlpub/watset-java

View on GitHub
src/main/java/org/nlpub/watset/cli/SpectralClusteringCommand.java

Summary

Maintainability
A
0 mins
Test Coverage

Member name 'n' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
Open

    public int n = 10;

Line is longer than 100 characters (found 138).
Open

        final var clusterer = new KMeansPlusPlusClusterer<NodeEmbedding<String>>(fixed.k, -1, new EuclideanDistance(), parameters.random);

Checks for long lines.

Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

Line is longer than 100 characters (found 133).
Open

        return SpectralClustering.<String, DefaultWeightedEdge>builder().setClusterer(metaClusterer).setK(fixed.k).apply(getGraph());

Checks for long lines.

Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

There are no issues that match your filters.

Category
Status