- 博客(11)
- 收藏
- 关注
原创 【C#面向对象程序设计】1-1了解C#程序
了解C#程序1.1 C#程序结构using System; //引用命名空间namespace CSharp_01 //命名空间{ class YourClass //类 { } struct YourStruct //结构 { } interface IYourInterface //接口 { } delegate int YourDelegate(); //委托
2021-01-28 19:10:23 584
原创 C#程序设计题:水仙花数
C#程序设计题:水仙花数设计一个程序,输出所有的水仙花数。所谓水仙花数是一个三位整数,其各位数字的立方和等于该数本身。例如:153=111+555+333 static void Main(string[] args) { int sum = 0, num1, num2,num3; int num = int.Parse(Console.ReadLine()); num1 = num / 100;
2020-11-16 16:08:36 862
原创 keras 卷积网络识别CIFAR-10图像
import tensorflow as tfimport tensorflow.kerasfrom tensorflow.keras.datasets import cifar10import numpy as npfrom tensorflow.keras.utils import to_categoricalnp.random.seed(10)(x_img_train, y_label_train), \(x_img_test, y_label_test) = cifar10.load
2020-11-10 18:09:26 433 3
原创 fashion-mnist
import tensorflow as tfimport tensorflow.kerasfrom tensorflow.keras.datasets import fashion_mnistimport numpy as npimport pandas as pdimport matplotlib.pyplot as pltfrom tensorflow.keras.utils import to_categorical#np.random.seed(10)(train_images,
2020-11-10 17:59:44 151
原创 keras 建立MLP、RNN、LSTM模型进行IMDb情感分析
这是IMDB情感分析,我把三种模型三合一了,要仔细分清import tensorflow as tffrom tensorflow import kerasimport numpy as npimport pandas as pdfrom tensorflow.keras.utils import to_categoricalfrom tensorflow.keras.preprocessing import sequencefrom tensorflow.keras.models impor
2020-11-10 17:14:08 924
原创 keras多层感知器识别手写数字
一、进行数据预处理步骤1:导入所需模块import tensorflow as tfimport tensorflow.kerasimport numpy as npimport pandas as pdfrom tensorflow.keras.utils import to_categoricalnp.random.seed(10)步骤2:读取MNIST数据from tensorflow.keras.datasets import mnist(x_train_image, y_tr
2020-11-10 16:39:57 349
原创 Keras卷积神经网络识别手写数字
一、进行数据预处理步骤1:导入所需模块import tensorflow as tfimport tensorflow.kerasfrom tensorflow.keras.datasets import mnistimport numpy as npimport pandas as pdfrom tensorflow.keras.utils import to_categoricalnp.random.seed(10)步骤2:读取MNIST数据(x_train, y_train),
2020-11-10 15:39:57 343
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人