Based on Alternating Least Square Alternating Least Square is a method to find the matrices X,Y given R The idea is to find the parameters which minim ...
分类:
其他好文 时间:
2017-07-20 01:01:51
阅读次数:
109
1. 多字节字符与单字节字符 char与wchar_t 我们知道C++基本数据类型中表示字符的有两种:char、wchar_t。 char叫多字节字符,一个char占一个字节,之所以叫多字节字符是因为它表示一个字时可能是一个字节也可能是多个字节。一个英文字符(如’s’)用一个char(一个字节)表示 ...
分类:
其他好文 时间:
2017-07-18 15:33:38
阅读次数:
1345
Http定义了与服务器交互的不同方法,最基本的方法有4种,分别是GET,POST,PUT,DELETE。URL全称是资源描述符,我们可以这样认为:一个URL地址,它用于描述一个网络上的资源,而HTTP中的GET,POST,PUT,DELETE就对应着对这个资源的查,改,增,删4个操作。到这里,大家应 ...
分类:
Web程序 时间:
2017-07-18 15:27:42
阅读次数:
176
字符编码 计算机中的字符都是以特定的编码形式存放的,从最早的ascii到后来的Unicode以及UTF-8, 在python中, 字符串str也是是区分编码的,在各种编码的字符串之间,有一座桥梁,就是unicode类型。 str, unicode str转到unicode需要解码,即decode;反 ...
分类:
编程语言 时间:
2017-07-18 01:50:55
阅读次数:
230
看了一些网站的瀑布流加载,正好看到css3的多列属性,尝试着写了一个css做布局的瀑布流。 直接上代码: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>CSS3多列属性瀑布流</title> <style> / ...
分类:
Web程序 时间:
2017-07-14 16:27:19
阅读次数:
271
#coding=utf-8import jsondict={'title':"这是中文"}print json.dumps(dict,ensure_ascii=False,encoding="utf-8") books=[ {'name':u'C#从入门到精通','price':23.7,'stor ...
分类:
编程语言 时间:
2017-07-14 15:03:45
阅读次数:
210
"The Heart of the Matter," the just-released report by the American Academy of Arts and Sciences(AAAS),deserves praise for(因为)(doing) affirming (the i ...
分类:
其他好文 时间:
2017-07-13 21:47:11
阅读次数:
281
安装 numpy 和 scipy 1.sudo apt-get install python-numpy python-scipy 2.sudo pip install Theano 如果没有安装pip,请先安装pip sudo pip install pyyaml sudo apt-get ins ...
分类:
系统相关 时间:
2017-07-13 19:15:45
阅读次数:
465