The poor rabbit chased by Python and Anaconda :p

0%

First, Why I choose this project?

This Competition is one of the “unlike Kaggle” Competition: This is a real-world problem.

The target of this project is to estimate an Ad’s Exposure rate (daily) from a bunch of files provided. When a company decides to post an Ad on a certain website, there are many features they need to decide

Read more »

Before anything

How to convert a jupyter notebook to md file?

1
$ jupyter nbconvert --to markdown input.ipynb

Introduction

Seeking for rentals in a limited time is always a painful experience. For me, because this process is so painful, sometimes even I’m seriously not happy with the property I’m renting, I will choose to live with it.

Read more »

A simple comparisons between tree classifiers

how to tune GradientBoosting Parameters

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
GradientBoostingClassifier(
loss='deviance',
learning_rate=0.1,
n_estimators=100,
subsample=1.0,
criterion='friedman_mse',
min_samples_split=2,
min_samples_leaf=1,
min_weight_fraction_leaf=0.0,
max_depth=3,
min_impurity_decrease=0.0,
min_impurity_split=None,
init=None,
random_state=None,
max_features=None,
verbose=0,
max_leaf_nodes=None,
warm_start=False,
presort='auto',
validation_fraction=0.1,
n_iter_no_change=None,
tol=0.0001,
)
Read more »

python 3 iteration summary

一个小小的总结,summarize一下python3里面的iteration

.iteritems()

用于 series, dataframe:

1
for index, data in a.iteritems():

iterate a list

用于不需要index的情况,只对items进行遍历

Read more »