Comments (1)
不好意思,先前的解释有点问题,目前已更新。
我们可以定义变量
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)
- About improve code in this book
- 201403-4错误 HOT 5
- 请问是否可以在结题目录下提供题目类型的信息呢 HOT 1
- 关于 Dijkstra 算法 HOT 2
- 两处勘误 HOT 1
- about improve the code in this book
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ccf-csp-and-pat-solution.