Android SDK Version
  • java.lang.Object
    • com.facebook.appevents.ml.ModelManager

public final class ModelManager
extends java.lang.Object
Field Summary
Modifier and TypeField and Description
static java.lang.StringMODEL_ADDRESS_DETECTION 
static java.lang.StringMODEL_SUGGESTED_EVENTS 
Constructor Summary
Constructor and Description
ModelManager() 
Method Summary
Modifier and TypeMethod and Description
static voidenable() 
static voidenablePIIFiltering() 
static java.io.FilegetRuleFile(java.lang.String useCase) 
static voidinitialize() 
static java.lang.Stringpredict(java.lang.String useCase, float[] dense, java.lang.String text) 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

MODEL_SUGGESTED_EVENTS

public static final java.lang.String MODEL_SUGGESTED_EVENTS

MODEL_ADDRESS_DETECTION

public static final java.lang.String MODEL_ADDRESS_DETECTION
Constructor Detail

ModelManager

public ModelManager()
Method Detail

enable

public static void enable()

initialize

public static void initialize()

enablePIIFiltering

public static void enablePIIFiltering()

predict

public static java.lang.String predict(java.lang.String useCase,
                                       float[] dense,
                                       java.lang.String text)

getRuleFile

public static java.io.File getRuleFile(java.lang.String useCase)