Views
No views yet
1import joblib
2from huggingface_hub import hf_hub_download
3
4# Download the model
5model_path = hf_hub_download(repo_id="th1enq/xgboost_checkpoint", filename="xgboost phishing detection models.joblib")
6
7# Load the model
8model = joblib.load(model_path)
9
10# Make predictions
11predictions = model.predict(X_test)xgboost phishing detection models.joblib: The trained XGBoost modelfeatures.py: Feature extraction functionsURLFeatureExtraction.py: URL-specific feature extraction