{"id":18657332,"url":"https://github.com/jmrozanec/capsnet-text-classification","last_synced_at":"2025-11-05T21:30:32.531Z","repository":{"id":150474271,"uuid":"164122016","full_name":"jmrozanec/capsnet-text-classification","owner":"jmrozanec","description":"Provides a capsnet implementation for text classification","archived":false,"fork":false,"pushed_at":"2019-03-16T11:53:05.000Z","size":28803,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-27T15:11:11.383Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jmrozanec.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":"2019-01-04T15:12:34.000Z","updated_at":"2021-02-06T16:00:23.000Z","dependencies_parsed_at":"2023-04-11T22:10:52.086Z","dependency_job_id":null,"html_url":"https://github.com/jmrozanec/capsnet-text-classification","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrozanec%2Fcapsnet-text-classification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrozanec%2Fcapsnet-text-classification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrozanec%2Fcapsnet-text-classification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrozanec%2Fcapsnet-text-classification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmrozanec","download_url":"https://codeload.github.com/jmrozanec/capsnet-text-classification/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239474876,"owners_count":19645012,"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":[],"created_at":"2024-11-07T07:27:44.090Z","updated_at":"2025-11-05T21:30:32.501Z","avatar_url":"https://github.com/jmrozanec.png","language":"Jupyter Notebook","readme":"# capsnet-text-classification\nProvides a capsnet implementation for text classification\n\nWe provide the following notebooks:\n - dataset-to-embeddings.ipynb: to transform headlines to embedding vectors used as new dataset to perform classification\n - dataset-analysis.ipynb: to obtain general information regarding the dataset: most frequent terms, which cannot be represented as embeddings, most frequent words particular to a specific topic, etc.\n - XGBoost.ipynb: classification performed with XGBoost\n - ConvRec.ipynb: ConvRec implementation and dataset classification\n - CapsNet.ipynb: CapsNet implementation and dataset classification\n\nResults we obtained:\n\n\n|Metric|CapsNet|XGBoost|ConvRec|\n|------|-------|-------|-------|\n|Accuracy|0.8901|0.8179|0.8897|\n|Time trained|920 minutes|23 minutes|189 minutes|\n\nTo start a Docker image, run: \n- docker run -p 8888:8888 -v \"$PWD\":/home/jovyan jupyter/datascience-notebook\n- docker exec b7f3abbf54da pip install keras\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmrozanec%2Fcapsnet-text-classification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmrozanec%2Fcapsnet-text-classification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmrozanec%2Fcapsnet-text-classification/lists"}