1、读shapefile文件主要读以下内容,包括spatialRef投影信息,layerDefn图层定义信息,geomType几何对象类型,fieldDefn字段定义信息。geomlist是得到了每一个feature的geometryRef后转为Wkt形式表示的坐标点位,reclist通过name属 ...
分类:
编程语言 时间:
2019-09-30 09:43:43
阅读次数:
110
function copyArticle() { const range = document.createRange(); range.selectNode(document.getElementById('content')); const selection = window.getSelec ...
分类:
Web程序 时间:
2019-09-29 13:01:28
阅读次数:
135
CountVectorizer方法进行特征提取 from sklearn.feature.extraction.text import CountVectorizer 这个方法根据分词进行数量统计继续文本分类 文本特征提取 作用:对文本进行特征值化 sklearn.feature_extractio ...
分类:
其他好文 时间:
2019-09-26 00:42:39
阅读次数:
508
get merge no ff和git merge区别 可以保存你之前的分支历史。能够更好的查看 merge历史,以及branch 状态。 则不会显示 feature,只保留单条分支记录。 git fetch和git pull的区别 =`git fetch git merge` ...
分类:
其他好文 时间:
2019-09-23 15:06:25
阅读次数:
75
### 泰坦尼克号海难生存人员预测 # 导入需要的库 import pandas as pd from sklearn.tree import DecisionTreeClassifier from sklearn.model_selection import train_test_split fr... ...
分类:
编程语言 时间:
2019-09-22 21:43:20
阅读次数:
123
文档地址:https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.train_test_split.html#sklearn.model_selection.train_test_split ...
分类:
其他好文 时间:
2019-09-22 11:11:40
阅读次数:
111
Given an array of integers, sort the elements in the array in ascending order. The selection sort algorithm should be used to solve this problem. Exam ...
分类:
其他好文 时间:
2019-09-22 10:56:30
阅读次数:
67
import pandas as pd import jieba from sklearn.feature_extraction.text import CountVectorizer import numpy as np from sklearn.naive_bayes import Multin... ...
分类:
其他好文 时间:
2019-09-20 21:24:15
阅读次数:
70
选择排序 //基本思想:选择排序(Selection sort)是一种简单直观的排序算法。 //它的工作原理:首先在未排序序列中找到最小(大)元素,存放到排序序列的起始位置, //然后,再从剩余未排序元素中继续寻找最小(大)元素, //然后放到已排序序列的末尾。以此类推,直到所有元素均排序完毕 ht ...
分类:
编程语言 时间:
2019-09-18 19:19:55
阅读次数:
149
3.1 Cucumber标签 实际工作中,我们的自动化用例库可能会变得非常庞大。如果只是按照先前的方式去执行,则每一次都会执行全部用例,真实使用时这是不现实的。 Cucumber给我们提供一种用标签来组织自动化用例的办法,通过分别在feature和scenario级别上定义一个或多个标签,然后再在r ...
分类:
编程语言 时间:
2019-09-18 11:13:15
阅读次数:
100