今天做等频离散化实验时出现错误吗,代码如下: col20 =df.loc[:,['col20']] #提取特征col20的数据 col20 col20_ = pd.qcut(col20,5) #对其进行等频离散化 col20_ 报错信息: Input array must be 1 dimensio ...
分类:
其他好文 时间:
2020-10-12 20:38:53
阅读次数:
49
设备像素比(devicePixelRatio,dpr) 定义 window.devicePixelRatio是设备物理像素和设备独立像素(device-independent pixels,dips)之间的比率。window.devicePixelRatio = 物理像素/ 设备独立像素 设备物理像 ...
分类:
其他好文 时间:
2020-08-26 18:33:41
阅读次数:
82
2.图像方面Numpy数组相关操作 In [1]: import cv2 as cv import numpy as np #图片颜色反转 def access_pixels(img): print(img.shape) height=img.shape[0] width=img.shape[1] ...
分类:
编程语言 时间:
2020-07-26 01:42:23
阅读次数:
88
[HTML 浏览器支持所有主流浏览器都支持 marginwidth 属性。定义和用法 HTML5 不支持 marginwidth 属性。请使用 CSS 代替。marginwidth 属性规定 内容的左侧和右侧的空白边距,以像素计。语法 属性值值描述pixels规定 内容的左侧和右侧的空白边距,以像素... ...
分类:
Web程序 时间:
2020-07-12 10:34:45
阅读次数:
95
You are given a map in form of a two-dimensional integer grid where 1 represents land and 0 represents water. Grid cells are connected horizontally/ve ...
分类:
其他好文 时间:
2020-07-08 09:14:32
阅读次数:
54
1.准备工作 npm引入sdk及 strophe.js(坑:刚开始下载的最新版的sdk,但是下载下来总是少文件src,挣扎半天,换了1.8.3版本的sdk好了,可能跟我项目的哪些东西的版本有不兼容的吧) (1)cnpm i easemob-websdk@1.8.3 --save (2)cnpm i ...
分类:
Web程序 时间:
2020-06-22 12:57:42
阅读次数:
46
ppi:pixels perinch,每英寸像素数,但是将PPI称为DPI已变得司空见惯 dpi:dots per inch ,每英寸点数,单位 DPI ,打印分辨率 因为是英寸,希望更换成公制单位,例如:dpcm dp:device-independent pixel(density-indepe ...
分类:
其他好文 时间:
2020-06-17 12:28:17
阅读次数:
72
地图构建两篇顶级论文解析 一.基于声纳的密集水下场景重建 标题:Dense, Sonar-based Reconstruction of Underwater Scenes 作者:Pedro V. Teixeira, Dehann Fourie, Michael Kaess, and John J. ...
分类:
其他好文 时间:
2020-06-07 19:28:51
阅读次数:
119
package test; import javax.swing.*; import java.awt.*; /** * @Author: 张学涛 * @Date: 2020-05-25 11:08 * @Version 1.0 */ public class SimpTest { public s ...
分类:
编程语言 时间:
2020-05-25 16:13:50
阅读次数:
96
The convolution of normal distribution is also a normal distribution, even in high dimensional cases. ...
分类:
其他好文 时间:
2020-05-08 13:25:54
阅读次数:
58