上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
摘要: CS61A Spring 2018 原文地址:http://composingprograms.com/pages/24-mutable-data.html字典的一个简单应用:模拟银行账户def account(initial_balance): de... 阅读全文
posted @ 2018-05-31 09:09 Siucaan 阅读(205) 评论(0) 推荐(0)
摘要: CS61A Spring 笔记 参考: https://inst.eecs.berkeley.edu/~cs61a/sp18/lab/lab02/Lambda ExpressionsLambda Expressions is one-line functio... 阅读全文
posted @ 2018-05-30 22:20 Siucaan 阅读(3409) 评论(0) 推荐(0)
摘要: CS61A Spring 2018 原文地址:http://composingprograms.com/pages/24-mutable-data.html 视频地址 : https://www.youtube.com/watch?v=Dd2Ax... 阅读全文
posted @ 2018-05-30 22:14 Siucaan 阅读(367) 评论(0) 推荐(0)
摘要: 原文链接:http://composingprograms.com/pages/23-sequences.htmlWhat is sequences?A sequence is an ordered collection of values. It is a coll... 阅读全文
posted @ 2018-05-25 09:23 Siucaan 阅读(420) 评论(0) 推荐(0)
摘要: (1) 问题描述: 安装Python包hmmlearn失败,遇到error: Microsoft visual C++ 14.0 is required. (2) 解决方法: 我查看了安装的软件, 难道这个不是要的?: 于是重新装了Microsoft Visual... 阅读全文
posted @ 2018-05-23 17:28 Siucaan 阅读(322) 评论(0) 推荐(0)
摘要: Matlab中的并行运算常用的有 parfor-loop代替for-loop加速计算,这里parfor就是parallel的意思。 client把任务分配给多个workers,在一个循环中同时运行,等所有workers运行完返回结果,然后对结果进行整合。 一个迭代就是... 阅读全文
posted @ 2018-05-13 13:24 Siucaan 阅读(1459) 评论(0) 推荐(0)
摘要: 周志华《机器学习》学习笔记线性模型通过属性的线性组合来进行函数预测, f(x)=w1x1+w2x2+...+wdxd+b" role="presentation">f(x)=w1x1+w2x2+...+wdxd+bf(x)=w1x1+w2x2+...+wdxd+b 使... 阅读全文
posted @ 2018-05-09 15:12 Siucaan 阅读(280) 评论(0) 推荐(0)
摘要: import urllib.requestimport osdef url_open(url): '''open url and return source html code''' req = urllib.request.Request(url) ... 阅读全文
posted @ 2018-04-30 19:13 Siucaan 阅读(848) 评论(0) 推荐(0)
摘要: nargin 一般用在输入参数个数不确定或者有默认参数时,if nargin < 3 % 设置 end strcat() 这个函数用得很广,拼接各种名字,路径。拼接的每个对象必须是字符,数字要转为字符才能正确显示。s1 = 'Good';s2 = 'mo... 阅读全文
posted @ 2018-04-30 14:15 Siucaan 阅读(472) 评论(0) 推荐(0)
摘要: 1. 安装库 pip install python_speech_features2. 代码:#!/usr/bin/env pythonfrom python_speech_features import logfbankfrom python_speech_fea... 阅读全文
posted @ 2018-04-25 19:52 Siucaan 阅读(1849) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页