21Winter 大一上
文章平均质量分 69
大一上做的东西
Bealliant
AHU-无人机图像识别
展开
-
21Winter\ 使用全连接层对MINIST进行多分类
Pytorch中的Dataset和DataLoader\ MINIST数据集实战原创 2021-12-23 16:08:30 · 1740 阅读 · 0 评论 -
21Winter\ C语言\ 第五章
C语言程序设计 第五章作业ex2.1#include<stdio.h>int main(){ int *var, ab; ab = 100; var = &ab; ab = *var + 10; printf("%d",*var); return 0;}通过定义变量ab之后,定义一个”int”型指针”var”使之指向ab,通过改动指针的内容来改动变量之中的内容。ex2.5#include<stdio.h>int main(原创 2021-12-23 13:20:09 · 458 阅读 · 0 评论 -
21Winter\ C语言\第五章 上机报告
C语言程序设计 第五章 上机报告expr1#include<stdio.h>int main(){ char string[]="I am a girl."; printf("%s\n",string); printf("%c,%c\n",string[5],*(string+7)); return 0;}expr1 变式1#include<stdio.h>int main(){ Char string[]="I am a原创 2021-12-23 13:15:25 · 124 阅读 · 0 评论 -
21Winter\ C语言\ 函数上机报告
函数部分的几道经典例题的上机报告原创 2021-12-23 13:08:41 · 701 阅读 · 0 评论 -
21Winter\ C语言程序设计第六章
C语言程序设计作业原创 2021-12-23 12:55:15 · 498 阅读 · 0 评论 -
21Winter\ 使用torch.nn 模块进行线性回归
使用了torch.nn之中最为基础的方法进行了一个线性回归。原创 2021-12-20 20:45:34 · 1020 阅读 · 0 评论 -
21Fall\ Machine Learning Transforms
import numpyimport osfrom torch.utils.data import Datasetfrom PIL import Imageclass Mydata(Dataset): def __init__(self,root_dir,label_dir): self.root_dir = root_dir self.label_dir= label_dir self . path = os.pat...原创 2021-12-17 14:19:28 · 405 阅读 · 0 评论 -
21Fall\ 单变量线性回归
Notes taken inthe course Machine Learning by Andrew Ng.intuition about Gradient Descent: How the algorithm works & why the updating step makes senseto know how the formula works, again we reduce the original problem to a simplified proble...原创 2021-12-17 14:14:34 · 73 阅读 · 0 评论 -
21Fall\ 机器学习 概论
# Supervised Learning or Unsupervised Learning?Notes of the course Machine Learning by Andrew Ng.Supervised Learning Algorithmexample of supervised learning(1)a data of house prices, horizontal axis is the square of the house and the vertical原创 2021-12-17 14:10:01 · 103 阅读 · 0 评论 -
21Winter\ #Pytorch .grad实现神经网络
底层方法来构建神经网络。使用的是吴恩达网课里面的一个Binary Classification的数据集。在logistic 函数里面用了两个Hidden Layer,然后调用它来mean-square error 函数。初始化optimizer,进行梯度下降,然后保存数据。原创 2021-12-17 14:00:01 · 714 阅读 · 0 评论