Giter VIP home page Giter VIP logo

Comments (1)

richenyunqi avatar richenyunqi commented on July 18, 2024

不好意思,先前的解释有点问题,目前已更新。

我们可以定义变量p0表示小于$y_i$且$result_i==0$的同学个数;定义变量p1表示小于$y_i$且$result_i==1$的同学个数,那么$\theta$恰好为$y_i$时的预测正确的次数就是$p0+m-p1$

一共m位同学,那么大于等于$y_i$且$result_i==1$的同学个数就是$m-p1$,那么$\theta$恰好为$y_i$时的预测正确的次数就是$p0+m-p1$

from ccf-csp-and-pat-solution.

Related Issues (7)

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.