自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 Go 和 Python 基本操作对比

字符串替换 replacegoc := strings.Replace("aaabbbaaabb", "bb", "aa" ,1) // str, old, new ,替换第几个输出: aaaaabaaabbpythonc = "aaabbbaaabb".replace('b

2019-01-22 16:10:35 985 1

原创 Random Forest

""" Random Forest.Implement Random Forest algorithm with TensorFlow, and apply it to classify handwritten digit images. This example is using the MNIST database of handwritten digits as training s...

2019-01-16 21:55:05 123

原创 生存预测 : kaggle titanic 泰坦尼克号 逻辑回归(Logistic回归) tensorflow版

###目录test.csvtrain.csvtitanic.py###数据集https://www.kaggle.com/c/titanic/data###titanic.pyimport tensorflow as tfimport pandas as pdTRAIN_PATH = "train.csv"TEST_PATH = "test.csv"LEARNING_R...

2019-01-16 21:54:08 612

原创 python 常用排序算法

a = [5, 3, 4, 1, 2, 2]#冒泡排序def bubble(a): """ 冒泡排序 时间复杂度o(n2) 比较相邻的元素大小,将小的前移,大的后移 :param a:list :return: sorted(a) """ num

2019-01-16 20:45:04 134

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除