Spaces:
Sleeping
Sleeping
Hussain033
commited on
Commit
•
911c3ec
1
Parent(s):
ea3607d
Rename featureExtractor.py to phishing_url_detection/featureExtractor.py
Browse files
featureExtractor.py → phishing_url_detection/featureExtractor.py
RENAMED
@@ -42,7 +42,7 @@ def featureExtraction(url):
|
|
42 |
|
43 |
features.append(ef.has_unicode(url)+ef.haveAtSign(url)+ef.havingIP(url))
|
44 |
|
45 |
-
with open('pca_model.pkl', 'rb') as file:
|
46 |
pca = pk.load(file)
|
47 |
|
48 |
#converting the list to dataframe
|
|
|
42 |
|
43 |
features.append(ef.has_unicode(url)+ef.haveAtSign(url)+ef.havingIP(url))
|
44 |
|
45 |
+
with open('Phishing-URL-Detection/models/pca_model.pkl', 'rb') as file:
|
46 |
pca = pk.load(file)
|
47 |
|
48 |
#converting the list to dataframe
|