pirocheto commited on
Commit
58600bb
·
1 Parent(s): 3db239e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -4
README.md CHANGED
@@ -33,6 +33,9 @@ Features are from three different classes:
33
  - **24** extracted from the content of their correspondent pages
34
  - **7** are extracetd by querying external services.
35
 
 
 
 
36
  ## Details
37
 
38
  - **Funded by:** Abdelhakim Hannousse, Salima Yahiouche
@@ -68,9 +71,9 @@ import pandas as pd
68
  from huggingface_hub import hf_hub_download
69
 
70
  REPO_ID = "pirocheto/phishing-url"
71
- FILENAME = "data.csv"
72
 
73
- df = pd.read_csv(
74
  hf_hub_download(repo_id=REPO_ID, filename=FILENAME, repo_type="dataset")
75
  )
76
  ```
@@ -79,8 +82,8 @@ df = pd.read_csv(
79
  ```python
80
  import pandas as pd
81
 
82
- url = "https://huggingface.co/datasets/pirocheto/phishing-url/raw/main/data.csv"
83
- df = pd.read_csv(url)
84
  ```
85
 
86
  ## Citation
 
33
  - **24** extracted from the content of their correspondent pages
34
  - **7** are extracetd by querying external services.
35
 
36
+
37
+ The dataset was partitioned randomly into training and testing sets, with a ratio of two-thirds for training and one-third for testing.
38
+
39
  ## Details
40
 
41
  - **Funded by:** Abdelhakim Hannousse, Salima Yahiouche
 
71
  from huggingface_hub import hf_hub_download
72
 
73
  REPO_ID = "pirocheto/phishing-url"
74
+ FILENAME = "data/train.csv"
75
 
76
+ df = pd.read_parquet(
77
  hf_hub_download(repo_id=REPO_ID, filename=FILENAME, repo_type="dataset")
78
  )
79
  ```
 
82
  ```python
83
  import pandas as pd
84
 
85
+ url = "https://huggingface.co/datasets/pirocheto/phishing-url/raw/main/data/train.csv"
86
+ df = pd.read_parquet(url)
87
  ```
88
 
89
  ## Citation