Package org.neo4j.gds.kmeans
Interface KmeansBaseConfig
-
- All Superinterfaces:
org.neo4j.gds.config.AlgoBaseConfig,org.neo4j.gds.config.BaseConfig,org.neo4j.gds.config.ConcurrencyConfig,org.neo4j.gds.config.IterationsConfig,org.neo4j.gds.config.JobIdConfig,org.neo4j.gds.config.RandomSeedConfig,org.neo4j.gds.config.ToMapConvertible
- All Known Subinterfaces:
KmeansMutateConfig,KmeansStatsConfig,KmeansStreamConfig,KmeansWriteConfig
public interface KmeansBaseConfig extends org.neo4j.gds.config.AlgoBaseConfig, org.neo4j.gds.config.IterationsConfig, org.neo4j.gds.config.RandomSeedConfig
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleancomputeSilhouette()default doubledeltaThreshold()default KmeansSampler.SamplerTypeinitialSampler()default booleanisSeeded()default intk()default intmaxIterations()java.lang.StringnodeProperty()default voidnodePropertyTypeValidation(org.neo4j.gds.api.GraphStore graphStore, java.util.Collection<org.neo4j.gds.NodeLabel> selectedLabels, java.util.Collection<org.neo4j.gds.RelationshipType> selectedRelationshipTypes)default intnumberOfRestarts()default java.util.List<java.util.List<java.lang.Double>>seedCentroids()-
Methods inherited from interface org.neo4j.gds.config.AlgoBaseConfig
graphStoreValidation, internalRelationshipTypes, nodeLabelIdentifiers, nodeLabels, relationshipTypes, validateNodeLabels, validateRelationshipTypes
-
Methods inherited from interface org.neo4j.gds.config.BaseConfig
configKeys, logProgress, sudo, toMap, usernameOverride
-
-
-
-
Method Detail
-
maxIterations
@IntegerRange(min=1) @Default default int maxIterations()
- Specified by:
maxIterationsin interfaceorg.neo4j.gds.config.IterationsConfig
-
k
@Default @IntegerRange(min=1) default int k()
-
deltaThreshold
@Default @DoubleRange(min=0.0, max=1.0) default double deltaThreshold()
-
numberOfRestarts
@IntegerRange(min=1) @Default default int numberOfRestarts()
-
computeSilhouette
@Default default boolean computeSilhouette()
-
nodeProperty
java.lang.String nodeProperty()
-
nodePropertyTypeValidation
@GraphStoreValidationCheck @Default default void nodePropertyTypeValidation(org.neo4j.gds.api.GraphStore graphStore, java.util.Collection<org.neo4j.gds.NodeLabel> selectedLabels, java.util.Collection<org.neo4j.gds.RelationshipType> selectedRelationshipTypes)
-
initialSampler
@Default @ConvertWith(method="org.neo4j.gds.kmeans.KmeansSampler.SamplerType#parse") @ToMapValue("org.neo4j.gds.kmeans.KmeansSampler.SamplerType#toString") default KmeansSampler.SamplerType initialSampler()
-
seedCentroids
@Default default java.util.List<java.util.List<java.lang.Double>> seedCentroids()
-
isSeeded
@Ignore @Derived default boolean isSeeded()
-
-