• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






天生自然

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

随笔分类 -  吴裕雄--天生自然数据可视化学习笔记

1 2 下一页

 
吴裕雄--天生自然python学习笔记:python用 Bokeh 模块绘制我国 GDP 数据统计图
摘要:现在我们把我国 1990 年到 2017 年的 GDP 数据抓取出 来,井用 Bokeh 绘 出散点统计图 。 由网页爬取所需数据,并用 Bokeh 绘制散点图 。 import requests #导入网页内容抓取包 import matplotlib.pyplot as plt #导入绘图模块, 阅读全文
posted @ 2019-12-12 13:36 吴裕雄 阅读(664) 评论(0) 推荐(0)
吴裕雄--天生自然python学习笔记:python的Bokeh 基本绘图
摘要:使用 Bokeh 绘图时,其大部分绘图功能是由 bokeh plotting 完成的,所以我们一 般至少要导入自gure 及 show 这两个函数 : Bokeh 绘制的图形是在浏览器中显示的, 创建一个网页作为图形区域,语法为: 例如:创建一个宽 800 像素、 高 400 像素的绘图区,并把绘图 阅读全文
posted @ 2019-12-12 13:10 吴裕雄 阅读(700) 评论(0) 推荐(0)
吴裕雄--天生自然python学习笔记:Matplotlib 基本绘图
摘要:使用 Matplotlib 组件绘图时,经常要与 Numpy 组件搭配使用 。 使用 Matplotlib 绘图首先要导入 Matplotlib 组件 , 由于大部分绘图功能是在 matplotlib . pyplot 中 ,所 以通常会在导入 matplotlib . pyplot 时设置一个简短 阅读全文
posted @ 2019-12-12 11:39 吴裕雄 阅读(297) 评论(0) 推荐(0)
吴裕雄--天生自然 PYTHON语言数据分析:ESA的火星快车操作数据集分析
摘要:import os import numpy as np import pandas as pd from datetime import datetime import matplotlib import matplotlib.pyplot as plt import seaborn as sns sns.set_style('white') %matplotlib inline %lo... 阅读全文
posted @ 2019-07-28 12:10 吴裕雄 阅读(415) 评论(0) 推荐(0)
吴裕雄--天生自然 python语言数据分析:开普勒系外行星搜索结果分析
摘要:import pandas as pd pd.DataFrame({'Yes': [50, 21], 'No': [131, 2]}) pd.DataFrame({'Bob': ['I liked it.', 'It was awful.'], 'Sue': ['Pretty good.', 'Bland.']}) pd.DataFrame({'Bob': ['I like... 阅读全文
posted @ 2019-07-28 11:46 吴裕雄 阅读(379) 评论(0) 推荐(0)
吴裕雄--天生自然 R语言数据分析:火箭发射的地点、日期/时间和结果分析
摘要:dfS = read.csv("F:\\kaggleDataSet\\spacex-missions\\database.csv") library(dplyr) library(tidyr) library(data.table) library(sqldf) library(highcharter) library(ggrepel) library(leaflet) library(v... 阅读全文
posted @ 2019-07-28 11:05 吴裕雄 阅读(351) 评论(0) 推荐(0)
吴裕雄--天生自然 PYTHON数据分析:基于Keras的CNN分析太空深处寻找系外行星数据
摘要:#We import libraries for linear algebra, graphs, and evaluation of results import numpy as np import matplotlib.pyplot as plt from sklearn.linear_model import LinearRegression from sklearn.preproces... 阅读全文
posted @ 2019-07-28 10:29 吴裕雄 阅读(353) 评论(0) 推荐(0)
吴裕雄--天生自然 PYTHON数据分析:钦奈水资源管理分析
摘要:df = pd.read_csv("F:\\kaggleDataSet\\chennai-water\\chennai_reservoir_levels.csv") df["Date"] = pd.to_datetime(df["Date"], format='%d-%m-%Y') df.head() import datetime def scatter_plot(cnt_srs, ... 阅读全文
posted @ 2019-07-27 16:03 吴裕雄 阅读(419) 评论(0) 推荐(0)
吴裕雄--天生自然 PYTHON数据分析:医疗数据分析
摘要:import numpy as np # linear algebra import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv) # plotly import chart_studio.plotly as py from plotly.offline import init_notebook_mode, i... 阅读全文
posted @ 2019-07-27 15:23 吴裕雄 阅读(1117) 评论(0) 推荐(0)
吴裕雄--天生自然 PYTHON数据分析:人类发展报告——HDI, GDI,健康,全球人口数据数据分析
摘要:import pandas as pd # Data analysis import numpy as np #Data analysis import seaborn as sns # Data visualization import matplotlib.pyplot as plt # Data Visualization import matplotlib.gridspec as... 阅读全文
posted @ 2019-07-24 19:02 吴裕雄 阅读(858) 评论(1) 推荐(0)
吴裕雄--天生自然 python数据分析:医疗费数据分析
摘要:import numpy as np import pandas as pd import os import matplotlib.pyplot as pl import seaborn as sns import warnings warnings.filterwarnings('ignore') data = pd.read_csv('F:\\kaggleDataSet\\Medic... 阅读全文
posted @ 2019-07-24 17:10 吴裕雄 阅读(801) 评论(0) 推荐(0)
吴裕雄--天生自然 PYTHON数据分析:糖尿病视网膜病变数据分析(完整版)
摘要:# This Python 3 environment comes with many helpful analytics libraries installed # It is defined by the kaggle/python docker image: https://github.com/kaggle/docker-python # For example, here's sev... 阅读全文
posted @ 2019-07-24 16:11 吴裕雄 阅读(1145) 评论(0) 推荐(0)
吴裕雄--天生自然 PYTHON数据分析:糖尿病视网膜病变数据分析(续六)
摘要:from albumentations import * import time IMG_SIZE = (224,224) '''Use case from https://www.kaggle.com/alexanderliao/image-augmentation-demo-with-albumentation/''' def albaugment(aug0, img): ret... 阅读全文
posted @ 2019-07-24 15:51 吴裕雄 阅读(613) 评论(0) 推荐(0)
吴裕雄--天生自然 PYTHON数据分析:糖尿病视网膜病变数据分析(续五)
摘要:from keras import layers from keras.models import Model import keras.backend as K K.clear_session() densenet = DenseNet121(weights=None,include_top=False,input_shape=(None,None,3)) GAP_layer = l... 阅读全文
posted @ 2019-07-24 15:34 吴裕雄 阅读(527) 评论(0) 推荐(0)
吴裕雄--天生自然 PYTHON数据分析:糖尿病视网膜病变数据分析(续四)
摘要:dpi = 80 #inch path_jpg=f"F:\\kaggleDataSet\\diabeticRetinopathy\\resized_train_cropped\\18017_left.jpeg" # too many vessels? path_png=f"F:\\kaggleDataSet\\diabeticRetinopathy\\rescaled_train_896\\1... 阅读全文
posted @ 2019-07-24 14:58 吴裕雄 阅读(425) 评论(0) 推荐(0)
吴裕雄--天生自然 PYTHON数据分析:糖尿病视网膜病变数据分析(续二)
摘要:def circle_crop(img, sigmaX=10): """ Create circular crop around image centre """ img = cv2.imread(img) img = crop_image_from_gray(img) img = cv2.cvtColor(img, ... 阅读全文
posted @ 2019-07-24 14:14 吴裕雄 阅读(431) 评论(0) 推荐(0)
吴裕雄--天生自然 PYTHON数据分析:糖尿病视网膜病变数据分析(续一)
摘要:%%time fig = plt.figure(figsize=(25, 16)) for class_id in sorted(train_y.unique()): for i, (idx, row) in enumerate(df_train.loc[df_train['diagnosis'] == class_id].sample(5, random_state=SEED).ite... 阅读全文
posted @ 2019-07-24 14:03 吴裕雄 阅读(577) 评论(0) 推荐(0)
吴裕雄--天生自然 PYTHON数据分析:糖尿病视网膜病变数据分析
摘要:# This Python 3 environment comes with many helpful analytics libraries installed # It is defined by the kaggle/python docker image: https://github.com/kaggle/docker-python # For example, here's seve... 阅读全文
posted @ 2019-07-24 13:54 吴裕雄 阅读(759) 评论(0) 推荐(0)
吴裕雄--天生自然 R数据分析:2014年美国人时间使用调查(ATUS)饮食与健康模块文件分析
摘要:# libraries we'll need library(car) # for avplots library(tidyverse) # for general utility functions # read in our data bmi_data % filter(erbmi > 0) # remove rows where the reported BMI is les... 阅读全文
posted @ 2019-07-24 10:17 吴裕雄 阅读(406) 评论(0) 推荐(0)
吴裕雄--天生自然 PYTHON数据分析:所有美国股票和etf的历史日价格和成交量分析
摘要:# This Python 3 environment comes with many helpful analytics libraries installed # It is defined by the kaggle/python docker image: https://github.com/kaggle/docker-python # For example, here's sev... 阅读全文
posted @ 2019-07-24 09:36 吴裕雄 阅读(802) 评论(0) 推荐(0)
 

1 2 下一页