Title: Why start = 4 · Issue #56 · DeepGraphLearning/KnowledgeGraphEmbedding · GitHub
Open Graph Title: Why start = 4 · Issue #56 · DeepGraphLearning/KnowledgeGraphEmbedding
X Title: Why start = 4 · Issue #56 · DeepGraphLearning/KnowledgeGraphEmbedding
Description: Hello, I'm a student who try to learn from this paper and code, and I met a small question confused me. def count_frequency(triples, start=4): ''' Get frequency of a partial triple like (head, relation) or (relation, tail) The frequency ...
Open Graph Description: Hello, I'm a student who try to learn from this paper and code, and I met a small question confused me. def count_frequency(triples, start=4): ''' Get frequency of a partial triple like (head, rela...
X Description: Hello, I'm a student who try to learn from this paper and code, and I met a small question confused me. def count_frequency(triples, start=4): ''' Get frequency of a partial triple ...
Opengraph URL: https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues/56
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Why start = 4","articleBody":" Hello, I'm a student who try to learn from this paper and code, and I met a small question confused me.\r\n\r\n def count_frequency(triples, start=4): \r\n '''\r\n Get frequency of a partial triple like (head, relation) or (relation, tail)\r\n The frequency will be used for subsampling like word2vec \r\n '''\r\n count = {}\r\n for head, relation, tail in triples:\r\n if (head, relation) not in count:\r\n count[(head, relation)] = start\r\n\r\n\r\nwhy start = 4 instead of start = 1?","author":{"url":"https://github.com/passermyh","@type":"Person","name":"passermyh"},"datePublished":"2022-09-07T09:12:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/56/KnowledgeGraphEmbedding/issues/56"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:dbf0be5a-c835-55f8-38d4-7cd4fb385283 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A002:A6EDE:357E93B:47D1D6B:697AF68C |
| html-safe-nonce | f0aa4f96f828978a329b51c0e38e49102b1f727a87182b65a5d23ecc5ac9d3f9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDAyOkE2RURFOjM1N0U5M0I6NDdEMUQ2Qjo2OTdBRjY4QyIsInZpc2l0b3JfaWQiOiIyODE4MDI4OTg0OTk2NjU2NzgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9c51470228e35df1c9c1b75a9b6fe32bd846ca566ed5dd925a6ccbd174c83098 |
| hovercard-subject-tag | issue:1364348101 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/DeepGraphLearning/KnowledgeGraphEmbedding/56/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1ac61f9ae672594fdfca26c6b7c7e41161894933051606f2312e0c23577ca3bb/DeepGraphLearning/KnowledgeGraphEmbedding/issues/56 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1ac61f9ae672594fdfca26c6b7c7e41161894933051606f2312e0c23577ca3bb/DeepGraphLearning/KnowledgeGraphEmbedding/issues/56 |
| og:image:alt | Hello, I'm a student who try to learn from this paper and code, and I met a small question confused me. def count_frequency(triples, start=4): ''' Get frequency of a partial triple like (head, rela... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | passermyh |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7ce8ed0a54c4730aeca4e6abacfc6490365fc42e25480b86883054df3f9181c8 |
| turbo-cache-control | no-preview |
| go-import | github.com/DeepGraphLearning/KnowledgeGraphEmbedding git https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding.git |
| octolytics-dimension-user_id | 38018154 |
| octolytics-dimension-user_login | DeepGraphLearning |
| octolytics-dimension-repository_id | 167231866 |
| octolytics-dimension-repository_nwo | DeepGraphLearning/KnowledgeGraphEmbedding |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 167231866 |
| octolytics-dimension-repository_network_root_nwo | DeepGraphLearning/KnowledgeGraphEmbedding |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d7bfc78137af9a4828305e52ab993fce981d7085 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width