自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

原创 21Winter\ 使用全连接层对MINIST进行多分类

Pytorch中的Dataset和DataLoader\ MINIST数据集实战

2021-12-23 16:08:30 1778

原创 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 476

原创 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 141

原创 21Winter\ C语言\ 函数上机报告

函数部分的几道经典例题的上机报告

2021-12-23 13:08:41 725

原创 21Winter\ C语言程序设计第六章

C语言程序设计作业

2021-12-23 12:55:15 527

原创 21Winter\ 使用torch.nn 模块进行线性回归

使用了torch.nn之中最为基础的方法进行了一个线性回归。

2021-12-20 20:45:34 1042

原创 21Fall\ Machine Learning Transforms

import numpy import os from torch.utils.data import Dataset from PIL import Image class 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 418

原创 21Fall\ 单变量线性回归

Notes taken inthe course Machine Learning by Andrew Ng. intuition about Gradient Descent: How the algorithm works & why the updating step makes sense to know how the formula works, again we reduce the original problem to a simplified proble...

2021-12-17 14:14:34 89

原创 21Fall\ 机器学习 概论

# Supervised Learning or Unsupervised Learning? Notes of the course Machine Learning by Andrew Ng. Supervised Learning Algorithm example 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 121

原创 21Summer\ OOP- Object Oriente Programming

对象/ 类/ 实例 && 构造方法 此外,也可以等到创建类对应的实例以后、再动态创建实例的属性 使用类变量时应该要是类.属性//实例.属性 因为类变量的作用域只限定义的这一个模块里面 Python会先查找实例变量然偶再查找对应的类变量 类实例的内置属性 obj.__dict__ 用dict的形式返回对象的属性 obj.__class__ 返回创建实例所用的类名称 类实例的内置方法 ...

2021-12-17 14:06:36 539

原创 21Winter\ #Pytorch .grad实现神经网络

底层方法来构建神经网络。使用的是吴恩达网课里面的一个Binary Classification的数据集。在logistic 函数里面用了两个Hidden Layer,然后调用它来mean-square error 函数。初始化optimizer,进行梯度下降,然后保存数据。

2021-12-17 14:00:01 733

原创 21Summer\Python List\tuple\dict.

List sum = 0 forx in[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]: sum = sum + x print(sum) >>> list(range(5)) [0, 1, 2, 3, 4] 排序操作 sort 函数 >>> a = ['c', 'b', 'a']>>> a.sort()>>> a ['a', 'b', 'c'] list.append(item)...

2021-12-17 13:48:25 657

原创 21Winter\Pytorch学习(1). torch 基本数据类型、索引、切片

Pytorch 切片、索引、基本数据类型

2021-12-17 13:46:06 414

空空如也

空空如也

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

TA关注的人

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