Giter VIP home page Giter VIP logo

Comments (3)

YutaroOgawa avatar YutaroOgawa commented on June 27, 2024 1

@FumiyoKato さま

ご質問ありがとうございます。

確かに。
こちら、解説がなく、ご不便をおかけしてしまい、大変申し訳ございません。

まず、10や40の値は適当になります。
性別や年齢の影響がうまくデータ、グラフに見えるように調整して、勝手に設定しています。
この係数に基づくデモデータが作成されます。

sigmoidの中で、x_1 + (1-x_2) * 10 の部分は、
x_1 が年齢であり、年齢が高いほど、sigmoidの中が大きくなり、購入確率があがります。
x_2 が性別であり、女性が0、男性が1です。女性であると、sigmoidの中が+10になり、男性は+0です。
そのため、女性の方が購入確率があがります。

-40は、そのままでは全体の購入確率が高すぎるので、全体的購入確率を下げるため、引き算しております。

どうぞよろしくお願い致します。

from causal_book.

FumiyoKato avatar FumiyoKato commented on June 27, 2024 1

丁寧に解説くださりありがとうございます。
お陰様で理解できました。
引き続き読み進め勉強させていただきます。

from causal_book.

YutaroOgawa avatar YutaroOgawa commented on June 27, 2024 1

@FumiyoKato さま

重要なご質問を誠にありがとうございます!
私も、多くの読者の方にも貴重な気づきになり、非常にありがたいです。

また気軽にお尋ねくださいませ。

from causal_book.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.