html

table

childern

BeautifulSoup

ML

基本知识 big data read

data cleansing

Visualisation

Modeling

Training set test Set K fold

  1. 泰坦尼克号船员数据与特征

  2. 数据分析中缺失值,字符值处理(使用pandas库)

  3. 机器学习经典算法-逻辑回归与决策树

  4. 使用scikit-learn库建立模型

  5. 评估和特征分析

https://github.com/jvns/pandas-cookbook

http://pandas.pydata.org/pandas-docs/stable/tutorials.html

https://github.com/addfor/tutorials

https://github.com/fonnesbeck/statistical-analysis-python-tutorial

Python 语法基础

Pandas data frame

Numpy matrix operators

Binary Search 注意问题 ; left right 更新 移动 查重查漏

all variables are references ( the content can change)

面向对象 : class和self参数

               静态成员变量: 在class中初始化

闭包是强大的技术——在某些方面来看可能感觉它有点像面向对象技术:outer 作为 inner 的构造函数,有一个类似私有变量的 x。闭包的作用不胜枚举——如果你熟悉 Python中 sorted 函数的参数 key,也许你已经写过 lambda 函数通过第二项而非第一项来排序一些列表。也可以写一个 itemgetter 函数,接收一个用于检索的索引并返回一个函数,然后就能恰当的传递给 key 参数了。

Different operators with C++

**

// floor devide

  • concatenation strings

\' quote in a quote

Precedence

== ! =

<

<

  • >

>

  • is is not

    (== != compares value, is is not compares id)

    not

    and

    or

a

>

b

>

c works!

function - def

positional prarmeters (a)+ named parameters ( a = b)

class (everything is public)

data attributes- data members

methods - member function

高级语法

lambda 函数

decorator


Python 常用函数

https://docs.python.org/2/library/functions.html

Built-in Functions
abs() divmod() input() open() staticmethod()
all() enumerate() int() ord() str()
any() eval() isinstance() pow() sum()
basestring() execfile() issubclass() print() super()
bin() file() iter() property() tuple()
bool() filter() len() range() type()
bytearray() float() list() raw_input() unichr()
callable() format() locals() reduce() unicode()
chr() frozenset() long() reload() vars()
classmethod() getattr() map() repr() xrange()
cmp() globals() max() reversed() zip()
compile() hasattr() memoryview() round() __import__()
complex() hash() min() set()
delattr() help() next() setattr()
dict() hex() object() slice()
dir() id() oct() sorted()

open()

id()


数据结构

tuple ()

sequence unpacking 

sequence packing

attention: the use of , \(,\) in tuple 

set {}

成员函数 add(), discard(),remove(),pop(),clear()

        difference\(\), summetric\_difference\(\),intersection\(\),isdisjoint\(\),issubset\(\),issuperset\(\),union\(\)

list

*list comprehension

[x for item in sequence

<

if (conditions)

>

]

生成器表达式(generator expression) (

x for item in sequence

<

if (conditions)

>

相关函数 map\(func, list1, list2, …\),

reduce(function, sequence, startValue)

filter(function, sequence)

 zip\(\)

get(), popitem(),pop(),clear()

Dict

.keys(), .values(), .items()

string

join

insert

C++ atoi C string

https://docs.python.org/2/library/string.html#formatstrings

需要掌握的python 语法糖/trick

iterable(list, set, tuple..) comprehension

decorators

C++

try… catch error

debug techiniques

implement design patternshtml

table

childern

BeautifulSoup

ML

基本知识 big data read

data cleansing

Visualisation

Modeling

Training set test Set K fold

  1. 泰坦尼克号船员数据与特征

  2. 数据分析中缺失值,字符值处理(使用pandas库)

  3. 机器学习经典算法-逻辑回归与决策树

  4. 使用scikit-learn库建立模型

  5. 评估和特征分析

https://github.com/jvns/pandas-cookbook

http://pandas.pydata.org/pandas-docs/stable/tutorials.html

https://github.com/addfor/tutorials

https://github.com/fonnesbeck/statistical-analysis-python-tutorial

Python 语法基础

Pandas data frame

Numpy matrix operators

Binary Search 注意问题 ; left right 更新 移动 查重查漏

all variables are references ( the content can change)

面向对象 : class和self参数

               静态成员变量: 在class中初始化

闭包是强大的技术——在某些方面来看可能感觉它有点像面向对象技术:outer 作为 inner 的构造函数,有一个类似私有变量的 x。闭包的作用不胜枚举——如果你熟悉 Python中 sorted 函数的参数 key,也许你已经写过 lambda 函数通过第二项而非第一项来排序一些列表。也可以写一个 itemgetter 函数,接收一个用于检索的索引并返回一个函数,然后就能恰当的传递给 key 参数了。

Different operators with C++

**

// floor devide

  • concatenation strings

\' quote in a quote

Precedence

== ! =

<

<

  • >

>

  • is is not

    (== != compares value, is is not compares id)

    not

    and

    or

a

>

b

>

c works!

function - def

positional prarmeters (a)+ named parameters ( a = b)

class (everything is public)

data attributes- data members

methods - member function

高级语法

lambda 函数

decorator


Python 常用函数

https://docs.python.org/2/library/functions.html

Built-in Functions
abs() divmod() input() open() staticmethod()
all() enumerate() int() ord() str()
any() eval() isinstance() pow() sum()
basestring() execfile() issubclass() print() super()
bin() file() iter() property() tuple()
bool() filter() len() range() type()
bytearray() float() list() raw_input() unichr()
callable() format() locals() reduce() unicode()
chr() frozenset() long() reload() vars()
classmethod() getattr() map() repr() xrange()
cmp() globals() max() reversed() zip()
compile() hasattr() memoryview() round() __import__()
complex() hash() min() set()
delattr() help() next() setattr()
dict() hex() object() slice()
dir() id() oct() sorted()

open()

id()


数据结构

tuple ()

sequence unpacking 

sequence packing

attention: the use of , \(,\) in tuple 

set {}

成员函数 add(), discard(),remove(),pop(),clear()

        difference\(\), summetric\_difference\(\),intersection\(\),isdisjoint\(\),issubset\(\),issuperset\(\),union\(\)

list

*list comprehension

[x for item in sequence

<

if (conditions)

>

]

生成器表达式(generator expression) (

x for item in sequence

<

if (conditions)

>

相关函数 map\(func, list1, list2, …\),

reduce(function, sequence, startValue)

filter(function, sequence)

 zip\(\)

get(), popitem(),pop(),clear()

Dict

.keys(), .values(), .items()

string

join

insert

C++ atoi C string

https://docs.python.org/2/library/string.html#formatstrings

需要掌握的python 语法糖/trick

iterable(list, set, tuple..) comprehension

decorators

C++

try… catch error

debug techiniques

implement design patterns

results matching ""

    No results matching ""