常用库: Chardet 字符编码探测器,可以自动检测文本、网页、xml的编码。 colorama 主要用来给文本添加各种颜色,并且非常简单易用。 Prettytable 主要用于在终端或浏览器端构建格式化的输出。 difflib,[Python]标准库,计算文本差异Levenshtein,快速计算 ...
分类:
编程语言 时间:
2020-06-03 15:25:32
阅读次数:
89
import pandas as pd import numpy as np from sklearn import preprocessing from sklearn.neighbors import KNeighborsRegressor df = pd.read_csv("./titanic ...
分类:
其他好文 时间:
2020-06-02 21:42:11
阅读次数:
99
1333. Filter Restaurants by Vegan-Friendly, Price and Distance 这道题做的过程中,由于语法不熟悉,花费了大量时间,需要掌握comparator自定义写法。 本题可以 1.用HashMap来存过滤后的数据,然后用自定义的比较器,在list中 ...
分类:
编程语言 时间:
2020-05-31 22:00:15
阅读次数:
79
* [下载区] * 1 local ply = LocalPlayer() 2 3 local aimbotcvar = CreateClientConVar( "psilent_aimbot", 1, true, false ) 4 local crosshaircvar = CreateClie ...
分类:
其他好文 时间:
2020-05-31 15:47:29
阅读次数:
120
给出下面的一个基类框架: class Point_1D { protected: float x;//1D 点的x坐标 public: Point_1D(float p = 0.0); float distance(const Point_1D & p2); } 以Point_1D为基类建立一个派生 ...
分类:
编程语言 时间:
2020-05-30 22:01:17
阅读次数:
84
给出下面的一个基类框架: class Point_1D { protected: float x;//1D 点的x坐标 public: Point_1D(float p = 0.0); float distance( );//计算当前点到原点的距离 } 以Point_1D为基类建立一个派生类Poin ...
分类:
编程语言 时间:
2020-05-30 21:52:23
阅读次数:
175
相机跟随的几种方式 1. 单纯的相机固定跟随 相机保持与目标对象一定的相对距离,跟随目标对象发生移动 将脚本挂载到指定的 Camera 上,并给 Target 字段赋值一个跟随的目标对象 1 using System.Collections; 2 using System.Collections.G ...
分类:
编程语言 时间:
2020-05-22 19:20:37
阅读次数:
60
BUAA_OO_2020_UNIT3_Summary ? 本单元在阅读并理解JML规格的基础上,完成一个简单社交网络系统的迭代开发,该系统为实时在线系统,输入给出指令,需要及时给出正确的输出。训练重点为对规格的理解,数据结构和算法的选择,程序复杂度和时间的控制。 一、JML理论基础与应用工具链梳理 ...
分类:
其他好文 时间:
2020-05-22 17:20:50
阅读次数:
42
In graph theory, a caterpillar or caterpillar tree is a tree in which all the vertices are within distance 1 of a central path. The central path can b ...
分类:
其他好文 时间:
2020-05-15 18:05:19
阅读次数:
77
Week 2 3.5.2020 Overview This week, we have mainly learned two parts: 1. How to match the same feature points in two images from different viewpoints. ...
分类:
其他好文 时间:
2020-05-12 00:03:20
阅读次数:
112