自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 决策树-西瓜

在这里插入图片描述

2021-10-26 23:00:03 117

原创 图卷积神经网络

import paddleimport paddle.nn.functional as Ffrom paddle.vision.transforms import ToTensorimport numpy as npimport matplotlib.pyplot as plttransform = ToTensor()cifar10_train = paddle.vision.datasets.Cifar10(mode=‘train’,transform=transform)cifar10_

2021-10-16 00:15:23 162

原创 神经网络推导公式

2021-09-17 21:42:58 120

原创 感知器(作业)

from __future__ import print_functionfrom functools import reduceclass VectorOp(object): def dot(x, y): # 计算两个向量x和y的内积,然后利用reduce求和 return reduce(lambda a, b: a + b, VectorOp.element_multiply(x, y), 0.0) def element_multiply(x, .

2021-09-10 21:17:15 161

原创 (作业)监督学习

import numpy as npx = np.array([[2,3],[4,6],[7,8],[12,15]])t = np.array([5,8,14,17])alpha = 0.1theta0 = np.random.random()theta1 = np.random.random()theta2 = np.random.random()theta = np.array([theta0,theta1,theta2])td0 = 100td1 = 100td2 = 100

2021-09-03 22:33:15 113

原创 (作业)numpy简单操作

垂直拆分:numpy.vsplit(数组,份数)->(数组片段)import numpy as npcarray([[ 1, 2], [ 3, 4], [ 5, 6], [ 7, 8], [ 9, 10], [11, 12]]) c = np.arange(1,13).reshape(6,2)np.vsplit(c,3)[array([[1, 2], [3, 4]]), array([

2021-09-03 22:20:32 197

空空如也

空空如也

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

TA关注的人

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