首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏一棹烟波

    图像变换之Census变换

    图像的Census变换 Census变换属于非参数图像变换的一种,它能够较好地检测出图像中的局部结构特征,如边缘、角点特征等。 传统Census变换的基本思想是:在图像区域定义一个矩形窗口,用这个矩形窗口遍历整幅图像。 Census变换的实质是将图像像素的灰度值编码成二进制码流,以此来获取邻域像素灰度值相对于中心像素灰度值的大小关系。变换过程可通过如下公式表达: ? ?   (a==offsety && b==offsetx))//中心像素不做判断 25 { 26 census = census 如上图所示可以分别得到两幅Census变换后的图像,在立体匹配的计算匹配代价部分可以利用这两幅图像计算图像的匹配程度,通常是计算汉明距离hammingDst。

    2.4K60发布于 2018-01-12
  • 来自专栏CreateAMind

    宇宙熵的新普查A new census of the Universe’s entropy

    A new census of the Universe’s entropy 宇宙熵的新普查 DOI:10.1088/1475-7516/2025/09/049 https://iopscience.iop.org

    8110编辑于 2026-03-11
  • 来自专栏Devops专栏

    InfluxDB关键概念

    =28 > insert census,scientist=perpetua,location=1 butterflies=3,honeybees=28 > insert census,scientist =1,honeybees=10 > insert census,scientist=langstroth,location=2 butterflies=8,honeybees=23 > insert census ,scientist=perpetua,location=2 butterflies=7,honeybees=22 > > select * from census name: census time insert census,butterflies=1,honeybees=30 scientist="perpetua",location=1 insert census,butterflies cpu temperature ## 清空表数据 > delete from census; > > select * from census; > ## 插入数据 > insert census

    77661发布于 2019-06-02
  • 来自专栏Devops专栏

    2. InfluxDB关键概念

    =28 > insert census,scientist=perpetua,location=1 butterflies=3,honeybees=28 > insert census,scientist =1,honeybees=10 > insert census,scientist=langstroth,location=2 butterflies=8,honeybees=23 > insert census " = 1 SELECT * FROM "census" WHERE "honeybees" = 23 执行如下: > SELECT * FROM "census" WHERE "butterflies insert census,butterflies=1,honeybees=30 scientist="perpetua",location=1 insert census,butterflies cpu temperature ## 清空表数据 > delete from census; > > select * from census; > ## 插入数据 > insert census,butterflies

    48410编辑于 2022-01-14
  • 来自专栏GEE数据专栏,GEE学习专栏,GEE错误集等专栏

    Google Earth Engine——街区数据集包含2010年的人口普查街区,最小单位大致相当于一个城市街区。超过1100万个多边形特征,覆盖美国、哥伦比亚特区、波多黎各和岛屿地区。

    The United States Census Bureau regularly releases a geodatabase named TIGER. This dataset contains the 2010 census blocks, roughly equivalent to a city block. Dataset Availability 2010-01-01T00:00:00 - 2010-01-02T00:00:00 Dataset Provider United States Census String Partial block flag pop10 Double Population total as of 2010 census statefp10 String 2010 Census state FIPS code tractce10 String 2010 Census tract code 使用说明: The U.S.

    34410编辑于 2024-02-02
  • 来自专栏Small Code

    【Python】Pandas的apply函数使用示例

    代码 问题1 census_df = pd.read_csv('census.csv') only_county = census_df[census_df['SUMLEV'] == 50] def top(df, n=3, column='CENSUS2010POP'): return df.sort_values(column, ascending=False)[:n]['CENSUS2010POP '].sum() grouped = only_county[['STNAME', 'CTYNAME', 'CENSUS2010POP']].groupby('STNAME').apply(top) 问题2 census_df = pd.read_csv('census.csv') only_county = census_df[census_df['SUMLEV'] == 50] def get_change

    2.6K60发布于 2018-01-02
  • 来自专栏GEE数据专栏,GEE学习专栏,GEE错误集等专栏

    Google Earth Engine——美国邮政编码表数据集区(ZCTA)是美国邮政服务(USPS)5位数邮政编码的近似区域代表

    The Census Bureau defines ZCTAs by allocating each Census block that contains addresses to a single ZIP Land area AWATER10 Double 2010 Census Water area CLASSFP10 String 2010 Census FIPS 55 class code FUNCSTAT10 String 2010 Census functional status (Always "S", for "Statistical entity".) GEOID10 String 2010 Census 5-digit ZIP Code Tabulation Area identifier INTPTLAT10 String 2010 Census ZCTA5CE10 String 2010 Census 5-digit ZIP Code Tabulation Area code 数据使用: The U.S.

    49210编辑于 2024-02-02
  • 来自专栏GEE数据专栏,GEE学习专栏,GEE错误集等专栏

    Google Earth Engine——美国人口普查局定期发布一个名为TIGER的地理数据库。这个表格包含了2010年人口普查的人口概况1的数值,按普查区汇总

    The United States Census Bureau regularly releases a geodatabase named TIGER. This table contains the 2010 census Demographic Profile 1 values aggregated by census tract. Dataset Availability 2010-01-01T00:00:00 - 2010-01-02T00:00:00 Dataset Provider United States Census tract identifier: a concatenation of state FIPS code, county FIPS code, and census tract code intptlat10 Census Bureau offers some of its public data in machine-readable format via an Application Programming

    30310编辑于 2024-02-02
  • 来自专栏生物信息学、python、R、linux

    Shiny学习(五)||使用R脚本和数据

    1.数据准备 建立一个census-app的目录,并在目录下新建data目录存储counties.rds文件,点击下载counties.rds ? #数据读入 counties <- readRDS("Documents/learnfile/shiny/test/census-app/data/counties.rds") head(counties library(maps) library(mapproj) source("census-app/helpers.R") counties <- readRDS("census-app/data/counties.rds 4.建立app.R文件 将以下代码复制并粘贴到您的census-app目录下,新建一个app.R文件 # Load packages ---- library(shiny) library(maps) ") runApp("census-app") ?

    1.3K20发布于 2020-05-26
  • 来自专栏ATYUN订阅号

    在机器学习中处理缺失数据的方法

    import missingno as msno msno.matrix(census_data) ? 缺失数据的可视化 白色的地方表示NA的字段 import pandas as pd census_data.isnull().sum() age 325 workclass import numpy as np census_data = census_data.replace('np.nan', 0) 第二糟糕的方法是用0(或-1)替换。 标准的做法是用最常见的条目替换缺失的条目: census_data['marital.status'].value_counts() Married-civ-spouse 14808 Never-married replace_most_common(x): if pd.isnull(x): return most_common else: return x census_data

    2.6K100发布于 2018-03-06
  • 来自专栏GEE数据专栏,GEE学习专栏,GEE错误集等专栏

    Google Earth Engine——美国人口普查局的TIGER数据集包含美国各州主要法律部门的2018年边界。在大多数州,这些实体被称为 “县“。在路易斯安那州,这些州被称为 “教区“。

    The United States Census Bureau TIGER dataset contains the 2018 boundaries for primary legal divisions Juneau), municipalities, and census areas. The census areas are delineated cooperatively for statistical purposes by the State of Alaska and the Census Bureau. Dataset Availability 2018-01-01T00:00:00 - 2019-01-01T00:00:00 Dataset Provider United States Census

    37910编辑于 2024-02-02
  • 来自专栏GEE数据专栏,GEE学习专栏,GEE错误集等专栏

    Google Earth Engine——美国人口普查局的TIGER数据集包含了2016年发布的所有路段,包含了1900多万条单独的线路特征,覆盖了美国、哥伦比亚特区、波多黎各和岛屿地区

    This United States Census Bureau TIGER dataset contains all road segments from the 2016 release, containing Dataset Availability 2016-01-01T00:00:00 - 2017-01-02T00:00:00 Dataset Provider United States Census used to refer to this row in other TIGER products mtfcc String The road [priority code](https://www.census.gov Census Bureau offers some of its public data in machine-readable format via an Application Programming new data sets, derived products, or services resulting from the data set, users should cite the US Census

    25710编辑于 2024-02-02
  • 来自专栏GEE数据专栏,GEE学习专栏,GEE错误集等专栏

    Google Earth Engine——美国人口普查局的TIGER数据集包含美国主要政府部门的2016年边界。除了50个州之外,人口普查局还将哥伦比亚特区、波多黎各和每个岛屿地区

    The United States Census Bureau TIGER dataset contains the 2016 boundaries for the primary governmental In addition to the fifty states, the Census Bureau treats the District of Columbia, Puerto Rico, and Dataset Availability 2016-01-01T00:00:00 - 2017-01-02T00:00:00 Dataset Provider United States Census Census Bureau offers some of its public data in machine-readable format via an Application Programming new data sets, derived products, or services resulting from the data set, users should cite the US Census

    21410编辑于 2024-02-02
  • 来自专栏火星娃统计

    R海拾遗-shiny3

    需要另外下载 https://shiny.rstudio.com/tutorial/written-tutorial/lesson5/census-app/data/counties.rds 下载后是一个 app文件夹中建立data文件,然后将数据集移动到data中 脚本:help.R: https://shiny.rstudio.com/tutorial/written-tutorial/lesson5/census-app setwd("D:\\360MoveData\\Users\\cmusunqi\\Documents\\GitHub\\R_and_python\\R") counties <- readRDS("census-app /helpers.R") counties <- readRDS("census-app/data/counties.rds") # 各县的数据绘制成地形图。 sidebarPanel( helpText("Create demographic maps with information from the 2010 US Census

    71230发布于 2020-09-15
  • 来自专栏GEE数据专栏,GEE学习专栏,GEE错误集等专栏

    Google Earth Engine——美国人口普查局的TIGER数据集包含美国各州主要法律部门的2016年边界

    The United States Census Bureau TIGER dataset contains the 2016 boundaries for primary legal divisions Juneau), municipalities, and census areas. The census areas are delineated cooperatively for statistical purposes by the State of Alaska and the Census Bureau. Dataset Availability 2016-01-01T00:00:00 - 2017-01-02T00:00:00 Dataset Provider United States Census

    27010编辑于 2024-02-02
  • 来自专栏GEE数据专栏,GEE学习专栏,GEE错误集等专栏

    Google Earth Engine——美国人口普查局的TIGER数据集包含美国主要政府部门的2018年边界。除了50个州之外,人口普查局还将哥伦比亚特区、波多黎各和每个岛屿地区

    The United States Census Bureau TIGER dataset contains the 2018 boundaries for the primary governmental In addition to the fifty states, the Census Bureau treats the District of Columbia, Puerto Rico, and Dataset Availability 2018-01-01T00:00:00 - 2019-01-01T00:00:00 Dataset Provider United States Census Census Bureau offers some of its public data in machine-readable format via an Application Programming new data sets, derived products, or services resulting from the data set, users should cite the US Census

    30110编辑于 2024-02-02
  • 来自专栏NLP/KG

    python处理Excel实现自动化办公教学(含实战)【一】

    #写入py文件 resultFile = open('census2010.py', 'w') #使用 pprint.pformat()函数,将变量字典的值作为一个巨大的字符串, 写入文件 census2010 将countyData输出到文本文件 census2010.py,你就通过 Python 程序生成了一个 Python 程序! 这样做的好处是现在可以导入 census2010.py,就像任何其他 Python 模块一样。 import os import census2010 #查看AK州Anchorage县的人口普查数据 census2010.allData['AK']['Anchorage'] {'pop': #写入py文件 resultFile = open('census2010.py', 'w') #使用 pprint.pformat()函数,将变量字典的值作为一个巨大的字符串, 写入文件 census2010

    1.8K40编辑于 2022-12-21
  • 来自专栏网络收集

    actions自动更新站点统计数据

    javascript source └── census └── index.md //辅助统计页面渲染 └── census.js //处理数据 └──data 新建md和ejs文件 如前结构图所示新建index.md和census.ejs文件。 在index.md中写入如下内容: --- title: census date: 2020-10-31 10:11:28 type: "census" layout: "census" --- 在census.ejs 新建census.js文件 在如前结构图所示新建census.js文件写入如下内容: javascript var metrics = 'pv_count' // 统计访问次数 PV 填写 'pv_count 在站点yml里skip_render:添加跳过渲染项如下: yaml skip_render: - 'census/census.js' - 'census/data/**' 在主题yml里添加导航就不赘叙了

    1K30编辑于 2022-03-20
  • 来自专栏GEE数据专栏,GEE学习专栏,GEE错误集等专栏

    Google Earth Engine ——数据全解析专辑(世界第 4 版网格化人口 (GPWv4) 修订版30 弧秒1公里格网)世界无人区数据集

    Population is distributed to cells using proportional allocation of population from census and administrative data-context Categorizes pixels with estimated zero population based on information provided in the census count and density grids are created. 0 816831 km^2 national-identifier An integer that represents the census data-contextCategorizes pixels with estimated zero population based on information provided in the census Military district, airport zone, or other infrastructure. 203 #060606 Not enumerated or not reported in census

    32810编辑于 2024-02-02
  • 来自专栏Datawhale专栏

    pandas_profiling:一行代码生成你的数据分析报告

    profile = df.profile_report(title="Census Dataset") profile.to_file(output_file=Path(". /census_report.html")) 看看报告效果如何。pandas-profiling EDA报告包括数据整体概览、变量探索、相关性计算、缺失值情况和抽样展示等5个方面。 numpy as np import requests import pandas_profiling if __name__ == "__main__": file_name = Path("census_train.csv , np.nan, regex=True) profile = df.profile_report(title="Census Dataset") profile.to_file(output_file /census_report.html")) 除此之外,pandas_profiling还提供了pycharm配置方法: ?

    2.4K30发布于 2019-08-27
领券