{"id":19299241,"url":"https://github.com/yanqiangmiffy/20newsgroups-text-classification","last_synced_at":"2026-03-07T03:01:55.260Z","repository":{"id":139609780,"uuid":"141111324","full_name":"yanqiangmiffy/20newsgroups-text-classification","owner":"yanqiangmiffy","description":"对20 newsgroups 数据集 进行文本分类","archived":false,"fork":false,"pushed_at":"2018-07-17T02:07:36.000Z","size":9,"stargazers_count":30,"open_issues_count":3,"forks_count":14,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T09:45:43.910Z","etag":null,"topics":["sklearn","text-classification-python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yanqiangmiffy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-07-16T08:42:34.000Z","updated_at":"2025-02-22T12:37:11.000Z","dependencies_parsed_at":"2023-07-15T08:32:40.535Z","dependency_job_id":null,"html_url":"https://github.com/yanqiangmiffy/20newsgroups-text-classification","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yanqiangmiffy/20newsgroups-text-classification","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanqiangmiffy%2F20newsgroups-text-classification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanqiangmiffy%2F20newsgroups-text-classification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanqiangmiffy%2F20newsgroups-text-classification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanqiangmiffy%2F20newsgroups-text-classification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yanqiangmiffy","download_url":"https://codeload.github.com/yanqiangmiffy/20newsgroups-text-classification/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanqiangmiffy%2F20newsgroups-text-classification/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30206339,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"online","status_checked_at":"2026-03-07T02:00:06.765Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["sklearn","text-classification-python"],"created_at":"2024-11-09T23:10:42.195Z","updated_at":"2026-03-07T03:01:55.225Z","avatar_url":"https://github.com/yanqiangmiffy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 20newsgroups-text-classification\n对20 newsgroups 数据集 进行文本分类\n# 方法\n- 基于传统机器学习方法的文本分类\n- 基于深度学习的文本分类\n# 测试结果\n- 传统机器学习方法\n\n    MultinomialNB准确率为： 0.8960196779964222\n\n    SGDClassifier准确率为： 0.9724955277280859\n\n    LogisticRegression准确率为： 0.9304561717352415\n\n    SVC准确率为： 0.13372093023255813\n\n    LinearSVC准确率为： 0.9749552772808586\n\n    LinearSVR准确率为： 0.00022361359570661896\n\n    MLPClassifier准确率为： 0.9758497316636852\n\n    KNeighborsClassifier准确率为： 0.45840787119856885\n\n    RandomForestClassifier准确率为： 0.9680232558139535\n\n    GradientBoostingClassifier准确率为： 0.9186046511627907\n\n    AdaBoostClassifier准确率为： 0.5916815742397138\n\n    DecisionTreeClassifier准确率为： 0.9758497316636852\n\n- CNN实现文本分类\n\n    需要词向量http://nlp.stanford.edu/data/glove.6B.zip\n\n    效果其实不好...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanqiangmiffy%2F20newsgroups-text-classification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyanqiangmiffy%2F20newsgroups-text-classification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanqiangmiffy%2F20newsgroups-text-classification/lists"}