Streamlit_code / models /fraud_detection_model.py
Junaid-EEE11's picture
Update models/fraud_detection_model.py
0453298
raw
history blame
320 Bytes
# models/fraud_detection_model.py
from tensorflow.keras.models import load_model
def load_fraud_detection_model(model_path):
return load_model(model_path)
def predict_fraud(model, data):
# Placeholder for model prediction logic
# Replace with actual prediction logic
return model.predict_classes(data)