Ryosuke Kosako
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # SourceCredのFibration modelについて #### **修正点** - αは重みとして使うと思っていたが、CredRankではαは「シード確率」となっているので、重みを作る確率?のようなので、αは0~1になる。今の説明上は問題ない ## Fibration ファイブレーションの定義はたくさんある。 共通するところはホモトピーリフト特性を満たすこと。 > 古典的なホモトピー理論では、ファイブレーション$p:E→B$は、特定の揚力特性を持つ位相空間間の連続関数です。最も基本的な特性は、点e ∈ Eとp(e)で始まるBのパス[0,1]→Bが与えられると、パスをeで始まるEのパスに持ち上げることができるということです。(https://ncatlab.org/nlab/show/fibration のgoogle翻訳) 上記で述べている「特定の揚力特性」をホモトピーリフト特性と呼ぶ。 $p:E→B$ $p':E'→B'$ に対して$p→p'$へのファイバーを持つ写像がファイブレーション。 $p→p'$に連続するように定式化することがファイブレーションで求められること。 ### ホモトピーとは > 数学におけるホモトピー (homotopy)とは、点や線や面などの幾何学的対象、あるいはそれらの間の連続写像が連続的に移りあうということを定式化した位相幾何学における概念のひとつである。(Wikipediaより) つまり、ある状態からある状態への遷移があるときに、どうやって繋がってるかを定式化すること。 ## ファイバーとは > $x∈B$に対し、$F_x = π^{−1}(x)$をx上のファイバー (fibre, fiber) という。 同じ連続する状態をファイバーと呼び、ファイブレーションでは接続する関数を求める. # SourceCredの貢献グラフ 前提として、この時点のグラフには重みと遷移確率が混在する。 ## 従来の貢献グラフ 時間が関係していない。 重み(α)や遷移確率(β)を変えたとき、新しく設定した値で全てのノードとエッジを用いて再計算される。 ![従来の貢献グラフ (2).jpg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/102646/458885d8-ae15-4832-efd4-f8e00a1326de.jpeg "従来の貢献グラフ (2).jpg") ## Fibration modelの貢献グラフ ### 最初の週 ![Fibration modelの貢献グラフ_1.jpg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/102646/5c8fe6ce-7f3e-bfbf-37cf-09739eb5dfb7.jpeg "Fibration modelの貢献グラフ_1.jpg") Epochノードを作ってあるが、この時点では時間の遷移がないので結果は従来と変わらないはず。 ### 2週目 ![Fibration modelの貢献グラフ_2 (2).jpg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/102646/466869e4-50ab-e8a3-72a3-8c83b9c0ef72.jpeg "Fibration modelの貢献グラフ_2 (2).jpg") 現在は1週間ごとにEpochノードを生成する。 先週のEpochと今週のEpochを遷移レートγで接続。 先週のEpochノードからγ_forwardをパラメータとして今週のEpochに重みを加算か減算するはず。 今週のEpochノードからγ_backwardをパラメータとして先週のEpochに重みを加算か減算するはず。 γはFibrationのcontinuous functionによる。 FIbrationには何種類かある。 全ての過去の期間を現在の期間に影響させるか、一つ前の過去の期間を現在の期間に影響させるか。 ドキュメントでは先週からのみエッジが接続されていたのでその方法を使うと思う。 期間ごとの重み(SourceCredでは貢献度に強く関係する)は週ごとにEpochノードとして保存されるはず。 過去にPR_αが1で、最近PRの価値が高くなってPR_αを2にした場合、過去のPRを高く再評価したい場合、γ_forwardを高くすることで過去の価値を現在の価値に追加して調整ができるはず。その場合、活動ごとにEpochノードを用意する必要があるか、活動ごとにαとβを保存しておく必要があるはず。そこまでは言及されていないので今後の実装次第。 βの値は、現在の価値より重視するなら過去のEpochのβを低くすれば調整できる。 ### 疑問 - γを先週からの分からのみ更新するなら勾配降下法に近い気がする ## 参考 SourceCred: an introduction to calculating cred and grain https://research.protocol.ai/blog/2020/sourcecred-an-introduction-to-calculating-cred-and-grain/ https://en.wikipedia.org/wiki/Fibration https://ncatlab.org/nlab/show/fibration リンク切れしてる? http://pantodon.shinshu-u.ac.jp/topology/literature/principal_fibration.html https://ja.wikipedia.org/wiki/%E3%83%9B%E3%83%A2%E3%83%88%E3%83%94%E3%83%BC

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully