WangZhao's Blog

It's not who you are underneath,it's what you do that defines you


  • Home

  • Archives

*args,**kwargs的使用方法

Posted on 2017-11-25

*args和**kargs是一种约定俗称的用法,目的是用于传入不定数量的参数,前者把传入的参数变成一个tuple,后者把传入的参数编程一个字典

Read more »

剑指offer笔记

Posted on 2017-11-20 | In 算法

离春招开始的时间已经不久了,因此最近开始在工作之余看看剑指offer这本书,了解更多关于算法相关的知识。

Read more »

numpy教程

Posted on 2017-10-22 | In 编程学习

使用jupyter notebook 分析数据之前导入的包

1
2
3
4
5
6
7
8
9
10
11
12
13
import numpy as np # linear algebra
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

%matplotlib inline
import matplotlib.pyplot as plt # Matlab-style plotting
import seaborn as sns
color = sns.color_palette()
sns.set_style('darkgrid')

import warnings
def ignore_warn(*args, **kwargs):
pass
warnings.warn = ignore_warn #ignore annoying warning (from sklearn and seaborn)
Read more »

TensorFlow入门

Posted on 2017-10-13 | In 编程学习 , TensorFlow

MNIST是一个深度学习入门的经典例子,是通过对55000张手写数字的识别以及10000张手写数字数据的测试以及5000个验证数据的验证,来了解TensorFlow的基本用法

Read more »

Cross Validation 交叉验证

Posted on 2017-10-10 | In 机器学习

传统的$F-measure$或平衡的$F-score$ (F1 score)是精度和召回的调和平均值:

$F_1 = 2 \frac{precision*recall}{precision + recall}$

Read more »

python进行数据挖掘中的常见问题及经验

Posted on 2017-10-09 | In 编程学习 , 数据挖掘

在数据分析程序中需要引入的包及设置

用python进行数据分析的时候,需要在文件开头导入一下包

Read more »
<i class="fa fa-angle-left"></i>1…111213…16<i class="fa fa-angle-right"></i>

96 posts
47 categories
63 tags
© 2024 Jeffrey Pacino
Powered by Hexo
|
Theme — NexT.Muse v5.1.4