{"id":20477127,"url":"https://github.com/mylamour/w2vcluster","last_synced_at":"2025-08-01T06:32:54.853Z","repository":{"id":144404183,"uuid":"190505792","full_name":"mylamour/w2vcluster","owner":"mylamour","description":"word2vec \u0026 k-means cluster","archived":false,"fork":false,"pushed_at":"2024-06-17T22:51:44.000Z","size":4,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-05T14:48:40.266Z","etag":null,"topics":["clustering-algorithm","gensim-word2vec","k-means","security","word2vec"],"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/mylamour.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-06T03:12:36.000Z","updated_at":"2021-02-07T08:15:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"2602f7fd-99a9-45c3-9338-fae2837f9493","html_url":"https://github.com/mylamour/w2vcluster","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mylamour/w2vcluster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mylamour%2Fw2vcluster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mylamour%2Fw2vcluster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mylamour%2Fw2vcluster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mylamour%2Fw2vcluster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mylamour","download_url":"https://codeload.github.com/mylamour/w2vcluster/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mylamour%2Fw2vcluster/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268181109,"owners_count":24209159,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"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":["clustering-algorithm","gensim-word2vec","k-means","security","word2vec"],"created_at":"2024-11-15T15:25:42.138Z","updated_at":"2025-08-01T06:32:54.790Z","avatar_url":"https://github.com/mylamour.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"That's a basic word2vec cluster demo. You can run it with :\n* step1:\n`pip install -r requirements.txt`\n\n* step2:\n`python cluster.py kmeans --filename data/alert_pcmline_20190617.csv -o output/pcmdline_3.csv -k 3`\n\nNow, you would see the result of predict. Have fun.\n\nIn my sence, i count the cmdline from alert datastets then cluster it. \n\n```sql\nselect srv_cmd, count(*) srv_cmd_cnt\nfrom xxxxxxxx.xxxx_alert_log_xxxxx\nwhere ds = max_pt(\"xxxx.xxxxx\")\ngroup by srv_cmd\norder by srv_cmd_cnt desc\nlimit 10000;\n```\nso that i can find the problem from millions alerts. Actually, it was useful.(also still have some problem)\n\n\n![image](https://user-images.githubusercontent.com/12653147/59007370-b6fc5300-8858-11e9-83c7-6f6454cba5a8.png)\n![image](https://user-images.githubusercontent.com/12653147/59007395-ca0f2300-8858-11e9-996e-6db84f0a9b43.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmylamour%2Fw2vcluster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmylamour%2Fw2vcluster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmylamour%2Fw2vcluster/lists"}