You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# MAGIC We use the model we have just trained on the Feature Store. By passing it only the TransactionID, it will automatically fetch other features in the Feature Store and predict the probability that the transaction ID is a fraud.
# COMMAND ----------
import pandas as pd
from pyspark.sql.types import StructType, StructField, IntegerType
from databricks.feature_store import FeatureStoreClient
fs = FeatureStoreClient()
# We create a DataFrame with an existing transactionID we want to test (2995503)