{"id":15494931,"url":"https://github.com/fracpete/reuters21578","last_synced_at":"2025-03-28T17:14:36.046Z","repository":{"id":146381510,"uuid":"497487526","full_name":"fracpete/reuters21578","owner":"fracpete","description":"Python script to convert the Reuters-21578 dataset into an ARFF file for MEKA.","archived":false,"fork":false,"pushed_at":"2022-06-08T02:56:33.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-19T12:15:54.302Z","etag":null,"topics":["meka","multi-label-classification","python3","text-classification"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fracpete.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-29T04:17:27.000Z","updated_at":"2022-05-29T05:30:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"244b6a50-b02e-4e32-9f9e-37e4dbc83d90","html_url":"https://github.com/fracpete/reuters21578","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"52630ad8141793d6d31cc454f5f070e953ccd5e7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fracpete%2Freuters21578","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fracpete%2Freuters21578/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fracpete%2Freuters21578/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fracpete%2Freuters21578/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fracpete","download_url":"https://codeload.github.com/fracpete/reuters21578/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246068301,"owners_count":20718503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["meka","multi-label-classification","python3","text-classification"],"created_at":"2024-10-02T08:15:37.417Z","updated_at":"2025-03-28T17:14:36.025Z","avatar_url":"https://github.com/fracpete.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# reuters21578\nPython script to convert the Reuters-21578 dataset into an ARFF file for MEKA.\n\n## Original data\n\nDownload the original data from here:\n\nhttp://kdd.ics.uci.edu/databases/reuters21578/reuters21578.html\n\nAnd extract it.\n\n\n# Install\n\n* Clone repository\n\n  ```bash\n  git clone https://github.com/fracpete/reuters21578.git\n  ```\n\n* Change into repo\n\n  ```bash\n  cd reuters21578\n  ```\n\n* Create virtual environment\n\n  ```bash\n  virtualenv -p /usr/bin/python3 venv\n  ./venv/bin/pip install .\n  ```\n\n## Generate ARFF\n\nYou can use the `reuters-generate` console script to generate the ARFF file:\n\n```\nusage: reuters-generate [-h] -t FILE -d DIR -o FILE\n\nGenerates a MEKA ARFF file from the Reuters 21578 SGML files.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -t FILE, --topics_file FILE\n                        the file with all the topics (one per line).\n  -d DIR, --data_dir DIR\n                        the directory with the .sgm files.\n  -o FILE, --output_file FILE\n                        the ARFF file to generate.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffracpete%2Freuters21578","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffracpete%2Freuters21578","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffracpete%2Freuters21578/lists"}