- 博客(30)
- 资源 (1)
- 收藏
- 关注
原创 批量操作记录BAT
1.批量获取文件名:(文件名存储在LIST.TXT中)DIR . /B >LIST.TXT2.批量创建文件夹:MD 文件名1MD 文件名2结果预览:3.批量获取文件夹名:dir/ad/s/b>list.txt4.批量添加文件夹到指定目录md 目标文件夹\新文件名emmmmd E:\TCIA\covid-19\Test\A_0000\1_result5.批量修改文件名ren 旧文件名 新文件名emmmren a.txt hhh.txt修改前:
2021-11-15 15:28:49
314
原创 技巧篇 针对Github等网站不能查看的解决办法
(可忽略):“停课不停研”,居家学习的过程中,需要查看一些论文或者源码,可能会碰到一些网站不能查看的问题,经过各种搜查总结了一些方法(刨出去学校vpn可以查看的部分),但是方法的来源在总结的时候已经忘了,欢迎指正,定期修改文章。这一部分是需要修改电脑的hosts文件的:hosts文件位置:C:\Windows\System32\drivers\etc右键打开方式,选择记事本即可。如果!不具备修改权限的话:右键hosts→属性→安全 点击编辑选择users 将修改和写入的对号打上,点击应用→
2020-05-11 11:35:09
2105
原创 新冠肺炎研究进展的几篇论文(四)
“停课不停研”, 论文品读,研一新生考虑不周,欢迎指正。论文地址:https://arxiv.org/abs/2002.05534v1参考优快云文章:https://blog.youkuaiyun.com/l7H9JA4/article/details/105061797ABNORMAL RESPIRATORY PATTERNS CLASSIFIER MAY CONTRIBUTE TO LARGE-S...
2020-05-06 13:15:12
5299
原创 新冠肺炎研究进展的几篇论文(三)
“停课不停研”,论文品读, 研一新生考虑不周,欢迎指正。论文地址:https://arxiv.org/abs/2003.05037v1参考优快云文章:https://blog.youkuaiyun.com/l7H9JA4/article/details/105061797Rapid AI Development Cycle for the Coronavirus (COVID-19) Pandemic...
2020-05-06 13:01:23
2406
原创 新冠肺炎研究进展的几篇论文(二)
“停课不停研",论文品读论文地址:https://pubs.rsna.org/doi/10.1148/radiol.2020200905参考优快云文章:https://blog.youkuaiyun.com/l7H9JA4/article/details/105061797Artificial Intelligence Distinguishes COVID-19 from Community Acq...
2020-05-06 12:45:22
3584
原创 新冠肺炎研究进展的几篇论文(一)
疫情期间,响应“停课不停研”的号召,我们的老师经常会给我们分享一些论文来看。欢迎批评指正。《Well-aerated Lung on Admitting Chest CT to Predict Adverse Outcome in COVID-19 》摘要:目的:确定在基线胸部CT上获得的通气良好的肺的定量对COVID-19肺炎患者预后的价值。方法:采用开放源代码软件(%S-WAL和绝对容...
2020-05-06 12:16:14
6895
2
原创 版本升级篇 tensorflow更新到2.x之后一些语句的变化
在尝试很多小样例的时候遇到版本不匹配的问题,这篇仅作为自己在网上搜到的各种解决办法的一个记录,侵删Tensorflow:版本更新很多都可以通过将import tensorflow as tf 修改为 import tensorflow.compat.v1 as tf 解决如果没有这么改的话,可以根据错误信息,逐个解决AttributeError: module 'tensorflow...
2020-04-22 23:48:32
732
原创 Python 0基础 第七章 面向对象的程序设计
我的课本学习笔记补漏1.functionName:用于指定方法名,一般使用小写字母开头2访问限制:单下划线,双下划线,收尾双下划线(1)首尾双下划线表示定义特殊方法,一般是系统定义名字,如__init()__(2)以单下划线开头的表示protected(保护)类型的成员,只允许类本身和子类型进行访问,但不能使用“from module import *** ”语句导入(3)双下划线表示...
2020-04-19 15:22:31
259
原创 Python 0基础 第六章 函数
1.*parameter这种形式表示接受任意多个实际参数,并将其放到一个元组中def printcoffee(*coffee): print('\n我喜欢的咖啡有: ') for item in coffee: print(item)printcoffee('蓝山')printcoffee('蓝山', '卡布奇诺', '土耳其', '巴西', '哥伦比亚...
2020-04-18 23:20:41
948
原创 Python 0基础 第五章 字符串及正则表达式
我的课本学习笔记1.如采用UTF-8编码,汉字占3个字节;采用GBK或GB2312编码,汉字占2个字节。2.字符串分割str.split(sep, maxsplit)str:要分割的字符串sep:指定分割符,默认为None,即所有的空字符(包括空格,换行‘\t’,制表符‘\t’等)maxsplit:指定分割次数,如果不指定sep不可指定maxsplitstr1 = "今 天 天 气 ...
2020-04-18 15:38:00
236
原创 技巧篇 批量修改文件名
1.批量将文件夹名改成子文件名原文件夹名如下:想要修改成文件夹下面的.svs文件对应的文件名(1)创建一个bat文件右键创建一个记事本txt文件,将后缀名改成bat,如get.bat内部编辑:dir/a/s/b>LIST.TXT将bat文件放在需要修改文件夹名字的路径下,双击运行bat文件,将生成一个名为LIST.TXT的文件,里面包含包括本路径文件名及其子文件名的所有文件...
2020-04-17 22:21:16
2997
原创 Python 0基础 第四章 序列的应用
我的课本学习笔记1.生成指定范围的数值列表list = [Expression for var in range]import randomrandom_number = [random.randint(10, 100) for i in range(10)]print(random_number)输出:[20, 28, 12, 76, 12, 97, 49, 43, 14, 1...
2020-04-17 19:42:08
162
原创 Python 0基础 第三章 流程控制语句
我的课本学习笔记1.if:如果只有一条语句,那么语句块可以直接写到冒号“:”后,但是建议不要这么做。if a > b : max = aif a > b : # 更棒哦 max = aif flag: # 表示为真if not flag:# 表示为假# 而不要用if flag == True:if flag == False:2.range:ran...
2020-04-16 22:55:38
296
原创 Python 0基础 第二章 python语言基础
我的课本学习笔记1.拼接字符串,“+”前后需要都转成字符串的格式,“,”则不需要money_all = 56.75 + 72.91 + 88.50 + 26.37 + 68.51 # 累加总计金额money_all_str = str(money_all) # 转换为字符串print("商品总金额为:" + money_all_str)print("商品总...
2020-04-16 20:18:36
219
原创 sklearn shuffle 与 random_state 差别
仅对个人学习过程的疑问进行记录,以下均为拙见,欢迎指正。shuffle–分割之前是否对数据进行洗牌(默认True)random_state–随机种子 当种子固定时,可以实现实验复现,方便调节参数只有当shuffle=True时,random_state才起作用。几个例子:1)shuffle和random_state均不设置,即默认为shuffle=True,重新分配前会重新洗牌,则两次运...
2020-03-29 19:50:24
5470
2
原创 莫烦 Python Pandas
我的视频学习笔记pandas 基础# 如果numpy是一个列表 那么pandas更像是一个字典 字典化的numpyimport pandas as pdimport numpy as nps = pd.Series([1, 3, 6, np.nan, 44, 1]) # np.nan = NaN = null = none# 0 1.0# 1 3.0# 2 ...
2020-03-15 19:58:22
239
原创 莫烦 Python Numpy
我的视频学习笔记Numpy的属性import numpy as nparray = np.array([[1, 2, 3], [2, 3, 4]])print(array)print('Number of dim : ', array.ndim) # 2维数组print('Shape of array : ', array.shape) # shape是2×3的...
2020-03-13 19:19:36
212
原创 莫烦 Python 基础 Set&正则表达
Setchar_list = ['a', 'b', 'c', 'c', 'd', 'd', 'd'] # 通过set可以去除掉不同的东西sentence = 'Welcome Back to This Tutorial'print(set(char_list)) # {'b', 'd', 'c', 'a'}print(type(set(char_list))) # <class...
2020-03-13 15:49:20
461
原创 莫烦 Python 基础 其他语句
continuewhile True: b = input('type something: ') if b == '1': continue # 直接跳过后面的while语句 重新开始while循环 else: pass print('still in while')print('finish run')输出:type s...
2020-03-13 14:02:24
112
原创 莫烦 Python 基础 元组 list
我的视频学习笔记Tuple List# tuple list 可以用来被迭代一个一个的输出,运用,定位字典里任意一个位置a_tuple = (12, 3, 5, 15, 6)another_tuple = 2, 4, 6, 7, 8 # 这也是元组的一种表示方式a_list = [12, 3, 67, 7, 82]for content in a_list: print(...
2020-03-12 21:16:55
98
原创 莫烦 Python 基础 函数
我的视频学习笔记定义函数 def 带参数def function(a, b): print('this is a function') c = a * b print('the c is :', c)function(1, 6)function(a=2, b=5)输出:this is a functionthe c is : 6this is a func...
2020-03-12 15:26:00
165
原创 莫烦 Python 基础 循环 条件判断
for循环:rangerange(start, stop[, step]) 左闭右开原则for i in range(1, 9, 2): print(i)输出结果为:1357
2020-03-12 14:37:00
134
原创 莫烦 爬虫 下载图片
我的视频学习笔记视频地址:https://www.bilibili.com/video/av17920849?p=9讲解地址:https://morvanzhou.github.io/tutorials/data-manipulation/scraping/3-03-practice-download-image/from bs4 import BeautifulSoupfrom urll...
2020-03-10 16:18:30
119
原创 莫烦 爬虫 百度百科
我的视频学习笔记视频地址:https://www.bilibili.com/video/av17920849?p=6源代码:https://morvanzhou.github.io/tutorials/data-manipulation/scraping/2-04-practice-baidu-baike/import reimport randomfrom urllib.request...
2020-03-09 20:41:39
199
原创 莫烦 pytorch GAN
我的视频学习笔记视频地址:https://www.bilibili.com/video/av15997678?p=29源地址:https://github.com/MorvanZhou/PyTorch-Tutorial/blob/master/tutorial-contents/406_GAN.pyimport torchimport matplotlib.pyplot as pltim...
2020-03-09 15:31:38
482
2
原创 莫烦 pytorch 自编码 AutoEncoder
我的视频学习记录视频原址:https://www.bilibili.com/video/av15997678?p=25源代码:https://github.com/MorvanZhou/PyTorch-Tutorial/blob/master/tutorial-contents/404_autoencoder.pyimport torchimport torchvisionimport ...
2020-03-08 15:15:58
563
原创 莫烦 pytorch RNN 回归
我的视频学习笔记视频地址:https://www.bilibili.com/video/av15997678?p=23import torchfrom torch import nnimport numpy as npimport torchvision.datasets as dsetsimport torchvision.transforms as transformsimpor...
2020-03-08 14:01:26
285
原创 莫烦 pytorch RNN 分类
我的视频学习笔记视频链接:https://www.bilibili.com/video/av15997678?p=22import torchfrom torch import nnimport torchvision.datasets as dsetsimport torchvision.transforms as transformsimport matplotlib.pyplot...
2020-03-07 20:59:58
235
原创 莫烦 pytorch CNN
记录我的视频学习生活原地址:https://morvanzhou.github.io/tutorials/machine-learning/torch/4-01-CNN/遇到的问题:1.EOFError: Compressed file ended before the end-of-stream marker was reached找到下载目的下的文件,删除重新下2.UserWar...
2020-03-07 19:31:58
2717
1
原创 莫烦 pytorch Optimizer优化器 学习笔记
import torchimport torch.utils.data as Dataimport torch.nn.functional as F # 为了实现非线性化功能import matplotlib.pyplot as plt # 画图LR = 0.01BATCH_SIZE = 32EPOCH = 12x = torch.unsqueeze(torch.linspace...
2020-03-07 14:04:43
264
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人