自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

SWY's Workshop

To arms and to the death!

  • 博客(8)
  • 资源 (11)
  • 收藏
  • 关注

原创 graphviz 报错:FileNotFoundError: [WinError 2] 系统找不到指定的文件。

graphviz 报错:FileNotFoundError: [WinError 2] 系统找不到指定的文件。如题。使用graphviz可视化决策树,报如图错误:虽然graphviz可执行文件已经添加到系统变量PATH了,还是这样解决方法:在代码中加入:import osos.environ["PATH"] += os.pathsep + 'xxx'xxx是你机器上graphviz的bin文件夹的路径。据说重启电脑及IDE也可以解决问题,但我没试。...

2021-01-31 11:28:26 1400 4

原创 2019.11.35

2019.11.35def train(net, train_iter, loss, epochs, lr): trainer = torch.optim.Adam(net.parameters(), lr) for epoch in range(epochs): for X, y in train_iter: trainer.zero_grad() l = loss(net(X), y) l.back

2021-01-22 21:33:31 65060 1

原创 2019.11.34

2019.11.34import java.util.Scanner;public class book { public static void main(String[] args) { int sum=0; for(int i=0;i<args.length;i++) sum+=Integer.parseInt(args[i]); System.out.println("The sum is "+sum)

2021-01-21 23:06:42 9474

原创 2019.11.33

2019.11.33Before applyingKalman filtering, the false positives for the case of falls were60% of the total classified instances, and after applying Kalmanfiltering were minimized to 33%, respectively. For annotationpurposes, the three movement types we

2021-01-21 23:01:12 7746 1

原创 2019.11.32

2019.11.32b4 = nn.Sequential(Inception(480, 192, (96, 208), (16, 48), 64), Inception(512, 160, (112, 224), (24, 64), 64), Inception(512, 128, (128, 256), (24, 64), 64), Inception(512, 112, (144, 288

2021-01-21 15:37:27 7274

原创 2019.11.31

2019.11.31from d2l import torch as d2limport torchfrom torch import nndef vgg_block(num_convs, in_channels, out_channels): layers = [] for _ in range(num_convs): layers.append(nn.Conv2d(in_channels, out_channels,

2021-01-21 10:47:29 11835

原创 2019.11.30

2019.11.30from d2l import torch as d2limport torchfrom torch import nnclass Reshape(torch.nn.Module): def forward(self, x): return x.view(-1, 1, 28, 28)net = torch.nn.Sequential( Reshape(), nn.Conv2d(1, 6, kernel_size=5, padding=

2021-01-20 20:57:16 8486

原创 2019.11.29

2019.11.29def corr2d_multi_in_out_1x1(X, K): c_i, h, w = X.shape c_o = K.shape[0] X = X.reshape((c_i, h * w)) K = K.reshape((c_o, c_i)) Y = torch.matmul(K, X) # Matrix multiplication in the fully-connected layer

2021-01-20 11:44:38 4635 1

莎士比亚戏剧单词表,保存为txt格式

莎士比亚戏剧单词表,保存为txt格式,与我的NLP博文配合使用。

2023-03-20

莎士比亚戏剧数据集各角色台词

莎士比亚戏剧数据集,第五、第六列分别为角色的名字以及他们的台词。与我的NLP系列博文配合使用。

2023-03-20

NLP 文本情感数据集-训练集

与我的NLP博文配套食用

2023-03-16

NLP 文本情感数据集-测试集

与我的NLP博文配套食用

2023-03-16

Frogs_MFCCs.csv

青蛙MFCC数据集

2020-05-11

train_set.csv

银行数据集,包括id,y,loan,housing,duration,pdays等标签

2020-05-10

arcanist.zip

这是Phabricator配套的Code Review工具,需要配合本地clt使用. 其提供了一个differential(code review)命令行工具Arcanist(arc)。

2020-05-04

php源代码,目前最新版

PHP即“超文本预处理器”,是一种通用开源脚本语言。PHP是在服务器端执行的脚本语言,与C语言类似,是常用的网站编程语言。PHP独特的语法混合了C、Java、Perl以及 PHP 自创的语法。利于学习,使用广泛,主要适用于Web开发领域。

2020-05-03

dafny-2.3.0.10506-x64-win.zip

dafny语言源代码 dafny 一种微软推出的编程语言用于程序正确性验证。是一种新型的语言。 (dafny one kind of Microsoft' s programming language for program correctness verification. Is a new language.)

2020-05-03

hsqldb-lib.zip

hsqldb可能需要的额外jar包 Additional Jar files needed for hsqldb.

2020-02-16

hsqldb-2.5.0.zip

开源数据库hsqldb最新版本2.5.0,含源代码及bin文件 Open-sourced database hsqldb2.5.0, including source code and bin file(stuctured in form of .BAT)

2020-02-15

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除