摘要: 安装 Anaconda 打开 Anaconda Prompt(CMD,PowerShell 等均可) 执行如下命令,先进入该目录, D: 然后再启动 jupyter notebook jupyter notebook 阅读全文
posted @ 2021-04-16 09:22 xinkevinzhang 阅读(2031) 评论(0) 推荐(0)
摘要: 在用深度学习做自然语言学习的时候NLP,必须用到Levenshtein计算编辑距离 编辑距离:又称Levenshtein距离,是指两个字串之间,由一个转成另一个所需的最少的编辑操作次数。编辑操作包括将一个字符替换成另一个字符,插入一个字符,删除一个字符。一般来说,编辑距离越小,两个串的相似度越大。 阅读全文
posted @ 2021-04-16 09:10 xinkevinzhang 阅读(1245) 评论(0) 推荐(0)
摘要: 在Anaconda中导入cv2,使用OpenCV会出现“No module named cv2”的错误 当时正在使用Anaconda中的jupyter, 处理方法 直接在Anaconda Prompt中输入命令: pip install opencv-python 阅读全文
posted @ 2021-04-16 09:07 xinkevinzhang 阅读(533) 评论(0) 推荐(0)
摘要: The Gudhi library is an open source library for Computational Topology and Topological Data Analysis (TDA). It offers state-of-the-art algorithms to c 阅读全文
posted @ 2021-01-31 10:00 xinkevinzhang 阅读(1241) 评论(0) 推荐(0)
摘要: https://github.com/exacity/deeplearningbook-chinese 阅读全文
posted @ 2021-01-25 12:11 xinkevinzhang 阅读(374) 评论(0) 推荐(0)
摘要: conda install graphviz python-graphviz pip install hiddenlayer import torch import torchvision.models import hiddenlayer as hl VGG16 with BatchNorm mo 阅读全文
posted @ 2021-01-24 17:33 xinkevinzhang 阅读(337) 评论(0) 推荐(0)
摘要: torchvision是pytorch的一个图形库,它服务于PyTorch深度学习框架的,主要用来构建计算机视觉模型。torchvision.transforms主要是用于常见的一些图形变换。以下是torchvision的构成: torchvision.datasets: 一些加载数据的函数及常用的 阅读全文
posted @ 2021-01-24 15:51 xinkevinzhang 阅读(4833) 评论(0) 推荐(0)
摘要: https://ww2.mathworks.cn/help/matlab/ref/matlab.io.datastore.filedatastore.html 阅读全文
posted @ 2021-01-18 19:11 xinkevinzhang 阅读(351) 评论(0) 推荐(0)
摘要: from sklearn import datasets #引入数据集,sklearn包含众多数据集,其中本次用到的是工具箱自带的鸢尾花的数据集from sklearn.model_selection import train_test_split #建立模型前,需要将数据分为测试集和训练集from 阅读全文
posted @ 2021-01-13 12:16 xinkevinzhang 阅读(744) 评论(0) 推荐(0)
摘要: 安装 Anaconda:主页 https://www.anaconda.com/ get started individual edition windows 64-Bit Graphical Installer (457 MB) 安装 Tensorflow 2.0: (这一条不必要)打开anaco 阅读全文
posted @ 2021-01-08 20:13 xinkevinzhang 阅读(223) 评论(0) 推荐(0)