The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 9 new columns ({'argDomanRatio', 'pathurlRatio', 'argPathRatio', 'CharacterContinuityRate', 'avgpathtokenlen', 'ArgUrlRatio', 'NumberRate_URL', 'domainUrlRatio', 'pathDomainRatio'}) and 5 missing columns ({'executable', 'NumberofDotsinURL', 'domain_token_count', 'NumberRate_Domain', 'Arguments_LongestWordLength'}).
This happened while the csv dataset builder was generating data using
hf://datasets/bencorn/ISCX-URL-2016/All_Infogain_test.csv (at revision 411f1413600d989c11b283228852efb07e4c2c12), [/tmp/hf-datasets-cache/medium/datasets/37792044786211-config-parquet-and-info-bencorn-ISCX-URL-2016-e647725f/hub/datasets--bencorn--ISCX-URL-2016/snapshots/411f1413600d989c11b283228852efb07e4c2c12/All_BestFirst_test.csv (origin=hf://datasets/bencorn/ISCX-URL-2016@411f1413600d989c11b283228852efb07e4c2c12/All_BestFirst_test.csv), /tmp/hf-datasets-cache/medium/datasets/37792044786211-config-parquet-and-info-bencorn-ISCX-URL-2016-e647725f/hub/datasets--bencorn--ISCX-URL-2016/snapshots/411f1413600d989c11b283228852efb07e4c2c12/All_Infogain_test.csv (origin=hf://datasets/bencorn/ISCX-URL-2016@411f1413600d989c11b283228852efb07e4c2c12/All_Infogain_test.csv), /tmp/hf-datasets-cache/medium/datasets/37792044786211-config-parquet-and-info-bencorn-ISCX-URL-2016-e647725f/hub/datasets--bencorn--ISCX-URL-2016/snapshots/411f1413600d989c11b283228852efb07e4c2c12/Defacement_Infogain_test.csv (origin=hf://datasets/bencorn/ISCX-URL-2016@411f1413600d989c11b283228852efb07e4c2c12/Defacement_Infogain_test.csv), /tmp/hf-datasets-cache/medium/datasets/37792044786211-config-parquet-and-info-bencorn-ISCX-URL-2016-e647725f/hub/datasets--bencorn--ISCX-URL-2016/snapshots/411f1413600d989c11b283228852efb07e4c2c12/Malware_Infogain_test.csv (origin=hf://datasets/bencorn/ISCX-URL-2016@411f1413600d989c11b283228852efb07e4c2c12/Malware_Infogain_test.csv), /tmp/hf-datasets-cache/medium/datasets/37792044786211-config-parquet-and-info-bencorn-ISCX-URL-2016-e647725f/hub/datasets--bencorn--ISCX-URL-2016/snapshots/411f1413600d989c11b283228852efb07e4c2c12/Phishing_Infogain_test.csv (origin=hf://datasets/bencorn/ISCX-URL-2016@411f1413600d989c11b283228852efb07e4c2c12/Phishing_Infogain_test.csv), /tmp/hf-datasets-cache/medium/datasets/37792044786211-config-parquet-and-info-bencorn-ISCX-URL-2016-e647725f/hub/datasets--bencorn--ISCX-URL-2016/snapshots/411f1413600d989c11b283228852efb07e4c2c12/Spam_BestFirst_test.csv (origin=hf://datasets/bencorn/ISCX-URL-2016@411f1413600d989c11b283228852efb07e4c2c12/Spam_BestFirst_test.csv), /tmp/hf-datasets-cache/medium/datasets/37792044786211-config-parquet-and-info-bencorn-ISCX-URL-2016-e647725f/hub/datasets--bencorn--ISCX-URL-2016/snapshots/411f1413600d989c11b283228852efb07e4c2c12/Spam_Infogain_test.csv (origin=hf://datasets/bencorn/ISCX-URL-2016@411f1413600d989c11b283228852efb07e4c2c12/Spam_Infogain_test.csv)]
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1890, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 760, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
avgpathtokenlen: double
pathurlRatio: double
ArgUrlRatio: double
argDomanRatio: double
domainUrlRatio: double
pathDomainRatio: double
argPathRatio: double
CharacterContinuityRate: double
NumberRate_URL: double
NumberRate_FileName: double
NumberRate_AfterPath: double
Entropy_Domain: double
class: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1946
to
{'domain_token_count': Value('int64'), 'executable': Value('int64'), 'NumberofDotsinURL': Value('int64'), 'Arguments_LongestWordLength': Value('int64'), 'NumberRate_Domain': Value('float64'), 'NumberRate_FileName': Value('float64'), 'NumberRate_AfterPath': Value('float64'), 'Entropy_Domain': Value('float64'), 'class': Value('int64')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1347, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1739, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1892, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 9 new columns ({'argDomanRatio', 'pathurlRatio', 'argPathRatio', 'CharacterContinuityRate', 'avgpathtokenlen', 'ArgUrlRatio', 'NumberRate_URL', 'domainUrlRatio', 'pathDomainRatio'}) and 5 missing columns ({'executable', 'NumberofDotsinURL', 'domain_token_count', 'NumberRate_Domain', 'Arguments_LongestWordLength'}).
This happened while the csv dataset builder was generating data using
hf://datasets/bencorn/ISCX-URL-2016/All_Infogain_test.csv (at revision 411f1413600d989c11b283228852efb07e4c2c12), [/tmp/hf-datasets-cache/medium/datasets/37792044786211-config-parquet-and-info-bencorn-ISCX-URL-2016-e647725f/hub/datasets--bencorn--ISCX-URL-2016/snapshots/411f1413600d989c11b283228852efb07e4c2c12/All_BestFirst_test.csv (origin=hf://datasets/bencorn/ISCX-URL-2016@411f1413600d989c11b283228852efb07e4c2c12/All_BestFirst_test.csv), /tmp/hf-datasets-cache/medium/datasets/37792044786211-config-parquet-and-info-bencorn-ISCX-URL-2016-e647725f/hub/datasets--bencorn--ISCX-URL-2016/snapshots/411f1413600d989c11b283228852efb07e4c2c12/All_Infogain_test.csv (origin=hf://datasets/bencorn/ISCX-URL-2016@411f1413600d989c11b283228852efb07e4c2c12/All_Infogain_test.csv), /tmp/hf-datasets-cache/medium/datasets/37792044786211-config-parquet-and-info-bencorn-ISCX-URL-2016-e647725f/hub/datasets--bencorn--ISCX-URL-2016/snapshots/411f1413600d989c11b283228852efb07e4c2c12/Defacement_Infogain_test.csv (origin=hf://datasets/bencorn/ISCX-URL-2016@411f1413600d989c11b283228852efb07e4c2c12/Defacement_Infogain_test.csv), /tmp/hf-datasets-cache/medium/datasets/37792044786211-config-parquet-and-info-bencorn-ISCX-URL-2016-e647725f/hub/datasets--bencorn--ISCX-URL-2016/snapshots/411f1413600d989c11b283228852efb07e4c2c12/Malware_Infogain_test.csv (origin=hf://datasets/bencorn/ISCX-URL-2016@411f1413600d989c11b283228852efb07e4c2c12/Malware_Infogain_test.csv), /tmp/hf-datasets-cache/medium/datasets/37792044786211-config-parquet-and-info-bencorn-ISCX-URL-2016-e647725f/hub/datasets--bencorn--ISCX-URL-2016/snapshots/411f1413600d989c11b283228852efb07e4c2c12/Phishing_Infogain_test.csv (origin=hf://datasets/bencorn/ISCX-URL-2016@411f1413600d989c11b283228852efb07e4c2c12/Phishing_Infogain_test.csv), /tmp/hf-datasets-cache/medium/datasets/37792044786211-config-parquet-and-info-bencorn-ISCX-URL-2016-e647725f/hub/datasets--bencorn--ISCX-URL-2016/snapshots/411f1413600d989c11b283228852efb07e4c2c12/Spam_BestFirst_test.csv (origin=hf://datasets/bencorn/ISCX-URL-2016@411f1413600d989c11b283228852efb07e4c2c12/Spam_BestFirst_test.csv), /tmp/hf-datasets-cache/medium/datasets/37792044786211-config-parquet-and-info-bencorn-ISCX-URL-2016-e647725f/hub/datasets--bencorn--ISCX-URL-2016/snapshots/411f1413600d989c11b283228852efb07e4c2c12/Spam_Infogain_test.csv (origin=hf://datasets/bencorn/ISCX-URL-2016@411f1413600d989c11b283228852efb07e4c2c12/Spam_Infogain_test.csv)]
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
domain_token_count int64 | executable int64 | NumberofDotsinURL int64 | Arguments_LongestWordLength int64 | NumberRate_Domain float64 | NumberRate_FileName float64 | NumberRate_AfterPath float64 | Entropy_Domain float64 | class int64 |
|---|---|---|---|---|---|---|---|---|
3 | 1 | 6 | -1 | 0.063 | 0.483 | -1 | 0.875 | 3 |
3 | 1 | 5 | -1 | 0.167 | 0.667 | -1 | 0.954 | 3 |
3 | 1 | 5 | -1 | 0.063 | 0.143 | -1 | 0.875 | 3 |
3 | 1 | 5 | -1 | 0 | 0 | -1 | 0.82 | 3 |
3 | 1 | 5 | -1 | 0 | 0 | -1 | 0.82 | 3 |
5 | 1 | 5 | -1 | 0 | 0 | -1 | 0.728 | 3 |
3 | 1 | 4 | -1 | 0.118 | 0.355 | -1 | 0.816 | 3 |
4 | 1 | 4 | -1 | 0 | 0.278 | -1 | 0.832 | 3 |
3 | 1 | 4 | -1 | 0 | 0.121 | -1 | 0.926 | 2 |
4 | 1 | 4 | -1 | 0 | 0.067 | -1 | 0.758 | 2 |
4 | 1 | 4 | -1 | 0 | 0 | -1 | 0.897 | 3 |
4 | 1 | 4 | -1 | 0 | 0 | -1 | 0.816 | 3 |
4 | 1 | 4 | -1 | 0 | 0 | -1 | 0.789 | 3 |
4 | 1 | 4 | -1 | 0 | 0 | -1 | 0.788 | 3 |
3 | 1 | 3 | -1 | 0 | 0.214 | -1 | 0.808 | 3 |
3 | 1 | 3 | -1 | 0 | 0.167 | -1 | 0.808 | 3 |
3 | 1 | 3 | -1 | 0 | 0.167 | -1 | 0.686 | 3 |
3 | 1 | 3 | -1 | 0 | 0.15 | -1 | 0.767 | 3 |
3 | 1 | 3 | -1 | 0 | 0.143 | -1 | 0.777 | 3 |
3 | 1 | 3 | -1 | 0 | 0 | -1 | 0.947 | 3 |
3 | 1 | 3 | -1 | 0 | 0 | -1 | 0.947 | 3 |
3 | 1 | 3 | -1 | 0.222 | 0 | -1 | 0.893 | 3 |
3 | 1 | 3 | -1 | 0.222 | 0 | -1 | 0.893 | 3 |
3 | 1 | 3 | -1 | 0 | 0 | -1 | 0.887 | 3 |
3 | 1 | 3 | -1 | 0 | 0 | -1 | 0.873 | 3 |
3 | 1 | 3 | -1 | 0 | 0 | -1 | 0.863 | 3 |
3 | 1 | 3 | -1 | 0 | 0 | -1 | 0.842 | 3 |
3 | 1 | 3 | -1 | 0 | 0 | -1 | 0.842 | 3 |
3 | 1 | 3 | -1 | 0.056 | 0 | -1 | 0.84 | 3 |
2 | 1 | 3 | -1 | 0 | 0 | -1 | 0.829 | 3 |
3 | 1 | 3 | -1 | 0 | 0 | -1 | 0.824 | 3 |
3 | 1 | 3 | -1 | 0 | 0 | -1 | 0.824 | 3 |
3 | 1 | 3 | -1 | 0 | 0 | -1 | 0.82 | 3 |
3 | 1 | 3 | -1 | 0 | 0 | -1 | 0.816 | 3 |
3 | 1 | 3 | -1 | 0 | 0 | -1 | 0.816 | 3 |
3 | 1 | 3 | -1 | 0 | 0 | -1 | 0.816 | 3 |
3 | 1 | 3 | -1 | 0 | 0 | -1 | 0.816 | 3 |
3 | 1 | 3 | -1 | 0 | 0 | -1 | 0.804 | 3 |
3 | 1 | 3 | -1 | 0.036 | 0 | -1 | 0.801 | 3 |
3 | 1 | 3 | -1 | 0.036 | 0 | -1 | 0.801 | 3 |
3 | 1 | 3 | -1 | 0.036 | 0 | -1 | 0.801 | 3 |
3 | 1 | 3 | -1 | 0 | 0 | -1 | 0.786 | 3 |
3 | 1 | 3 | -1 | 0 | 0 | -1 | 0.767 | 3 |
2 | 1 | 2 | -1 | 0 | 0.167 | -1 | 0.887 | 3 |
2 | 1 | 2 | -1 | 0 | 0 | -1 | 0.925 | 3 |
2 | 1 | 2 | -1 | 0 | 0 | -1 | 0.842 | 3 |
2 | 1 | 2 | -1 | 0 | 0 | -1 | 0.802 | 3 |
2 | 1 | 2 | -1 | 0 | 0 | -1 | 0.798 | 3 |
2 | 1 | 2 | -1 | 0 | 0 | -1 | 0.792 | 3 |
2 | 1 | 2 | -1 | 0 | 0 | -1 | 0.778 | 3 |
2 | 1 | 2 | -1 | 0 | 0 | -1 | 0.778 | 3 |
3 | 0 | 20 | -1 | 0 | 0.303 | -1 | 0.821 | 2 |
3 | 0 | 20 | -1 | 0 | 0.303 | -1 | 0.821 | 2 |
2 | 0 | 19 | 0 | 0 | 0.303 | 0.188 | 0.861 | 0 |
2 | 0 | 19 | 0 | 0 | 0.244 | 0.103 | 0.861 | 0 |
2 | 0 | 19 | 0 | 0 | 0.206 | 0.075 | 0.861 | 0 |
2 | 0 | 19 | 0 | 0 | 0.2 | 0.079 | 0.861 | 0 |
2 | 0 | 19 | 0 | 0 | 0.193 | 0.08 | 0.861 | 0 |
2 | 0 | 19 | 0 | 0 | 0.159 | 0.033 | 0.861 | 0 |
19 | 0 | 18 | -1 | 0.041 | 0.656 | -1 | 0.612 | 2 |
3 | 0 | 17 | 14 | 0 | 0.209 | 0.273 | 0.861 | 2 |
3 | 0 | 17 | 14 | 0 | 0.205 | 0.276 | 0.861 | 2 |
3 | 0 | 17 | 6 | 0 | 0 | 0 | 0.861 | 2 |
2 | 0 | 17 | 0 | 0 | 0.275 | 0.101 | 0.861 | 0 |
2 | 0 | 17 | 0 | 0 | 0.261 | 0.083 | 0.861 | 0 |
2 | 0 | 17 | 0 | 0 | 0.245 | 0.118 | 0.861 | 0 |
2 | 0 | 17 | 0 | 0 | 0.207 | 0.094 | 0.861 | 0 |
2 | 0 | 17 | 0 | 0 | 0.182 | 0.053 | 0.861 | 0 |
2 | 0 | 17 | 0 | 0 | 0.146 | 0.039 | 0.861 | 0 |
3 | 0 | 17 | -1 | 0 | 0 | -1 | 0.861 | 2 |
3 | 0 | 17 | -1 | 0 | 0 | -1 | 0.79 | 2 |
2 | 0 | 16 | 0 | 0 | 0.269 | 0.146 | 0.861 | 0 |
2 | 0 | 16 | 0 | 0 | 0.258 | 0.072 | 0.861 | 0 |
2 | 0 | 16 | 0 | 0 | 0.256 | 0.083 | 0.861 | 0 |
2 | 0 | 16 | 0 | 0 | 0.25 | 0.157 | 0.861 | 0 |
2 | 0 | 16 | 0 | 0 | 0.228 | 0.057 | 0.861 | 0 |
3 | 0 | 16 | -1 | 0 | 0 | -1 | 0.861 | 2 |
3 | 0 | 16 | -1 | 0 | 0 | -1 | 0.79 | 2 |
2 | 0 | 15 | 0 | 0 | 0.301 | 0.115 | 0.861 | 0 |
2 | 0 | 15 | 0 | 0 | 0.265 | 0.092 | 0.861 | 0 |
2 | 0 | 15 | 0 | 0 | 0.235 | 0.126 | 0.861 | 0 |
2 | 0 | 15 | 0 | 0 | 0.22 | 0.072 | 0.861 | 0 |
2 | 0 | 15 | 0 | 0 | 0.21 | 0.074 | 0.861 | 0 |
2 | 0 | 15 | 0 | 0 | 0.209 | 0.051 | 0.861 | 0 |
3 | 0 | 15 | -1 | 0.143 | 0.186 | -1 | 0.836 | 3 |
15 | 0 | 15 | -1 | 0.083 | 0 | -1 | 0.633 | 2 |
15 | 0 | 15 | -1 | 0.083 | 0 | -1 | 0.633 | 2 |
2 | 0 | 14 | 0 | 0 | 0.285 | 0.123 | 0.861 | 0 |
2 | 0 | 14 | 0 | 0 | 0.281 | 0.139 | 0.861 | 0 |
2 | 0 | 14 | 0 | 0 | 0.273 | 0.133 | 0.861 | 0 |
2 | 0 | 14 | 0 | 0 | 0.236 | 0.095 | 0.861 | 0 |
2 | 0 | 14 | 0 | 0 | 0.22 | 0.012 | 0.861 | 0 |
2 | 0 | 14 | 0 | 0 | 0.202 | 0.108 | 0.861 | 0 |
2 | 0 | 14 | 0 | 0 | 0.187 | 0.044 | 0.861 | 0 |
2 | 0 | 14 | 0 | 0 | 0.171 | 0.037 | 0.861 | 0 |
3 | 0 | 14 | -1 | 0 | 0.073 | -1 | 0.801 | 2 |
3 | 0 | 13 | 0 | 0.222 | 0.388 | 0.68 | 0.893 | 3 |
2 | 0 | 13 | 0 | 0 | 0.325 | 0.155 | 0.861 | 0 |
2 | 0 | 13 | 0 | 0 | 0.289 | 0.167 | 0.861 | 0 |
2 | 0 | 13 | 0 | 0 | 0.288 | 0.105 | 0.861 | 0 |
End of preview.