Package org.neo4j.gds

Class TrainProc<ALGO extends org.neo4j.gds.Algorithm<ALGO_RESULT>,​ALGO_RESULT,​TRAIN_CONFIG extends org.neo4j.gds.config.AlgoBaseConfig & org.neo4j.gds.model.ModelConfig,​PROC_RESULT>

  • All Implemented Interfaces:
    org.neo4j.gds.executor.AlgorithmSpec<ALGO,​ALGO_RESULT,​TRAIN_CONFIG,​java.util.stream.Stream<PROC_RESULT>,​org.neo4j.gds.AlgorithmFactory<?,​ALGO,​TRAIN_CONFIG>>

    public abstract class TrainProc<ALGO extends org.neo4j.gds.Algorithm<ALGO_RESULT>,​ALGO_RESULT,​TRAIN_CONFIG extends org.neo4j.gds.config.AlgoBaseConfig & org.neo4j.gds.model.ModelConfig,​PROC_RESULT>
    extends AlgoBaseProc<ALGO,​ALGO_RESULT,​TRAIN_CONFIG,​PROC_RESULT>
    • Constructor Detail

      • TrainProc

        public TrainProc()
    • Method Detail

      • modelType

        protected abstract java.lang.String modelType()
      • extractModel

        protected abstract org.neo4j.gds.core.model.Model<?,​?,​?> extractModel​(ALGO_RESULT algo_result)
      • computationResultConsumer

        public org.neo4j.gds.executor.ComputationResultConsumer<ALGO,​ALGO_RESULT,​TRAIN_CONFIG,​java.util.stream.Stream<PROC_RESULT>> computationResultConsumer()
      • trainAndStoreModelWithResult

        protected java.util.stream.Stream<PROC_RESULT> trainAndStoreModelWithResult​(org.neo4j.gds.executor.ComputationResult<ALGO,​ALGO_RESULT,​TRAIN_CONFIG> computationResult)
      • withModelCatalog

        public org.neo4j.gds.executor.AlgorithmSpec<ALGO,​ALGO_RESULT,​TRAIN_CONFIG,​java.util.stream.Stream<PROC_RESULT>,​org.neo4j.gds.AlgorithmFactory<?,​ALGO,​TRAIN_CONFIG>> withModelCatalog​(org.neo4j.gds.core.model.ModelCatalog modelCatalog)