Package com.github.pmerienne.trident.ml.stats

Examples of com.github.pmerienne.trident.ml.stats.StreamFeatureStatisticsQuery


      toppology.newDRPCStream("queryStats", localDRPC)
          // Convert DRPC args to stat query
          .each(new Fields("args"), new TuplifyArgs(), new Fields("featureIndex", "queryType"))

          // Query scaled stream statistics
          .stateQuery(scaledStreamStatistics, new Fields("featureIndex", "queryType"), new StreamFeatureStatisticsQuery("scaledStreamStats"), new Fields("stats"))
          .project(new Fields("stats"));

      cluster.submitTopology("testStandardScaler", new Config(), toppology.build());

      Thread.sleep(8000);
View Full Code Here

TOP

Related Classes of com.github.pmerienne.trident.ml.stats.StreamFeatureStatisticsQuery

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.