2015年6月29日

摘要: 应用场景 假设有这样一个字典结构test_dict = {'a':{'b':{'c':1}},'d':2},test_dict其实可以看作是一种树状结构,其中每个叶子节点深度不一定相同,如果我们希望输出根节点到所有叶子节点的路径,也就是a->b->c->1;d->2,该如何解决? 代码 #encoding=utf-8import sysdef recurPrintPath(dic): for... 阅读全文
posted @ 2015-06-29 15:56 lynnTse 阅读(3414) 评论(0) 推荐(0) 编辑

2015年6月7日

摘要: Oracle基本概念 实例 一个Oracle实例(Oracle Instance)有一系列的后台进程(Backguound Processes)和内存结构(Memory Structures)组成。一个数据库可以有n个实例。 用户 Oracle数据库建好后,要想在数据库里建表,必须先为数据库建立用户,并为用户指定表空间。 表空间 Oracle数据库是通过表空间来存储物理表的,一个数据库实... 阅读全文
posted @ 2015-06-07 13:30 lynnTse 阅读(354) 评论(0) 推荐(0) 编辑

2015年6月6日

摘要: Example: Polynomial Curve Fitting The goal of regression is to predict the value of one or more continuous target variables t given the value of a D-dimensional vector x of input variables. 什么是线性回... 阅读全文
posted @ 2015-06-06 22:18 lynnTse 阅读(457) 评论(0) 推荐(0) 编辑

导航