08 2022 档案

摘要:注释链接 所有代码 # -*- coding: utf-8 -*-"""Created on Wed Apr 19 12:30:49... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(35) 评论(0) 推荐(0) 编辑
摘要:注释链接 所有代码 # -*- coding: utf-8 -*-"""Created on Wed Apr 19 12:30:49... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(26) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Sat Apr 15 17:55:54 2017@auth... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(25) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Sat Apr 15 17:55:54 2017@auth... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(30) 评论(0) 推荐(0) 编辑
摘要:center 的基本用法 center就是居中的意思,字符串的长度为6个单位,tj 占了两个单位,其余的位子用$来占位 str =... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(137) 评论(0) 推荐(0) 编辑
摘要:center 的基本用法 center就是居中的意思,字符串的长度为6个单位,tj 占了两个单位,其余的位子用$来占位 str =... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(1460) 评论(0) 推荐(0) 编辑
摘要:from random import shuffle as sfa=['bob','jack','tom','toby']for i... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(16) 评论(0) 推荐(0) 编辑
摘要:from random import shuffle as sfa=['bob','jack','tom','toby']for i... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(19) 评论(0) 推荐(0) 编辑
摘要:start=datetime(2017,4,12)start+timedelta(10000)Out[65]: datetime.d... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(42) 评论(0) 推荐(0) 编辑
摘要:start=datetime(2017,4,12)start+timedelta(10000)Out[65]: datetime.d... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(18) 评论(0) 推荐(0) 编辑
摘要:现在时刻 from datetime import datetimenow=datetime.now() 本地时间 no... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(27) 评论(0) 推荐(0) 编辑
摘要:现在时刻 from datetime import datetimenow=datetime.now() 本地时间 no... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(19) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Sun Apr 9 14:02:16 2017@auth... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(33) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Sun Apr 9 14:02:16 2017@auth... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(34) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Fri Apr 7 17:30:40 2017@auth... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(42) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Fri Apr 7 17:30:40 2017@auth... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(22) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Fri Apr 7 16:41:01 2017@auth... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(15) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Fri Apr 7 16:41:01 2017@auth... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(39) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Fri Apr 7 20:03:39 2017@auth... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(6) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Fri Apr 7 20:03:39 2017@auth... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(7) 评论(0) 推荐(0) 编辑
摘要:python 各种库 http://www.lfd.uci.edu/~gohlke/pythonlibs/ anaconda https://www.continuum.io/downloads/ 经典版Pythonhttps://repo.con... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(21) 评论(0) 推荐(0) 编辑
摘要:python 各种库 http://www.lfd.uci.edu/~gohlke/pythonlibs/ anaconda https://www.continuum.io/downloads/ 经典版Pythonhttps://repo.con... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(11) 评论(0) 推荐(0) 编辑
摘要:本文转载自刘建平 建立数据 import numpy as npimport matplotlib.pyplot as pl... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(45) 评论(0) 推荐(0) 编辑
摘要:本文转载自刘建平 建立数据 import numpy as npimport matplotlib.pyplot as pl... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(35) 评论(0) 推荐(0) 编辑
摘要:zip 就是zip函数接受任意多个(包括0个和1个)序列作为参数,返回一个tuple列表 x = [1, 2, 3]y = [4, ... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(19) 评论(0) 推荐(0) 编辑
摘要:zip 就是zip函数接受任意多个(包括0个和1个)序列作为参数,返回一个tuple列表 x = [1, 2, 3]y = [4, ... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(14) 评论(0) 推荐(0) 编辑
摘要:建立数组 x=list(range(11))xOut[16]: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(82) 评论(0) 推荐(0) 编辑
摘要:建立数组 x=list(range(11))xOut[16]: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(42) 评论(0) 推荐(0) 编辑
摘要:建立Series from pandas import Series,DataFrameimport numpy as np... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(45) 评论(0) 推荐(0) 编辑
摘要:建立Series from pandas import Series,DataFrameimport numpy as np... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(36) 评论(0) 推荐(0) 编辑
摘要:1.0 删除Series项 from pandas import Series,DataFrameimport numpy as ... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(20) 评论(0) 推荐(0) 编辑
摘要:1.0 删除Series项 from pandas import Series,DataFrameimport numpy as ... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(16) 评论(0) 推荐(0) 编辑
摘要:构造DataFrame from pandas import Series,DataFrameimport numpy as... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(19) 评论(0) 推荐(0) 编辑
摘要:构造DataFrame from pandas import Series,DataFrameimport numpy as... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(20) 评论(0) 推荐(0) 编辑
摘要:构造Series obj=Series([4,5,-7,7])objOut[140]: 0 41 52 -73 ... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(164) 评论(0) 推荐(0) 编辑
摘要:构造Series obj=Series([4,5,-7,7])objOut[140]: 0 41 52 -73 ... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(211) 评论(0) 推荐(0) 编辑
摘要:建一个Series from pandas import Series,DataFrameobj=Series(range(3),i... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(22) 评论(0) 推荐(0) 编辑
摘要:建一个Series from pandas import Series,DataFrameobj=Series(range(3),i... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(21) 评论(0) 推荐(0) 编辑
摘要:由数组字典构造DataFrame from pandas import Series,DataFrameimport numpy a... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(21) 评论(0) 推荐(0) 编辑
摘要:由数组字典构造DataFrame from pandas import Series,DataFrameimport numpy a... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(25) 评论(0) 推荐(0) 编辑
摘要:百度云代码连接:http://pan.baidu.com/s/1hr4QGgG 密码:puxw boxplot 箱形图 cateri... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(42) 评论(0) 推荐(0) 编辑
摘要:百度云代码连接:http://pan.baidu.com/s/1hr4QGgG 密码:puxw boxplot 箱形图 cateri... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(44) 评论(0) 推荐(0) 编辑
摘要:画大饼 import matplotlib.pyplot as pltlabels='uu','y','j','dd'sizes=[... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(26) 评论(0) 推荐(0) 编辑
摘要:画大饼 import matplotlib.pyplot as pltlabels='uu','y','j','dd'sizes=[... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(14) 评论(0) 推荐(0) 编辑
摘要:43个模型 图像处理/识别1.PixelCNN & PixelRNN in TensorFlowTensorFlow impleme... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(227) 评论(0) 推荐(0) 编辑
摘要:43个模型 图像处理/识别1.PixelCNN & PixelRNN in TensorFlowTensorFlow impleme... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(552) 评论(0) 推荐(0) 编辑
摘要:import numpy as npimport matplotlib.pyplot as pltax = plt.subplot(... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(74) 评论(0) 推荐(0) 编辑
摘要:import numpy as npimport matplotlib.pyplot as pltax = plt.subplot(... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(75) 评论(0) 推荐(0) 编辑
摘要:本文转载自斗大的熊猫 简单 Boxplots import matplotlib.pyplot as pltimport numpy... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(46) 评论(0) 推荐(0) 编辑
摘要:本文转载自斗大的熊猫 简单 Boxplots import matplotlib.pyplot as pltimport numpy... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(38) 评论(0) 推荐(0) 编辑
摘要:GitHub有源代码 代码文章 中文翻译 matconvnet 下载matconvert matlab 神经网络 CNN 国外人脸识... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(12) 评论(0) 推荐(0) 编辑
摘要:GitHub有源代码 代码文章 中文翻译 matconvnet 下载matconvert matlab 神经网络 CNN 国外人脸识... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(5) 评论(0) 推荐(0) 编辑
摘要:前面介绍了利用卷积神经网络实现图像风格迁移的算法原理和基于TensroFlow 的代码实现,这篇博客对前面的代码做了一些改变,设置了... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(20) 评论(0) 推荐(0) 编辑
摘要:前面介绍了利用卷积神经网络实现图像风格迁移的算法原理和基于TensroFlow 的代码实现,这篇博客对前面的代码做了一些改变,设置了... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(20) 评论(0) 推荐(0) 编辑
摘要:参考来源: https://github.com/ckmarkoh/neuralart_tensorflow https://g... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(29) 评论(0) 推荐(0) 编辑
摘要:参考来源: https://github.com/ckmarkoh/neuralart_tensorflow https://g... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(16) 评论(0) 推荐(0) 编辑
摘要:首先你要 pip install captcha python 版本 3.5 本文转载自斗大的熊猫 from captcha.i... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(37) 评论(0) 推荐(0) 编辑
摘要:首先你要 pip install captcha python 版本 3.5 本文转载自斗大的熊猫 from captcha.i... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(18) 评论(0) 推荐(0) 编辑
摘要:直接看注释吧,知行合一! # -*- coding: utf-8 -*-"""Created on Tue Mar 21 10:36... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(56) 评论(0) 推荐(0) 编辑
摘要:直接看注释吧,知行合一! # -*- coding: utf-8 -*-"""Created on Tue Mar 21 10:36... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(143) 评论(0) 推荐(0) 编辑
摘要:https://github.com/dennybritz 高中辍学的denny大牛啊,还是读英文吧 http://blog.topspeedsnail.com/page/2 斗大的熊猫 大牛 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(6) 评论(0) 推荐(0) 编辑
摘要:https://github.com/dennybritz 高中辍学的denny大牛啊,还是读英文吧 http://blog.topspeedsnail.com/page/2 斗大的熊猫 大牛 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(12) 评论(0) 推荐(0) 编辑
摘要:subplot 真正含义 在matplotlib模块中经常出现subplot(111),一开始不清楚这句话什么意识 t=arange... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(193) 评论(0) 推荐(0) 编辑
摘要:subplot 真正含义 在matplotlib模块中经常出现subplot(111),一开始不清楚这句话什么意识 t=arange... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(120) 评论(0) 推荐(0) 编辑
摘要:http://www.jianshu.com/p/97857fbe9aa7 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(1) 评论(0) 推荐(0) 编辑
摘要:http://www.jianshu.com/p/97857fbe9aa7 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(3) 评论(0) 推荐(0) 编辑
摘要:去掉 文本中句子开头与结尾的符号的。因为在文本中每行开头都有个"/n",代表换行。(印象中是这样的)一般是 for line in file: line.strip().split() 这样就把每行的每个字符一个个分开,变成一个list。 ... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(142) 评论(0) 推荐(0) 编辑
摘要:去掉 文本中句子开头与结尾的符号的。因为在文本中每行开头都有个"/n",代表换行。(印象中是这样的)一般是 for line in file: line.strip().split() 这样就把每行的每个字符一个个分开,变成一个list。 ... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(23) 评论(0) 推荐(0) 编辑
摘要:一、strip函数原型 声明:s为字符串,rm为要删除的字符序列 s.strip(rm) 删除s字符串中开头、结尾处,位于rm删除序列的字符 s.lstrip(rm) 删除s字符串中开头处,位于 rm删除序列的字符 s.rs... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(259) 评论(0) 推荐(0) 编辑
摘要:一、strip函数原型 声明:s为字符串,rm为要删除的字符序列 s.strip(rm) 删除s字符串中开头、结尾处,位于rm删除序列的字符 s.lstrip(rm) 删除s字符串中开头处,位于 rm删除序列的字符 s.rs... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(112) 评论(0) 推荐(0) 编辑
摘要:一、strip函数原型 声明:s为字符串,rm为要删除的字符序列 s.strip(rm) 删除s字符串中开头、结尾处,位于rm删除序列的字符 s.lstrip(rm) 删除s字符串中开头处,位于 rm删除序列的字符 s.rs... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(151) 评论(0) 推荐(0) 编辑
摘要:一、strip函数原型 声明:s为字符串,rm为要删除的字符序列 s.strip(rm) 删除s字符串中开头、结尾处,位于rm删除序列的字符 s.lstrip(rm) 删除s字符串中开头处,位于 rm删除序列的字符 s.rs... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(40) 评论(0) 推荐(0) 编辑
摘要:http://www.lfd.uci.edu/~gohlke/pythonlibs/ 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(3) 评论(0) 推荐(0) 编辑
摘要:http://www.lfd.uci.edu/~gohlke/pythonlibs/ 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(4) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/rgvb178/p/6055213.html 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(5) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/rgvb178/p/6055213.html 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(3) 评论(0) 推荐(0) 编辑
摘要:Python中的random模块用于随机数生成,对几个random模块中的函数进行简单介绍。如下: random.random() 用于生成一个0到1的随机浮点数。如: import randomrandom.random() 输出: 0.37... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(33) 评论(0) 推荐(0) 编辑
摘要:Python中的random模块用于随机数生成,对几个random模块中的函数进行简单介绍。如下: random.random() 用于生成一个0到1的随机浮点数。如: import randomrandom.random() 输出: 0.37... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(73) 评论(0) 推荐(0) 编辑
摘要:np.random.rand (,) np.random.rand 表示随机数为0-1之间 np.random.rand(100) #1*100的矩阵 # 生成100个0-1之间的随机数 其每个元素为0-1的随机数 #np.random.ran... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(200) 评论(0) 推荐(0) 编辑
摘要:np.random.rand (,) np.random.rand 表示随机数为0-1之间 np.random.rand(100) #1*100的矩阵 # 生成100个0-1之间的随机数 其每个元素为0-1的随机数 #np.random.ran... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(38) 评论(0) 推荐(0) 编辑
摘要:#程序 不是我写的,注释是我做的,转载请注明“lg土木设计”#最小二乘法拟合,用y=ax+b a=weight b=biasesfrom __future__ import print_functionimport tensorflow as tfimpor... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(16) 评论(0) 推荐(0) 编辑
摘要:#程序 不是我写的,注释是我做的,转载请注明“lg土木设计”#最小二乘法拟合,用y=ax+b a=weight b=biasesfrom __future__ import print_functionimport tensorflow as tfimpor... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(12) 评论(0) 推荐(0) 编辑
摘要:转置有两种用法 transepose 和x.T x = np.arange(9).reshape((3,3)) x Out[314]: array([[0, 1, 2], [3, 4, 5], [6, 7, 8]])... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(24) 评论(0) 推荐(0) 编辑
摘要:转置有两种用法 transepose 和x.T x = np.arange(9).reshape((3,3)) x Out[314]: array([[0, 1, 2], [3, 4, 5], [6, 7, 8]])... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(14) 评论(0) 推荐(0) 编辑
摘要:b=list(range(5)) b [0, 1, 2, 3, 4] #列表 区别 a=np.arange(5) a array([0, 1, 2, 3, 4])# 矩阵 生成一个1*24的矩阵,在将她变成2*3*4的数体 c=np.arange(24... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(13) 评论(0) 推荐(0) 编辑
摘要:b=list(range(5)) b [0, 1, 2, 3, 4] #列表 区别 a=np.arange(5) a array([0, 1, 2, 3, 4])# 矩阵 生成一个1*24的矩阵,在将她变成2*3*4的数体 c=np.arange(24... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(13) 评论(0) 推荐(0) 编辑
摘要:import tensorflow as tf#发起会话sess = tf.Session()#两行都可以执行 具体意思见下方注释A = tf.Variable(tf.truncated_normal([2,3],0,1,dtype=tf.float32,se... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(36) 评论(0) 推荐(0) 编辑
摘要:import tensorflow as tf#发起会话sess = tf.Session()#两行都可以执行 具体意思见下方注释A = tf.Variable(tf.truncated_normal([2,3],0,1,dtype=tf.float32,se... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(11) 评论(0) 推荐(0) 编辑
摘要:a=list(range(10)) aOut[22]: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] d = []k... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(72) 评论(0) 推荐(0) 编辑
摘要:a=list(range(10)) aOut[22]: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] d = []k... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(9) 评论(0) 推荐(0) 编辑
摘要:from sklearn import svmX = [[0, 0], [1, 1]]y = [0, 1]#建立支持向量分类模型cl... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(17) 评论(0) 推荐(0) 编辑
摘要:from sklearn import svmX = [[0, 0], [1, 1]]y = [0, 1]#建立支持向量分类模型cl... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(26) 评论(0) 推荐(0) 编辑
摘要:dfc = pd.DataFrame({'A':['aaa','bbb','ccc'],'B':[1,2,3]})dfc.loc[... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(4) 评论(0) 推荐(0) 编辑
摘要:dfc = pd.DataFrame({'A':['aaa','bbb','ccc'],'B':[1,2,3]})dfc.loc[... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(2) 评论(0) 推荐(0) 编辑
摘要:准备go安装包 官网链接 百度云链接解压二进制文件到 /usr/local 目录 sudo tar -xzf go1.8.1.l... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(60) 评论(0) 推荐(0) 编辑
摘要:准备go安装包 官网链接 百度云链接解压二进制文件到 /usr/local 目录 sudo tar -xzf go1.8.1.l... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(109) 评论(0) 推荐(0) 编辑
摘要:可能是tensorflow 采用gpu计算的问题,重启电脑系统出了大问题,登录不上,而且图像特别模糊,折腾了一下午。下面介绍解决方案... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(17) 评论(0) 推荐(0) 编辑
摘要:可能是tensorflow 采用gpu计算的问题,重启电脑系统出了大问题,登录不上,而且图像特别模糊,折腾了一下午。下面介绍解决方案... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(63) 评论(0) 推荐(0) 编辑
摘要:fbprophet 必须安装在Python3.5以上,目前来讲是的 ubuntu16 安装如下: 安装anaconada通过pi... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(42) 评论(0) 推荐(0) 编辑
摘要:fbprophet 必须安装在Python3.5以上,目前来讲是的 ubuntu16 安装如下: 安装anaconada通过pi... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(60) 评论(0) 推荐(0) 编辑
摘要:import pandas as pdimport numpy as npimport matplotlib.pyplot as p... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(60) 评论(0) 推荐(0) 编辑
摘要:import pandas as pdimport numpy as npimport matplotlib.pyplot as p... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(91) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Fri Jan 12 17:21:11 2018@auth... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(30) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Fri Jan 12 17:21:11 2018@auth... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(53) 评论(0) 推荐(0) 编辑
摘要:from matplotlib import pyplot as pltimport numpy as npfrom mpl_too... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(65) 评论(0) 推荐(0) 编辑
摘要:from matplotlib import pyplot as pltimport numpy as npfrom mpl_too... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(113) 评论(0) 推荐(0) 编辑
摘要:矩阵的奇异值分解 import numpy as npaa= np.array([[1, 1], [1, -2], [2, 1]]... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(112) 评论(0) 推荐(0) 编辑
摘要:矩阵的奇异值分解 import numpy as npaa= np.array([[1, 1], [1, -2], [2, 1]]... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(41) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Wed Aug 23 13:36:42 2017@auth... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(53) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Wed Aug 23 13:36:42 2017@auth... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(97) 评论(0) 推荐(0) 编辑
摘要:原文链接 原文 第一步:建立git仓库 cd到你的本地项目根目录下,执行git命令 git init 第二步:将项目的所有文件添加... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(12) 评论(0) 推荐(0) 编辑
摘要:原文链接 原文 第一步:建立git仓库 cd到你的本地项目根目录下,执行git命令 git init 第二步:将项目的所有文件添加... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(14) 评论(0) 推荐(0) 编辑
摘要:最近一直在看 keras 的循环神经网络的lstm层。看了官方的document,和一些小伙伴的文章,一直都没有特别清楚。 今... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(126) 评论(0) 推荐(0) 编辑
摘要:最近一直在看 keras 的循环神经网络的lstm层。看了官方的document,和一些小伙伴的文章,一直都没有特别清楚。 今... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(143) 评论(0) 推荐(0) 编辑
摘要:import xlrdimport xlwtfrom datetime import date,datetimeimport osf... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(26) 评论(0) 推荐(0) 编辑
摘要:import xlrdimport xlwtfrom datetime import date,datetimeimport osf... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(30) 评论(0) 推荐(0) 编辑
摘要:ssh game@192.168.1.42 -p30022123456 下载.tar.gz文件切换到目录下 ./configure ... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(175) 评论(0) 推荐(0) 编辑
摘要:ssh game@192.168.1.42 -p30022123456 下载.tar.gz文件切换到目录下 ./configure ... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(20) 评论(0) 推荐(0) 编辑
摘要:stat.replace_one( {"city":ct,"region":rl,"district_name":lk,"da... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(21) 评论(0) 推荐(0) 编辑
摘要:stat.replace_one( {"city":ct,"region":rl,"district_name":lk,"da... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(31) 评论(0) 推荐(0) 编辑
摘要:import numpy as np import matplotlib.pyplot as plt #x的个数决定了样本量x ... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(159) 评论(0) 推荐(0) 编辑
摘要:import numpy as np import matplotlib.pyplot as plt #x的个数决定了样本量x ... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(94) 评论(0) 推荐(0) 编辑
摘要:import numpyfrom keras.models import Sequentialfrom keras.layers i... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(584) 评论(0) 推荐(0) 编辑
摘要:import numpyfrom keras.models import Sequentialfrom keras.layers i... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(119) 评论(0) 推荐(0) 编辑
摘要:import pandas as pddata = pd.read_table('horseColicTraining.txt')d... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(203) 评论(0) 推荐(0) 编辑
摘要:import pandas as pddata = pd.read_table('horseColicTraining.txt')d... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(42) 评论(0) 推荐(0) 编辑
摘要:import pandas as pdimport numpy as npimport talib as taimport tush... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(36) 评论(0) 推荐(0) 编辑
摘要:import pandas as pdimport numpy as npimport talib as taimport tush... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(25) 评论(0) 推荐(0) 编辑
摘要:1. 安装 anaconda 2. 安装 cuda 先把错配的显卡驱动清理干净 sudo apt-get --purge remov... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(14) 评论(0) 推荐(0) 编辑
摘要:1. 安装 anaconda 2. 安装 cuda 先把错配的显卡驱动清理干净 sudo apt-get --purge remov... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(11) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Wed Dec 20 17:06:40 2017@auth... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(15) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Wed Dec 20 17:06:40 2017@auth... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(18) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Wed Dec 13 18:08:20 2017@auth... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(116) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Wed Dec 13 18:08:20 2017@auth... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(54) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Thu Dec 7 13:10:20 2017@auth... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(84) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Thu Dec 7 13:10:20 2017@auth... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(67) 评论(0) 推荐(0) 编辑
摘要:{weekend:{$gt:new Date(2017,0,31)}} 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(2) 评论(0) 推荐(0) 编辑
摘要:{weekend:{$gt:new Date(2017,0,31)}} 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(3) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Fri Dec 1 18:08:06 2017@auth... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(114) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Fri Dec 1 18:08:06 2017@auth... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(112) 评论(0) 推荐(0) 编辑
摘要:from fangjia import mongoClients as mongoClientsimport timeimport ... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(21) 评论(0) 推荐(0) 编辑
摘要:from fangjia import mongoClients as mongoClientsimport timeimport ... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(11) 评论(0) 推荐(0) 编辑
摘要:信息熵与信息量 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(10) 评论(0) 推荐(0) 编辑
摘要:信息熵与信息量 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(14) 评论(0) 推荐(0) 编辑
摘要:import dateutildef before_month_lastday(ti): today=dateutil.pa... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(638) 评论(0) 推荐(0) 编辑
摘要:import dateutildef before_month_lastday(ti): today=dateutil.pa... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(74) 评论(0) 推荐(0) 编辑
摘要:文章链接 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(4) 评论(0) 推荐(0) 编辑
摘要:文章链接 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(10) 评论(0) 推荐(0) 编辑
摘要:文章链接 知乎 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(6) 评论(0) 推荐(0) 编辑
摘要:文章链接 知乎 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(3) 评论(0) 推荐(0) 编辑
摘要:np.random.rand (,) np.random.rand 表示随机数为0-1之间 np.random.rand(100) ... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(101) 评论(0) 推荐(0) 编辑
摘要:np.random.rand (,) np.random.rand 表示随机数为0-1之间 np.random.rand(100) ... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(32) 评论(0) 推荐(0) 编辑
摘要:class fuc: def multi(self,x): return x*x def greet(se... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(14) 评论(0) 推荐(0) 编辑
摘要:class fuc: def multi(self,x): return x*x def greet(se... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(11) 评论(0) 推荐(0) 编辑
摘要:import timetime.strftime('%Y%m%d')import datetimenow_time = dateti... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(33) 评论(0) 推荐(0) 编辑
摘要:import timetime.strftime('%Y%m%d')import datetimenow_time = dateti... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(25) 评论(0) 推荐(0) 编辑
摘要:{ rent_avg_price: { "$type": 2}} 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(2) 评论(0) 推荐(0) 编辑
摘要:{ rent_avg_price: { "$type": 2}} 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(8) 评论(0) 推荐(0) 编辑
摘要:import pandas as pdimport numpy as npts1 = [0, 1, np.nan, np.nan, ... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(61) 评论(0) 推荐(0) 编辑
摘要:import pandas as pdimport numpy as npts1 = [0, 1, np.nan, np.nan, ... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(249) 评论(0) 推荐(0) 编辑
摘要:download apt-get install -fsudo dpkg -i sogoupinyin_2.2.0.0102_amd... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(25) 评论(0) 推荐(0) 编辑
摘要:download apt-get install -fsudo dpkg -i sogoupinyin_2.2.0.0102_amd... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(16) 评论(0) 推荐(0) 编辑
摘要:import mathfrom pyspark import SparkConf,SparkContext#from pyspark... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(39) 评论(0) 推荐(0) 编辑
摘要:import mathfrom pyspark import SparkConf,SparkContext#from pyspark... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(21) 评论(0) 推荐(0) 编辑
摘要:studio-3t下载 3t在linux 下安装非常方便,直接解压即可! 运行:在bin文件夹下打开terminal ./s... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(66) 评论(0) 推荐(0) 编辑
摘要:studio-3t下载 3t在linux 下安装非常方便,直接解压即可! 运行:在bin文件夹下打开terminal ./s... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(62) 评论(0) 推荐(0) 编辑
摘要:只需要在pyspark文件里做出如下修改就行: # Default to standard python interpreter u... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(15) 评论(0) 推荐(0) 编辑
摘要:只需要在pyspark文件里做出如下修改就行: # Default to standard python interpreter u... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(5) 评论(0) 推荐(0) 编辑
摘要:最终成的配置方法如下:1.安装好JDK SPARK并设置环境变量。2.安装号spyder3.启动spyder在 tools ==> ... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(72) 评论(0) 推荐(0) 编辑
摘要:最终成的配置方法如下:1.安装好JDK SPARK并设置环境变量。2.安装号spyder3.启动spyder在 tools ==> ... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(60) 评论(0) 推荐(0) 编辑
摘要:import matplotlib.pyplot as pltimport numpy as np#潘海东,2014/1/13x =... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(33) 评论(0) 推荐(0) 编辑
摘要:import matplotlib.pyplot as pltimport numpy as np#潘海东,2014/1/13x =... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(27) 评论(0) 推荐(0) 编辑
摘要:import rea='Beautiful, is; better*than\nugly'x= re.split(',|; |\*|... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(8) 评论(0) 推荐(0) 编辑
摘要:import rea='Beautiful, is; better*than\nugly'x= re.split(',|; |\*|... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(14) 评论(0) 推荐(0) 编辑
摘要:map list(map(str,range(10)))Out[1]: ['0', '1', '2', '3', '4', '5'... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(13) 评论(0) 推荐(0) 编辑
摘要:map list(map(str,range(10)))Out[1]: ['0', '1', '2', '3', '4', '5'... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(14) 评论(0) 推荐(0) 编辑
摘要:from collections import Countera=[1,2,3,3,3,3,3,5,6,7,7,7,8,8]Coun... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(20) 评论(0) 推荐(0) 编辑
摘要:from collections import Countera=[1,2,3,3,3,3,3,5,6,7,7,7,8,8]Coun... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(18) 评论(0) 推荐(0) 编辑
摘要:import pymongoclient = pymongo.MongoClient('192.168.0.136',27017) ... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(170) 评论(0) 推荐(0) 编辑
摘要:import pymongoclient = pymongo.MongoClient('192.168.0.136',27017) ... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(130) 评论(0) 推荐(0) 编辑
摘要:为什么 用pp 做并行计算 答:“简单” """Created on Thu Oct 19 11:11:45 2017@autho... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(77) 评论(0) 推荐(0) 编辑
摘要:为什么 用pp 做并行计算 答:“简单” """Created on Thu Oct 19 11:11:45 2017@autho... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(65) 评论(0) 推荐(0) 编辑
摘要:interval=stats.t.interval(a,b,mean,std) t分布的置信区 间 a:置信水平 b:检验量的自由度... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(54) 评论(0) 推荐(0) 编辑
摘要:interval=stats.t.interval(a,b,mean,std) t分布的置信区 间 a:置信水平 b:检验量的自由度... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(56) 评论(0) 推荐(0) 编辑
摘要:import pymongofrom pymongo import MongoClientimport numpy as npimp... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(48) 评论(0) 推荐(0) 编辑
摘要:import pymongofrom pymongo import MongoClientimport numpy as npimp... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(67) 评论(0) 推荐(0) 编辑
摘要:import matplotlib.pyplot as plt#概率分布直方图 #高斯分布 #均值为0 mean = 100 ... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(99) 评论(0) 推荐(0) 编辑
摘要:import matplotlib.pyplot as plt#概率分布直方图 #高斯分布 #均值为0 mean = 100 ... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(55) 评论(0) 推荐(0) 编辑
摘要:a=['a','b','c'] b=[1,2,3] for i in c: print(i)('a', 1)('b', 2)... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(9) 评论(0) 推荐(0) 编辑
摘要:a=['a','b','c'] b=[1,2,3] for i in c: print(i)('a', 1)('b', 2)... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(15) 评论(0) 推荐(0) 编辑
摘要:所谓稳定匹配算法,就是如果男人想出轨,美女女对他没有一点点性趣,并且爱他的女人比老婆丑十万八千里 反之女人亦然。 用... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(110) 评论(0) 推荐(0) 编辑
摘要:所谓稳定匹配算法,就是如果男人想出轨,美女女对他没有一点点性趣,并且爱他的女人比老婆丑十万八千里 反之女人亦然。 用... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(118) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Wed Sep 20 10:51:47 2017@auth... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(13) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Wed Sep 20 10:51:47 2017@auth... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(16) 评论(0) 推荐(0) 编辑
摘要:文章链接 import numpy as npx=np.random.random(10)y=np.random.random(10... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(89) 评论(0) 推荐(0) 编辑
摘要:文章链接 import numpy as npx=np.random.random(10)y=np.random.random(10... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(47) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Thu Aug 24 15:14:07 2017@auth... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(15) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-"""Created on Thu Aug 24 15:14:07 2017@auth... 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(16) 评论(0) 推荐(0) 编辑
摘要:LSTM 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(3) 评论(0) 推荐(0) 编辑
摘要:LSTM 阅读全文
posted @ 2022-08-19 22:59 luoganttcc 阅读(5) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示