Skip navigation links
A B C D E F G I J L M N O P R S T V W X 

A

App - Class in com.spotify.zoltar.examples.apollo
Application entry point.
apply(InputT...) - Method in interface com.spotify.zoltar.FeatureExtractFns.ExtractFn
Functional interface.
apply(ModelT, List<Vector<InputT, VectorT>>) - Method in interface com.spotify.zoltar.PredictFns.AsyncPredictFn
The functional interface.
apply(ModelT, List<Vector<InputT, VectorT>>) - Method in interface com.spotify.zoltar.PredictFns.PredictFn
The functional interface.

B

build() - Method in class com.spotify.zoltar.tf.TensorFlowModel.Options.Builder
 
builder() - Static method in class com.spotify.zoltar.tf.TensorFlowModel.Options
 
Builder() - Constructor for class com.spotify.zoltar.tf.TensorFlowModel.Options.Builder
 

C

close() - Method in class com.spotify.zoltar.mlengine.MlEngineModel
Close the model.
close() - Method in class com.spotify.zoltar.tf.TensorFlowGraphModel
Close the model.
close() - Method in class com.spotify.zoltar.tf.TensorFlowModel
Close the model.
close() - Method in class com.spotify.zoltar.xgboost.XGBoostModel
Closes the model.
com.spotify.zoltar - package com.spotify.zoltar
 
com.spotify.zoltar.examples.apollo - package com.spotify.zoltar.examples.apollo
 
com.spotify.zoltar.examples.batch - package com.spotify.zoltar.examples.batch
 
com.spotify.zoltar.examples.metrics - package com.spotify.zoltar.examples.metrics
 
com.spotify.zoltar.examples.mlengine - package com.spotify.zoltar.examples.mlengine
 
com.spotify.zoltar.featran - package com.spotify.zoltar.featran
 
com.spotify.zoltar.fs - package com.spotify.zoltar.fs
 
com.spotify.zoltar.loaders - package com.spotify.zoltar.loaders
 
com.spotify.zoltar.metrics - package com.spotify.zoltar.metrics
 
com.spotify.zoltar.metrics.semantic - package com.spotify.zoltar.metrics.semantic
 
com.spotify.zoltar.mlengine - package com.spotify.zoltar.mlengine
 
com.spotify.zoltar.tf - package com.spotify.zoltar.tf
 
com.spotify.zoltar.xgboost - package com.spotify.zoltar.xgboost
 
create(ModelConfig, PredictorMetrics) - Static method in class com.spotify.zoltar.examples.apollo.IrisPredictor
Configure Iris prediction, should be called at the service startup/configuration stage.
create(URI, URI) - Static method in class com.spotify.zoltar.examples.apollo.ModelConfig
 
create(String, String, String) - Static method in class com.spotify.zoltar.examples.mlengine.MlEnginePredictorExample
Runs a simple Iris prediction against the running Iris ml-engine instance.
create(FeatureExtractFns.ExtractFn<InputT, ValueT>) - Static method in interface com.spotify.zoltar.FeatureExtractor
Creates an extractor given a generic FeatureExtractFns.ExtractFn, consider using Featran and FeatranExtractFns whenever possible.
create(SemanticMetricRegistry, MetricId) - Static method in class com.spotify.zoltar.metrics.semantic.SemanticPredictorMetrics
Creates a new @{link SemanticPredictorMetrics}.
create(String, String) - Static method in interface com.spotify.zoltar.mlengine.MlEngineLoader
Returns a Google Cloud ML Engine model loader that references the default model.
create(String, String, String) - Static method in interface com.spotify.zoltar.mlengine.MlEngineLoader
Returns a Google Cloud ML Engine model loader.
create(Model.Id) - Static method in interface com.spotify.zoltar.mlengine.MlEngineLoader
Returns a Google Cloud ML Engine model loader.
create(ModelLoader.ThrowableSupplier<MlEngineModel>) - Static method in interface com.spotify.zoltar.mlengine.MlEngineLoader
Returns a Google Cloud ML Engine model loader.
create(Model.Id) - Static method in class com.spotify.zoltar.mlengine.MlEngineModel
Creates a Google Cloud ML Engine backed model.
create(String) - Static method in class com.spotify.zoltar.Model.Id
 
create(InputT, ValueT) - Static method in class com.spotify.zoltar.Prediction
Create a new prediction result.
create(Tensor<?>) - Static method in class com.spotify.zoltar.tf.JTensor
Create a new JTensor instance by extracting data from the underlying Tensor and closing it afterwards.
create(String, ConfigProto, String) - Static method in interface com.spotify.zoltar.tf.TensorFlowGraphLoader
Returns a TensorFlow model loader based on a serialized TensorFlow Graph.
create(Model.Id, String, ConfigProto, String) - Static method in interface com.spotify.zoltar.tf.TensorFlowGraphLoader
Returns a TensorFlow model loader based on a serialized TensorFlow Graph.
create(byte[], ConfigProto, String) - Static method in interface com.spotify.zoltar.tf.TensorFlowGraphLoader
Returns a TensorFlow model loader based on a serialized TensorFlow Graph.
create(Model.Id, byte[], ConfigProto, String) - Static method in interface com.spotify.zoltar.tf.TensorFlowGraphLoader
Returns a TensorFlow model loader based on a serialized TensorFlow Graph.
create(ModelLoader.ThrowableSupplier<TensorFlowGraphModel>) - Static method in interface com.spotify.zoltar.tf.TensorFlowGraphLoader
Returns a TensorFlow model loader based on a serialized TensorFlow Graph.
create(URI, ConfigProto, String) - Static method in class com.spotify.zoltar.tf.TensorFlowGraphModel
Note: Please use Models from zoltar-models module.
create(Model.Id, URI, ConfigProto, String) - Static method in class com.spotify.zoltar.tf.TensorFlowGraphModel
Note: Please use Models from zoltar-models module.
create(byte[], ConfigProto, String) - Static method in class com.spotify.zoltar.tf.TensorFlowGraphModel
Note: Please use Models from zoltar-models module.
create(Model.Id, byte[], ConfigProto, String) - Static method in class com.spotify.zoltar.tf.TensorFlowGraphModel
Note: Please use Models from zoltar-models module.
create(String) - Static method in interface com.spotify.zoltar.tf.TensorFlowLoader
Returns a TensorFlow model loader based on a saved model.
create(Model.Id, String) - Static method in interface com.spotify.zoltar.tf.TensorFlowLoader
Returns a TensorFlow model loader based on a saved model.
create(String, TensorFlowModel.Options) - Static method in interface com.spotify.zoltar.tf.TensorFlowLoader
Returns a TensorFlow model loader based on a saved model.
create(Model.Id, String, TensorFlowModel.Options) - Static method in interface com.spotify.zoltar.tf.TensorFlowLoader
Returns a TensorFlow model loader based on a saved model.
create(ModelLoader.ThrowableSupplier<TensorFlowModel>) - Static method in interface com.spotify.zoltar.tf.TensorFlowLoader
Returns a TensorFlow model loader based on a saved model.
create(URI) - Static method in class com.spotify.zoltar.tf.TensorFlowModel
Note: Please use Models from zoltar-models module.
create(Model.Id, URI) - Static method in class com.spotify.zoltar.tf.TensorFlowModel
Note: Please use Models from zoltar-models module.
create(URI, TensorFlowModel.Options) - Static method in class com.spotify.zoltar.tf.TensorFlowModel
Note: Please use Models from zoltar-models module.
create(Model.Id, URI, TensorFlowModel.Options) - Static method in class com.spotify.zoltar.tf.TensorFlowModel
Note: Please use Models from zoltar-models module.
create(InputT, ValueT) - Static method in class com.spotify.zoltar.Vector
Create a new feature extraction result.
create(String) - Static method in interface com.spotify.zoltar.xgboost.XGBoostLoader
Returns a XGBoost model loader given the serialized model stored in the model URI.
create(Model.Id, String) - Static method in interface com.spotify.zoltar.xgboost.XGBoostLoader
Returns a XGBoost model loader given the serialized model stored in the model URI.
create(ModelLoader.ThrowableSupplier<XGBoostModel>) - Static method in interface com.spotify.zoltar.xgboost.XGBoostLoader
Returns a XGBoost model loader given the serialized model stored in the model URI.
create(URI) - Static method in class com.spotify.zoltar.xgboost.XGBoostModel
Note: Please use Models from zoltar-models module.
create(Model.Id, URI) - Static method in class com.spotify.zoltar.xgboost.XGBoostModel
Note: Please use Models from zoltar-models module.

D

data() - Method in class com.spotify.zoltar.tf.JTensor
 
doubles(FeatureSpec<InputT>, String) - Static method in class com.spotify.zoltar.featran.FeatranExtractFns
Extract features as double[].
doubles(JFeatureSpec<InputT>, String) - Static method in class com.spotify.zoltar.featran.FeatranExtractFns
Extract features as double[].
doubleValue() - Method in class com.spotify.zoltar.tf.JTensor
Double array value of the underlying Tensor, if DataType is DOUBLE.
downloadIfNonLocal(URI) - Static method in class com.spotify.zoltar.fs.FileSystemExtras
If the path is not on a local filesystem, it will download the resource to a temporary path on the local filesystem.

E

error() - Method in class com.spotify.zoltar.mlengine.MlEngineModel.Response
Prediction error.
example(FeatureSpec<InputT>, String) - Static method in class com.spotify.zoltar.featran.FeatranExtractFns
Extract features as Example.
example(JFeatureSpec<InputT>, String) - Static method in class com.spotify.zoltar.featran.FeatranExtractFns
Extract features as Example.
example(Function<Map<String, JTensor>, ValueT>, String...) - Static method in interface com.spotify.zoltar.tf.TensorFlowPredictFn
TensorFlow Example prediction function.
exampleBatch(Function<Map<String, JTensor>, ValueT>, String...) - Static method in interface com.spotify.zoltar.tf.TensorFlowPredictFn
TensorFlow Example prediction function.
extract(ModelT, InputT...) - Method in interface com.spotify.zoltar.FeatureExtractor
Functional interface.
extraction(List<Vector<InputT, ValueT>>) - Method in class com.spotify.zoltar.metrics.semantic.SemanticVectorMetrics
 
extraction(List<Vector<InputT, ValueT>>) - Method in interface com.spotify.zoltar.metrics.VectorMetrics
 

F

FeatranExtractFns - Class in com.spotify.zoltar.featran
Featran extraction functions.
FeatureExtractFns - Interface in com.spotify.zoltar
Feature extraction functions.
FeatureExtractFns.BatchExtractFn<InputT,ValueT> - Interface in com.spotify.zoltar
Generic feature extraction function, takes a batch of raw inputs and should return extracted features of user defined type for each input.
FeatureExtractFns.ExtractFn<InputT,ValueT> - Interface in com.spotify.zoltar
Generic feature extraction function, takes multiple raw input and should return extracted features of user defined type.
FeatureExtractor<ModelT extends Model<?>,InputT,ValueT> - Interface in com.spotify.zoltar
Functional interface for feature extraction.
featureExtractor() - Method in class com.spotify.zoltar.metrics.InstrumentedPredictorBuilder
 
featureExtractor() - Method in interface com.spotify.zoltar.PredictorBuilder
 
FeatureExtractorMetrics<InputT,ValueT> - Interface in com.spotify.zoltar.metrics
Supplier of VectorMetrics.
featureExtractorMetrics() - Method in interface com.spotify.zoltar.metrics.PredictorMetrics
Called on each feature extraction function call to get a brand new supplier of metrics for that call.
featureExtractorMetrics() - Method in class com.spotify.zoltar.metrics.semantic.SemanticPredictorMetrics
 
FileSystemExtras - Class in com.spotify.zoltar.fs
FileSystem utils and extras.
floats(FeatureSpec<InputT>, String) - Static method in class com.spotify.zoltar.featran.FeatranExtractFns
Extract features as float[].
floats(JFeatureSpec<InputT>, String) - Static method in class com.spotify.zoltar.featran.FeatranExtractFns
Extract features as float[].
floatValue() - Method in class com.spotify.zoltar.tf.JTensor
Float array value of the underlying Tensor, if DataType is FLOAT.
from(Config) - Static method in class com.spotify.zoltar.examples.apollo.ModelConfig
Creates a ModelConfig create a Config.

G

get() - Method in interface com.spotify.zoltar.ModelLoader
Get's the underlying model instance.
get(Duration) - Method in interface com.spotify.zoltar.ModelLoader
Get's the underlying model instance.
get() - Method in interface com.spotify.zoltar.ModelLoader.ThrowableSupplier
 
getIrisTestData() - Static method in class com.spotify.zoltar.IrisHelper
Get Iris test data.
getLatestDate(String) - Static method in class com.spotify.zoltar.fs.FileSystemExtras
Finds the latest date directory in the directory src.
GompLoader - Class in ml.dmlc.xgboost4j.java
Utility class to load GOMP library on both Mac and Linux environment.
GompLoader() - Constructor for class ml.dmlc.xgboost4j.java.GompLoader
 
graph() - Method in class com.spotify.zoltar.tf.TensorFlowGraphModel
Returns TensorFlow graph.

I

id() - Method in interface com.spotify.zoltar.Model
 
Id() - Constructor for class com.spotify.zoltar.Model.Id
 
input() - Method in class com.spotify.zoltar.Prediction
Input to the prediction.
input() - Method in class com.spotify.zoltar.Vector
Input to the feature extraction.
instance() - Method in interface com.spotify.zoltar.Model
Returns an instance of the underlying model.
instance() - Method in class com.spotify.zoltar.tf.TensorFlowGraphModel
Returns TensorFlow Session.
instance() - Method in class com.spotify.zoltar.tf.TensorFlowModel
Returns TensorFlow SavedModelBundle.
instance() - Method in class com.spotify.zoltar.xgboost.XGBoostModel
Returns XGBoost's Booster.
Instrumentations - Class in com.spotify.zoltar.metrics
This class consists exclusively of static methods that return functions used to decorate types with instrumentation behavior.
InstrumentedPredictorBuilder<ModelT extends Model<?>,InputT,VectorT,ValueT> - Class in com.spotify.zoltar.metrics
Implementation of an instrumented PredictorBuilder.
InstrumentedPredictorBuilder() - Constructor for class com.spotify.zoltar.metrics.InstrumentedPredictorBuilder
 
intValue() - Method in class com.spotify.zoltar.tf.JTensor
Integer array value of the underlying Tensor, if DataType is INT32.
IrisHelper - Class in com.spotify.zoltar
Helper class to generate Iris test data.
IrisPredictor - Class in com.spotify.zoltar.examples.apollo
Iris prediction meat and potatoes.
IrisPredictor() - Constructor for class com.spotify.zoltar.examples.apollo.IrisPredictor
 

J

JTensor - Class in com.spotify.zoltar.tf
Wrapper for Tensor that manages memory in JVM heap and closes the underlying Tensor.
JTensor() - Constructor for class com.spotify.zoltar.tf.JTensor
 

L

labeledPoints(FeatureSpec<InputT>, String) - Static method in class com.spotify.zoltar.featran.FeatranExtractFns
Extract features as LabeledPoint.
labeledPoints(JFeatureSpec<InputT>, String) - Static method in class com.spotify.zoltar.featran.FeatranExtractFns
Extract features as LabeledPoint.
lift(FeatureExtractFns.ExtractFn<InputT, ValueT>) - Static method in interface com.spotify.zoltar.FeatureExtractFns.BatchExtractFn
 
lift(Function<InputT, ValueT>) - Static method in interface com.spotify.zoltar.FeatureExtractFns.BatchExtractFn
 
lift(Function<InputT, ValueT>) - Static method in interface com.spotify.zoltar.FeatureExtractFns.ExtractFn
 
lift(ModelLoader.ThrowableSupplier<M>) - Static method in interface com.spotify.zoltar.ModelLoader
Lifts a supplier into a ModelLoader.
lift(PredictFns.PredictFn<ModelT, InputT, VectorT, ValueT>) - Static method in interface com.spotify.zoltar.PredictFns.AsyncPredictFn
Lifts prediction function to asynchronous prediction function.
longValue() - Method in class com.spotify.zoltar.tf.JTensor
Long array value of the underlying Tensor, if DataType is INT64.

M

main(String...) - Static method in class com.spotify.zoltar.examples.apollo.App
Runs the app locally.
memoize(ModelLoader<M>) - Static method in interface com.spotify.zoltar.loaders.ModelMemoizer
Creates a memoized model loader.
metrics() - Method in class com.spotify.zoltar.metrics.InstrumentedPredictorBuilder
 
ml.dmlc.xgboost4j.java - package ml.dmlc.xgboost4j.java
 
mlEngine(Model.Id) - Static method in class com.spotify.zoltar.Models
Returns a Cloud ML Engine backed model.
mlEngine(String, String, String) - Static method in class com.spotify.zoltar.Models
Returns a Cloud Ml Engine backed model.
MlEngineLoader - Interface in com.spotify.zoltar.mlengine
MlEngineModel - Class in com.spotify.zoltar.mlengine
This model can be used to allow prediction on models deployed to Google Cloud ML Engine.
MlEngineModel() - Constructor for class com.spotify.zoltar.mlengine.MlEngineModel
 
MlEngineModel.Response - Class in com.spotify.zoltar.mlengine
Prediction response.
MlEngineModel.Response.Predictions - Class in com.spotify.zoltar.mlengine
Holds the predictions values.
MlEnginePredictException - Exception in com.spotify.zoltar.mlengine
Exception thrown when Google Cloud ML Engine prediction results in an error.
MlEnginePredictException(String) - Constructor for exception com.spotify.zoltar.mlengine.MlEnginePredictException
Constructs a new exception with the specified detail message.
MlEnginePredictFn<InputT,VectorT,ValueT> - Interface in com.spotify.zoltar.mlengine
Google Cloud ML Engine flavor of PredictFns.AsyncPredictFn using MlEngineModel.
MlEnginePredictorExample - Class in com.spotify.zoltar.examples.mlengine
Cloud Machine Learning Engine online prediction example.
Model<UnderlyingT> - Interface in com.spotify.zoltar
Model interface.
Model.Id - Class in com.spotify.zoltar
value class to define model id.
ModelConfig - Class in com.spotify.zoltar.examples.apollo
Immutable object that contains model / feature extraction configuration properties.
ModelConfig() - Constructor for class com.spotify.zoltar.examples.apollo.ModelConfig
 
modelLoader() - Method in class com.spotify.zoltar.metrics.InstrumentedPredictorBuilder
 
ModelLoader<M extends Model<?>> - Interface in com.spotify.zoltar
Handles the model loading logic.
modelLoader() - Method in interface com.spotify.zoltar.PredictorBuilder
 
ModelLoader.ThrowableSupplier<M extends Model<?>> - Interface in com.spotify.zoltar
Supplier of Model.
ModelMemoizer<M extends Model<?>> - Interface in com.spotify.zoltar.loaders
Memoizes the result of the supplied ModelLoader.
Models - Class in com.spotify.zoltar
This class consists exclusively of static methods that return Model Loaders.
modelUri() - Method in class com.spotify.zoltar.examples.apollo.ModelConfig
model URI path.

N

newBuilder(ModelLoader<ModelT>, FeatureExtractFns.ExtractFn<InputT, VectorT>, PredictFns.PredictFn<ModelT, InputT, VectorT, ValueT>) - Static method in class com.spotify.zoltar.Predictors
Returns a PredictorBuilder given a Model, FeatureExtractorand a PredictFns.PredictFn.
newBuilder(ModelLoader<ModelT>, FeatureExtractFns.ExtractFn<InputT, VectorT>, PredictFns.AsyncPredictFn<ModelT, InputT, VectorT, ValueT>) - Static method in class com.spotify.zoltar.Predictors
Returns a PredictorBuilder given a Model, FeatureExtractor and a PredictFns.AsyncPredictFn.
newBuilder(ModelLoader<ModelT>, FeatureExtractor<ModelT, InputT, VectorT>, PredictFns.PredictFn<ModelT, InputT, VectorT, ValueT>) - Static method in class com.spotify.zoltar.Predictors
Returns a PredictorBuilder given a Model, FeatureExtractor and a PredictFns.PredictFn.
newBuilder(ModelLoader<ModelT>, FeatureExtractor<ModelT, InputT, VectorT>, PredictFns.AsyncPredictFn<ModelT, InputT, VectorT, ValueT>) - Static method in class com.spotify.zoltar.Predictors
Returns a PredictorBuilder given a Model, FeatureExtractor and a PredictFns.PredictFn.
newBuilder(ModelLoader<ModelT>, FeatureExtractFns.ExtractFn<InputT, VectorT>, PredictFns.PredictFn<ModelT, InputT, VectorT, ValueT>, PredictorMetrics<InputT, VectorT, ValueT>) - Static method in class com.spotify.zoltar.Predictors
Returns a PredictorBuilder given a Model, FeatureExtractorand a PredictFns.PredictFn.
newBuilder(ModelLoader<ModelT>, FeatureExtractFns.ExtractFn<InputT, VectorT>, PredictFns.AsyncPredictFn<ModelT, InputT, VectorT, ValueT>, PredictorMetrics<InputT, VectorT, ValueT>) - Static method in class com.spotify.zoltar.Predictors
Returns a PredictorBuilder given a Model, FeatureExtractor and a PredictFns.AsyncPredictFn.
newBuilder(ModelLoader<ModelT>, FeatureExtractor<ModelT, InputT, VectorT>, PredictFns.PredictFn<ModelT, InputT, VectorT, ValueT>, PredictorMetrics<InputT, VectorT, ValueT>) - Static method in class com.spotify.zoltar.Predictors
Returns a PredictorBuilder given a Model, FeatureExtractor and a PredictFns.PredictFn.
newBuilder(ModelLoader<ModelT>, FeatureExtractor<ModelT, InputT, VectorT>, PredictFns.AsyncPredictFn<ModelT, InputT, VectorT, ValueT>, PredictorMetrics<InputT, VectorT, ValueT>) - Static method in class com.spotify.zoltar.Predictors
Returns a PredictorBuilder given a Model, FeatureExtractor and a PredictFns.PredictFn.
newBuilder(ModelLoader<ModelT>, FeatureExtractFns.ExtractFn<InputT, VectorT>, PredictFns.PredictFn<ModelT, InputT, VectorT, ValueT>) - Static method in class com.spotify.zoltar.PredictorsTest
Returns a PredictorBuilder given a Model, FeatureExtractorand a PredictFns.PredictFn.
newBuilder(ModelLoader<ModelT>, FeatureExtractFns.ExtractFn<InputT, VectorT>, PredictFns.AsyncPredictFn<ModelT, InputT, VectorT, ValueT>) - Static method in class com.spotify.zoltar.PredictorsTest
Returns a PredictorBuilder given a Model, FeatureExtractor and a PredictFns.AsyncPredictFn.
newBuilder(ModelLoader<ModelT>, FeatureExtractor<ModelT, InputT, VectorT>, PredictFns.PredictFn<ModelT, InputT, VectorT, ValueT>) - Static method in class com.spotify.zoltar.PredictorsTest
Returns a PredictorBuilder given a Model, FeatureExtractor and a PredictFns.PredictFn.
newBuilder(ModelLoader<ModelT>, FeatureExtractor<ModelT, InputT, VectorT>, PredictFns.AsyncPredictFn<ModelT, InputT, VectorT, ValueT>) - Static method in class com.spotify.zoltar.PredictorsTest
Returns a PredictorBuilder given a Model, FeatureExtractor and a PredictFns.PredictFn.

O

options() - Method in class com.spotify.zoltar.tf.TensorFlowModel
Options() - Constructor for class com.spotify.zoltar.tf.TensorFlowModel.Options
 

P

path(URI) - Static method in class com.spotify.zoltar.fs.FileSystemExtras
Creates a Path given a URI in a user-friendly and safe way.
predict(ScheduledExecutorService, Duration, IrisFeaturesSpec.Iris...) - Method in class com.spotify.zoltar.examples.mlengine.MlEnginePredictorExample
 
predict(List<?>) - Method in class com.spotify.zoltar.mlengine.MlEngineModel
Predict.
predict(ScheduledExecutorService, Duration, InputT...) - Method in interface com.spotify.zoltar.Predictor
Functional interface.
predict(Duration, InputT...) - Method in interface com.spotify.zoltar.Predictor
Perform prediction with a default scheduler.
predict(InputT...) - Method in interface com.spotify.zoltar.Predictor
Perform prediction with a default scheduler, and practically infinite timeout.
predictExamples(List<Example>) - Method in class com.spotify.zoltar.mlengine.MlEngineModel
Predict.
predictFn() - Method in class com.spotify.zoltar.metrics.InstrumentedPredictorBuilder
 
predictFn() - Method in interface com.spotify.zoltar.PredictorBuilder
 
PredictFnMetrics<InputT,ValueT> - Interface in com.spotify.zoltar.metrics
Supplier of PredictMetrics.
predictFnMetrics() - Method in interface com.spotify.zoltar.metrics.PredictorMetrics
Called on each predict function call to get a brand new supplier of metrics for that call.
predictFnMetrics() - Method in class com.spotify.zoltar.metrics.semantic.SemanticPredictorMetrics
 
PredictFns - Interface in com.spotify.zoltar
Prediction function interfaces.
PredictFns.AsyncPredictFn<ModelT extends Model<?>,InputT,VectorT,ValueT> - Interface in com.spotify.zoltar
Asynchronous prediction functional interface.
PredictFns.PredictFn<ModelT extends Model<?>,InputT,VectorT,ValueT> - Interface in com.spotify.zoltar
Synchronous prediction functional interface.
prediction(List<Prediction<InputT, ValueT>>) - Method in interface com.spotify.zoltar.metrics.PredictMetrics
 
prediction(List<Prediction<InputT, ValueT>>) - Method in class com.spotify.zoltar.metrics.semantic.SemanticPredictMetrics
 
Prediction<InputT,ValueT> - Class in com.spotify.zoltar
Value class for prediction result.
Prediction() - Constructor for class com.spotify.zoltar.Prediction
 
predictions() - Method in class com.spotify.zoltar.mlengine.MlEngineModel.Response
List of predictions.
Predictions() - Constructor for class com.spotify.zoltar.mlengine.MlEngineModel.Response.Predictions
 
PredictMetrics<InputT,ValueT> - Interface in com.spotify.zoltar.metrics
Defines an interface for how to collect prediction statistics.
predictor(PredictorMetrics<InputT, VectorT, ValueT>) - Static method in class com.spotify.zoltar.metrics.Instrumentations
Adds instrumentation support to an existent predictor builder, allowing it to create an instrumented Predictor.
predictor() - Method in class com.spotify.zoltar.metrics.InstrumentedPredictorBuilder
 
Predictor<InputT,ValueT> - Interface in com.spotify.zoltar
Entry point for prediction, it allows to perform E2E prediction given a recipe made of a Model, FeatureExtractor and a PredictFns.PredictFn.
predictor() - Method in interface com.spotify.zoltar.PredictorBuilder
 
predictorBuilder() - Method in class com.spotify.zoltar.metrics.InstrumentedPredictorBuilder
 
PredictorBuilder<ModelT extends Model<?>,InputT,VectorT,ValueT> - Interface in com.spotify.zoltar
PredictorBuilder holds the necessary info to build a Predictor.
PredictorMetrics<InputT,VectorT,PredictionT> - Interface in com.spotify.zoltar.metrics
Defines an interface for how to collect predictor statistics.
Predictors - Class in com.spotify.zoltar
This class consists exclusively of static methods that return PredictorBuilder or Predictor.
PredictorsTest - Class in com.spotify.zoltar
Predictors test helper methods.
preload() - Static method in interface com.spotify.zoltar.loaders.Preloader
Returns a blocking Preloader.
preload(Duration) - Static method in interface com.spotify.zoltar.loaders.Preloader
Returns a blocking Preloader.
preloadAsync() - Static method in interface com.spotify.zoltar.loaders.Preloader
Returns a asynchronous Preloader.
Preloader<M extends Model<?>> - Interface in com.spotify.zoltar.loaders
Preloader is model loader that calls ModelLoader.get() allowing model preloading.

R

Response() - Constructor for class com.spotify.zoltar.mlengine.MlEngineModel.Response
 
runAndExtract(Session.Runner, String...) - Static method in class com.spotify.zoltar.tf.TensorFlowExtras
Fetch a list of operations from a Session.Runner, run it, extract output Tensors as JTensors and close them.

S

SemanticPredictMetrics<InputT,ValueT> - Class in com.spotify.zoltar.metrics.semantic
Semantic metric implementation for the PredictMetrics.
SemanticPredictMetrics() - Constructor for class com.spotify.zoltar.metrics.semantic.SemanticPredictMetrics
 
SemanticPredictorMetrics<InputT,VectorT,ValueT> - Class in com.spotify.zoltar.metrics.semantic
Semantic metric implementation for the PredictorMetrics.
SemanticPredictorMetrics() - Constructor for class com.spotify.zoltar.metrics.semantic.SemanticPredictorMetrics
 
SemanticVectorMetrics<InputT,ValueT> - Class in com.spotify.zoltar.metrics.semantic
Semantic metric implementation for the VectorMetrics.
SemanticVectorMetrics() - Constructor for class com.spotify.zoltar.metrics.semantic.SemanticVectorMetrics
 
settingsUri() - Method in class com.spotify.zoltar.examples.apollo.ModelConfig
settings URI path.
sparseDoubles(FeatureSpec<InputT>, String) - Static method in class com.spotify.zoltar.featran.FeatranExtractFns
Extract features as DoubleSparseArray.
sparseDoubles(JFeatureSpec<InputT>, String) - Static method in class com.spotify.zoltar.featran.FeatranExtractFns
Extract features as DoubleSparseArray.
sparseFloats(FeatureSpec<InputT>, String) - Static method in class com.spotify.zoltar.featran.FeatranExtractFns
Extract features as FloatSparseArray.
sparseFloats(JFeatureSpec<InputT>, String) - Static method in class com.spotify.zoltar.featran.FeatranExtractFns
Extract features as FloatSparseArray.
sparseLabeledPoints(FeatureSpec<InputT>, String) - Static method in class com.spotify.zoltar.featran.FeatranExtractFns
Extract features as SparseLabeledPoint.
sparseLabeledPoints(JFeatureSpec<InputT>, String) - Static method in class com.spotify.zoltar.featran.FeatranExtractFns
Extract features as SparseLabeledPoint.
start() - Static method in class ml.dmlc.xgboost4j.java.GompLoader
The entry to to load the GOMP library.
stringValue() - Method in class com.spotify.zoltar.tf.JTensor
String value of the underlying Tensor, if DataType is STRING and JTensor.numDimensions() is 0.

T

tag() - Method in enum com.spotify.zoltar.metrics.semantic.What
 
tags(List<String>) - Method in class com.spotify.zoltar.tf.TensorFlowModel.Options.Builder
 
tags() - Method in class com.spotify.zoltar.tf.TensorFlowModel.Options
Returns a list of Tags, see tags.
tensorFlow(String) - Static method in class com.spotify.zoltar.Models
Returns a TensorFlow model loader based on a saved model.
tensorFlow(Model.Id, String) - Static method in class com.spotify.zoltar.Models
Returns a TensorFlow model loader based on a saved model.
tensorFlow(String, TensorFlowModel.Options) - Static method in class com.spotify.zoltar.Models
Returns a TensorFlow model loader based on a saved model.
tensorFlow(Model.Id, String, TensorFlowModel.Options) - Static method in class com.spotify.zoltar.Models
Returns a TensorFlow model loader based on a saved model.
tensorFlow(String, FeatureExtractFns.ExtractFn<InputT, Example>, Function<Map<String, JTensor>, ValueT>, String...) - Static method in class com.spotify.zoltar.Predictors
Returns a TensorFlow Predictor.
tensorFlow(String, FeatureExtractFns.ExtractFn<InputT, Example>, Function<Map<String, JTensor>, ValueT>, String[], PredictorMetrics) - Static method in class com.spotify.zoltar.Predictors
Returns a TensorFlow Predictor.
tensorFlow(String, FeatureExtractor<TensorFlowModel, InputT, Example>, Function<Map<String, JTensor>, ValueT>, String...) - Static method in class com.spotify.zoltar.Predictors
Returns a TensorFlow Predictor.
tensorFlow(String, FeatureExtractor<TensorFlowModel, InputT, Example>, Function<Map<String, JTensor>, ValueT>, String[], PredictorMetrics) - Static method in class com.spotify.zoltar.Predictors
Returns a TensorFlow Predictor.
TensorFlowExtras - Class in com.spotify.zoltar.tf
TensorFlow utilities and extras.
tensorFlowGraph(String, ConfigProto, String) - Static method in class com.spotify.zoltar.Models
Returns a TensorFlow model loader based on a serialized TensorFlow Graph.
tensorFlowGraph(Model.Id, String, ConfigProto, String) - Static method in class com.spotify.zoltar.Models
Returns a TensorFlow model loader based on a serialized TensorFlow Graph.
tensorFlowGraph(byte[], ConfigProto, String) - Static method in class com.spotify.zoltar.Models
Returns a TensorFlow model loader based on a serialized TensorFlow Graph.
tensorFlowGraph(Model.Id, byte[], ConfigProto, String) - Static method in class com.spotify.zoltar.Models
Returns a TensorFlow model loader based on a serialized TensorFlow Graph.
TensorFlowGraphLoader - Interface in com.spotify.zoltar.tf
TensorFlowGraphModel - Class in com.spotify.zoltar.tf
This model can be used to load protobuf definition of a TensorFlow Graph.
TensorFlowGraphModel() - Constructor for class com.spotify.zoltar.tf.TensorFlowGraphModel
 
TensorFlowLoader - Interface in com.spotify.zoltar.tf
TensorFlowModel - Class in com.spotify.zoltar.tf
This model can be used to load TensorFlow SavedModelBundle model.
TensorFlowModel() - Constructor for class com.spotify.zoltar.tf.TensorFlowModel
 
TensorFlowModel.Options - Class in com.spotify.zoltar.tf
Value class for our TensorFlow options.
TensorFlowModel.Options.Builder - Class in com.spotify.zoltar.tf
Builder for enclosing Options.
TensorFlowPredictFn<InputT,VectorT,ValueT> - Interface in com.spotify.zoltar.tf
TensorFlow flavor of PredictFns.AsyncPredictFn using TensorFlowModel.
timeoutScheduler() - Method in interface com.spotify.zoltar.Predictor
timeout scheduler for predict functions.

V

value() - Method in class com.spotify.zoltar.Model.Id
 
value() - Method in class com.spotify.zoltar.Prediction
Result of the prediction.
value() - Method in class com.spotify.zoltar.tf.JTensor
Value of the underlying Tensor, lets the caller take care of typing.
value() - Method in class com.spotify.zoltar.Vector
Result of the feature extraction.
valueOf(String) - Static method in enum com.spotify.zoltar.metrics.semantic.What
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.spotify.zoltar.metrics.semantic.What
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class com.spotify.zoltar.mlengine.MlEngineModel.Response.Predictions
List of predictions.
values(Class<T>) - Method in class com.spotify.zoltar.mlengine.MlEngineModel.Response.Predictions
List of predictions.
Vector<InputT,ValueT> - Class in com.spotify.zoltar
Value class for feature extraction result.
Vector() - Constructor for class com.spotify.zoltar.Vector
 
VectorMetrics<InputT,ValueT> - Interface in com.spotify.zoltar.metrics
Defines an interface for how to collect vector statistics.

W

What - Enum in com.spotify.zoltar.metrics.semantic
Enumerates the metrics tracked, keyed by the 'what' tag.
with(Function<FeatureExtractFns.ExtractFn<InputT, ValueT>, C>) - Method in interface com.spotify.zoltar.FeatureExtractFns.ExtractFn
 
with(Function<FeatureExtractor<ModelT, InputT, ValueT>, C>) - Method in interface com.spotify.zoltar.FeatureExtractor
 
with(ModelLoader<ModelT>, FeatureExtractor<ModelT, InputT, VectorT>, PredictFns.AsyncPredictFn<ModelT, InputT, VectorT, ValueT>) - Method in class com.spotify.zoltar.metrics.InstrumentedPredictorBuilder
 
with(Function<ModelLoader<M>, L>) - Method in interface com.spotify.zoltar.ModelLoader
 
with(Function<PredictFns.AsyncPredictFn<ModelT, InputT, VectorT, ValueT>, C>) - Method in interface com.spotify.zoltar.PredictFns.AsyncPredictFn
 
with(Function<PredictFns.PredictFn<ModelT, InputT, VectorT, ValueT>, C>) - Method in interface com.spotify.zoltar.PredictFns.PredictFn
 
with(ModelLoader<ModelT>, FeatureExtractor<ModelT, InputT, VectorT>, PredictFns.AsyncPredictFn<ModelT, InputT, VectorT, ValueT>) - Method in interface com.spotify.zoltar.PredictorBuilder
 
with(ModelLoader<ModelT>) - Method in interface com.spotify.zoltar.PredictorBuilder
 
with(FeatureExtractor<ModelT, InputT, VectorT>) - Method in interface com.spotify.zoltar.PredictorBuilder
 
with(PredictFns.AsyncPredictFn<ModelT, InputT, VectorT, ValueT>) - Method in interface com.spotify.zoltar.PredictorBuilder
 
with(Function<PredictorBuilder<ModelT, InputT, VectorT, ValueT>, C>) - Method in interface com.spotify.zoltar.PredictorBuilder
 

X

xgboost(String) - Static method in class com.spotify.zoltar.Models
Returns a XGBoost model loader given the serialized model stored in the model URI.
xgboost(Model.Id, String) - Static method in class com.spotify.zoltar.Models
Returns a XGBoost model loader given the serialized model stored in the model URI.
XGBoostLoader - Interface in com.spotify.zoltar.xgboost
XGBoostModel loader.
XGBoostModel - Class in com.spotify.zoltar.xgboost
XGBoost model.
XGBoostModel() - Constructor for class com.spotify.zoltar.xgboost.XGBoostModel
 
XGBoostPredictFn<InputT,VectorT,ValueT> - Interface in com.spotify.zoltar.xgboost
XGBoost flavor of PredictFns.AsyncPredictFn using XGBoostModel.
A B C D E F G I J L M N O P R S T V W X 
Skip navigation links

Copyright © 2018. All rights reserved.