摘要: import pandas as pdimport matplotlib.pyplot as plt inputfile = 'D:\\人工智能\\sjwj\\original_data.xls' # 输入的数据文件data = pd.read_excel(inputfile) # 读取数据 # 查 阅读全文
posted @ 2023-03-29 16:06 hhhhht 阅读(53) 评论(0) 推荐(0)
摘要: import numpy as np import pandas as pdinputfile = 'C:\\Users\\Administrator\\Desktop\\data\\GoodsOrder.csv'data = pd.read_csv(inputfile,encoding='gbk' 阅读全文
posted @ 2023-03-19 22:31 hhhhht 阅读(16) 评论(0) 推荐(0)
摘要: import pandas as pd datafile= 'D://人工智能//air_data.csv' # 航空原始数据,第一行为属性标签resultfile = 'D://人工智能/tmp/explore.csv' # 数据探索结果表 # 读取原始数据,指定UTF-8编码(需要用文本编辑器将 阅读全文
posted @ 2023-03-12 21:18 hhhhht 阅读(86) 评论(0) 推荐(0)
摘要: import numpy as npimport pandas as pdinputfile = 'C://Users//Administrator//Desktop//data.csv' # 输入的数据文件data = pd.read_csv(inputfile) # 读取数据# 描述性统计分析d 阅读全文
posted @ 2023-03-05 19:27 hhhhht 阅读(25) 评论(0) 推荐(0)
摘要: import pandas as pdimport matplotlib.pyplot as pltimport numpy as np##读取数据url = r"C:\Users\Administrator\Desktop\catering_fish_congee(1).xls"data = pd 阅读全文
posted @ 2023-02-26 17:05 hhhhht 阅读(59) 评论(0) 推荐(0)
摘要: VGG: # 从keras.model中导入model模块,为函数api搭建网络做准备from keras.models import Modelfrom keras.layers import Flatten, Dense, Dropout, MaxPooling2D, Conv2D, Batch 阅读全文
posted @ 2022-05-15 21:24 hhhhht 阅读(57) 评论(0) 推荐(0)
摘要: Tensorflow是什么?TensorFlow是一个用于数值计算的强大开源软件库, 非常适合大型机器学习。 它背后的原理很简单: 首先在Python中定义一个用来计算的图 , 然后TensorFlow就会使用这个图, 并用优化过的C++代码来执行计算。 Tensorflow的优势提供了一个非常简单 阅读全文
posted @ 2022-04-24 21:47 hhhhht 阅读(345) 评论(0) 推荐(0)
摘要: output_nodes = 10 #输出层神经元个数learning_rate = 0.3 #学习率为0.3# 创建神经网络n = NeuralNetwork(input_nodes, hidden_nodes, output_nodes, learning_rate)#%%#读取训练数据集 转化 阅读全文
posted @ 2022-03-18 17:48 hhhhht 阅读(95) 评论(0) 推荐(0)
摘要: 程序1: import wx from python实验2 import classinformation class MyFrame(wx.Frame): def __init__(self,parent,id): wx.Frame.__init__(self,parent,id,title="班 阅读全文
posted @ 2021-12-12 00:01 hhhhht 阅读(45) 评论(0) 推荐(0)
摘要: money_all=56.75+72.91+88.50+26.37+68.51money_all_str=str(money_all)print("商品总金额为:"+money_all_str)money_real=int(money_all)money_real_str=str(money_rea 阅读全文
posted @ 2021-09-14 00:09 hhhhht 阅读(47) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示