码迷,mamicode.com
首页 >  
搜索关键字:python 笔记    ( 201513个结果)
pgm2
MRF 笔记我们先讨论引入 MRF 的必要性。经典的例子就是四个 r.v.s 连成一个正方形的结构的时候,我们没法通过 BN 获得给定对角线两个 r.v.s 而剩下的条件独立(不都是 d-sep),反过来如果希望通过 MRF 刻画某些 BN 也是不可行的,经典的例子就是 inter-causal r...
分类:其他好文   时间:2014-06-08 23:03:47    阅读次数:441
Python/C++ in Visual Studio: An Alternative to Matlab/MEX
来自Andrew Delong的博客http://andrewdelong.wordpress.com/2012/11/03/pythonc-in-visual-studio-an-alternative-to-matlabmex/I spent much of my PhD working in ...
分类:编程语言   时间:2014-06-08 22:45:10    阅读次数:458
白手起家搭建django app
$django-admin.py startproject web2$cd web2/$python manage.py startapp blog$vim web2/settings.py 注意settings.py以下两个部分,首先要配置数据库,其次要在INSTALLED_APP里添加刚才新建的...
分类:移动开发   时间:2014-06-08 22:18:14    阅读次数:377
【linux】学习笔记
2014.06.07开机无法上网,每次都得$ sudo ifconfig eth1 up $ sudo dhclient eth1 后面发现原来是网卡没设置开机启动编辑/etc/sysconfig/network-scripts/ifcfg-eth0ONBOOT=yes
分类:系统相关   时间:2014-06-08 22:11:31    阅读次数:340
读书笔记:程序员的自我修养-----第一章(综述)
题前:30--45天读完,一周至少3篇读书笔记。不能坚持,不再联系,不再找你。一. hello world 程序引出的问题,看40天后,再回来看看自己的答案,提升多少。 Q1:程序为什么要被编译器编译之后才可以运行? A1 : 系统执行的机器语言,即二进制文件,程序是文本文件需要编译之后,由链...
分类:其他好文   时间:2014-06-08 22:00:32    阅读次数:243
[leetcode]Sqrt(x) @ Python
原题地址:https://oj.leetcode.com/problems/sqrtx/题意:Implementint sqrt(int x).Compute and return the square root ofx.解题思路:实现开平方函数。这里要注意的一点是返回的时一个整数。通过这一点我们可...
分类:编程语言   时间:2014-06-08 21:04:38    阅读次数:329
[leetcode]Search for a Range @ Python
原题地址:https://oj.leetcode.com/problems/search-for-a-range/题意:Given a sorted array of integers, find the starting and ending position of a given target ...
分类:编程语言   时间:2014-06-08 21:03:21    阅读次数:297
[leetcode]Sort Colors @ Python
原题地址:https://oj.leetcode.com/problems/sort-colors/题意:Given an array withnobjects colored red, white or blue, sort them so that objects of the same col...
分类:编程语言   时间:2014-06-08 20:56:32    阅读次数:394
[leetcode]Add Binary @ Python
原题地址:https://oj.leetcode.com/problems/add-binary/题意:Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"...
分类:编程语言   时间:2014-06-08 20:28:04    阅读次数:300
js的call(obj,arg)学习笔记
var add=function (a,b){ return(a+b);}var sub=function (a,b,c){ return(a-b-c);}sub.call(add,1,2,3)//示例的意思时指用sub对象来替换add对象,并传入参数//使用call来实现继承function .....
分类:Web程序   时间:2014-06-08 20:24:40    阅读次数:290
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!