上一页 1 2 3 4 5 6 ··· 29 下一页
摘要: matlab求微分方程 clear syms w(t) a b h c d; eqn=diff(w,1)==a*(1-b*w)*w-h*w; y=dsolve(eqn); y=simplify(y) 阅读全文
posted @ 2022-10-08 23:54 kuanleung 阅读(7) 评论(0) 推荐(0)
摘要: 文本分析 前沿不必多提,谁发明的也不做介绍了,发展历史也不关注。看本文的必定是有此需求的,说一句,看本文最好有娴熟的编程经验,本文不介绍代码,只介绍思想。想看代码的请直接移步到文末。 文本分析,就是对文本数据进行分析,量化一句话,一段文字,一首歌曲的歌词,一篇电影评论。一段文字必定表达一个思想,这个 阅读全文
posted @ 2022-09-09 21:08 kuanleung 阅读(50) 评论(0) 推荐(0)
摘要: excel格式 #数据爬取 import requests from fake_useragent import UserAgent import pandas as pd #import xlrd import numpy as np from urllib.parse import quote 阅读全文
posted @ 2022-09-07 17:15 kuanleung 阅读(69) 评论(0) 推荐(0)
摘要: 模拟器连接 先打开USB调试 ,则意味着PC的adb 版本和模拟器的adb 版本不匹配,处理方法为: 1、将模拟器的nox_adb.exe路径添加至环境变量中; 2、将PC的adb.exe复制后更名为nox_adb.exe,将模拟器bin目录下的nox_adb.exe替换; 再次尝试如图: 作者:A 阅读全文
posted @ 2022-09-06 10:52 kuanleung 阅读(71) 评论(0) 推荐(0)
摘要: 连接手机: https://blog.csdn.net/weixin_55807798/article/details/126402578 双击设备版本,进入开发者模式,打开USB调试,连接电脑 获取设备名:deviceName https://cloud.tencent.com/developer 阅读全文
posted @ 2022-09-06 00:37 kuanleung 阅读(58) 评论(0) 推荐(0)
摘要: import torch import torch.nn as nn import torch.autograd as autograd from torch import optim def prepare_sequence(seq,to_ix): idxs = [to_ix[w] for w i 阅读全文
posted @ 2022-08-29 17:24 kuanleung 阅读(9) 评论(0) 推荐(0)
摘要: import torch import torch.nn as nn import torchvision.datasets as dsets import torchvision.transforms as transforms from torch.autograd import Variabl 阅读全文
posted @ 2022-08-27 21:55 kuanleung 阅读(26) 评论(0) 推荐(0)
摘要: import torch m = torch.nn.BatchNorm1d(10) m = torch.nn.BatchNorm1d(10,affine=False) input = torch.autograd.Variable(torch.randn(20,10)) output = m(inp 阅读全文
posted @ 2022-08-27 14:58 kuanleung 阅读(38) 评论(0) 推荐(0)
摘要: import torch import torch.utils.data as Data import torch.nn.functional as F from torch.autograd import Variable import matplotlib.pyplot as plt impor 阅读全文
posted @ 2022-08-26 20:46 kuanleung 阅读(31) 评论(0) 推荐(0)
摘要: 根据课程手写代码,归纳总结笔记 #导入包 import torch import matplotlib.pyplot as plt import torch.nn.functional as F from sklearn.datasets import load_iris from torch.au 阅读全文
posted @ 2022-08-22 15:24 kuanleung 阅读(16) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 29 下一页