一、Reading My girlfriend and I are going to get married this year. We are going to have a big wedding party. All our friends and relatives are going to ...
分类:
其他好文 时间:
2020-07-29 10:36:23
阅读次数:
74
Motivation The task of finding nearest neighbours is very common. You can think of applications like finding duplicate or similar documents, audio/vid ...
分类:
其他好文 时间:
2020-07-29 10:07:50
阅读次数:
68
首先打开Elasticsearch官网了解对应编程语言的API https://www.elastic.co/guide/en/elasticsearch/client/index.html 点击 PHP API即可查看当前7.X版本的文档内容了 安装操作Elasticsearch的PHP库 我们使 ...
分类:
Web程序 时间:
2020-07-29 00:39:56
阅读次数:
226
之前很少使用这样的一个对象BigDecimal,今天在改需求的时候遇到了,结果坑爹的怎么相加最后都为零。 代码如下: BigDecimal totalAmount = new BigDecimal(0); totalAmount.add(new BigDecimal(5000)); System.o ...
分类:
编程语言 时间:
2020-07-28 22:28:18
阅读次数:
174
1、说一下Python的数据类型有几种? 答:有六种,分别为, Number(数字) String(字符串) List(列表) Tuple(元组) Set(集合) Dictionary(字典) 2、Pandas关于空值的处理 参考下面的链接 https://www.cnblogs.com/louyi ...
分类:
编程语言 时间:
2020-07-28 22:06:18
阅读次数:
68
转自:https://www.cnblogs.com/chaosimple/p/4153167.html 一、标准化(Z-Score),或者去除均值和方差缩放 公式为:(X-mean)/std 计算时对每个属性/每列分别进行。 将数据按期属性(按列进行)减去其均值,并处以其方差。得到的结果是,对于每 ...
分类:
其他好文 时间:
2020-07-28 17:09:32
阅读次数:
72
Leetcode.283 Move Zeroes Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero e ...
分类:
编程语言 时间:
2020-07-28 14:38:35
阅读次数:
91
Given two words word1 and word2, find the minimum number of steps required to make word1 and word2 the same, where in each step you can delete one cha ...
分类:
其他好文 时间:
2020-07-28 14:04:15
阅读次数:
77
硬件条件:Thinkpad P52 + SAMSUNG 1T M.2新硬盘 Step1:安装ubuntu Bugs: 首先需要disable security boot! Magic Number void!(找个新优盘,装ubuntu) 安装过程到选择硬盘空间时卡死(不支持P1000显卡驱动,在b ...
分类:
系统相关 时间:
2020-07-28 10:08:38
阅读次数:
109
Additive Number Additive number is a string whose digits can form additive sequence. A valid additive sequence should contain at least three numbers. ...
分类:
其他好文 时间:
2020-07-27 17:46:30
阅读次数:
60