- 博客(5)
- 收藏
- 关注
转载 损失函数
原文地址:http://blog.youkuaiyun.com/zr459927180/article/details/50750736目录(?)[-]一quadratic sigmoid一定义二收敛特性二cross entropy sigmoid一定义二两点特性三收敛特性四含义三softmax log-likelihood一softmax二log-li
2016-09-14 15:27:25
1567
原创 UVa 1594 Ducci Sequence
A Ducci sequence is a sequence of n-tuples of integers. Given an n-tuple of integers (a 1 , a 2 , ... , a n ), the nextn-tuple in the sequence is formed by taking the absolute differences of neighbo
2016-02-05 16:40:13
414
原创 UVa1595-Symmetry
题目: 平面上有n个点,是否存在一条竖直的轴是所有点的对称轴。输入: 点坐标。输出: 存在输出YES,否则输出NO。若存在对称轴,则对称轴横坐标为x = (x1 + x2 + ... + xn)/n。为了防止出现浮点数,可以将xn*2。sum = x1 + x2 + ... + xn,则利用n*xn与sum*2-n*xn
2015-10-27 09:35:05
400
原创 UVa 1593 - Alignment of Code
题目: 输入若干行代码,使其各列单词左边界对齐,单词之间至少要空一格。输入: 乱格式的若干行代码。输出: 对齐后的代码。主要是getline、stringstream以及二维vector的应用,用二维vector储存文本,再找出每一列的最长字符串的长度。#include #include #include #inclu
2015-09-04 17:23:06
439
原创 UVa 455 - Periodic Strings
#include #include using namespace std;int main(){int N;cin >> N;char s[100];while( N-- ){cin >> s;int length = strlen(s);int k = 1;while( k < length ){int a = length%k;if( a == 0 ){int i;for( i = 0; i
2015-07-31 11:42:31
345
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅