会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
开心果壳好硬
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
2021年9月1日
【C++ Primer Plus】编程练习答案——第8章
摘要: 1 void ch8_1_print(const std::string & str, int n = 0 ) { 2 using namespace std; 3 static int flag = 0; 4 ++ flag; 5 if (!n) 6 cout << str << endl; 7
阅读全文
posted @ 2021-09-01 17:18 开心果壳好硬
阅读(222)
评论(0)
推荐(0)
2021年8月30日
【C++ Primer Plus】编程练习答案——第7章
摘要: 1 double ch7_1_harmonicaverage(double a, double b) { 2 return 2 / (1 / a + 1 / b); 3 } 4 5 void ch7_1() { 6 using namespace std; 7 double a{0}, b{0};
阅读全文
posted @ 2021-08-30 13:51 开心果壳好硬
阅读(166)
评论(0)
推荐(0)
2021年8月29日
【C++ Primer Plus】编程练习答案——第6章
摘要: 1 void ch6_1() { 2 using namespace std; 3 char ch; 4 while ((ch = cin.get()) != '@') { 5 if (isdigit(ch)) 6 continue; 7 else if (islower(ch)) 8 ch = t
阅读全文
posted @ 2021-08-29 14:34 开心果壳好硬
阅读(176)
评论(0)
推荐(0)
2021年8月28日
【C++ Primer Plus】编程练习答案——第5章
摘要: 1 void ch5_1() { 2 using namespace std; 3 int small, big, sum{0}; 4 cout << "enter small and big: " << endl; 5 cout << "small: "; cin >> small; 6 cout
阅读全文
posted @ 2021-08-28 15:25 开心果壳好硬
阅读(144)
评论(0)
推荐(0)
2021年8月27日
【C++ Primer Plus】编程练习答案——第4章
摘要: 1 void ch4_1() { 2 using namespace std; 3 string fname, lname; 4 char grade; 5 unsigned int age; 6 cout << "enter first name: "; 7 getline(cin, fname)
阅读全文
posted @ 2021-08-27 14:33 开心果壳好硬
阅读(174)
评论(0)
推荐(0)
2021年8月25日
【C++ Primer Plus】编程练习答案——第3章
摘要: 1 void ch3_1() { 2 using namespace std; 3 unsigned int factor = 12; 4 unsigned int inch, feet; 5 cout << "enter your height in inch:______\b\b\b\b\b\b
阅读全文
posted @ 2021-08-25 11:33 开心果壳好硬
阅读(127)
评论(0)
推荐(0)
2021年8月24日
【C++ Primer Plus】编程练习答案——第2章
摘要: 1 void ch2_1() { 2 using namespace std; 3 cout << "xxxxxxxx" << endl; 4 } 5 6 void ch2_2() { 7 using namespace std; 8 double num; 9 cout << "please in
阅读全文
posted @ 2021-08-24 18:54 开心果壳好硬
阅读(162)
评论(0)
推荐(0)
2021年8月21日
【深度学习】softmax回归——原理、one-hot编码、结构和运算、交叉熵损失
摘要: 1. softmax回归是分类问题 回归(Regression)是用于预测某个值为“多少”的问题,如房屋的价格、患者住院的天数等。 分类(Classification)不是问“多少”,而是问“哪一个”,用于预测某个事物属于哪个类别,如该电子邮件是否是垃圾邮件、该图像是猫还是狗、该用户接下来最有可能看
阅读全文
posted @ 2021-08-21 12:18 开心果壳好硬
阅读(1892)
评论(0)
推荐(0)
上一页
1
2
公告