摘要: # 代码11-5 def page199(i): #自定义统计函数 j = i[['fullURL','pageTitle']][(i['fullURLId'].str.contains('199')) & (i['fullURL'].str.contains('\?'))] j['pageTitl 阅读全文
posted @ 2023-04-02 21:04 必杀技welllee 阅读(29) 评论(0) 推荐(0)
摘要: #10-1 import pandas as pd import matplotlib.pyplot as plt inputfile ='original_data.xls' data = pd.read_excel(inputfile) lv_non = pd.value_counts(data 阅读全文
posted @ 2023-03-26 19:47 必杀技welllee 阅读(34) 评论(0) 推荐(0)
摘要: from numpy import * def loadDataSet(): return [['a', 'c', 'e'], ['b', 'd'], ['b', 'c'], ['a', 'b', 'c', 'd'], ['a', 'b'], ['b', 'c'], ['a', 'b'], ['a' 阅读全文
posted @ 2023-03-19 21:58 必杀技welllee 阅读(28) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-03-12 21:53 必杀技welllee 阅读(14) 评论(0) 推荐(0)
摘要: GM21 plt.title('3109') GM21的财政收入2016年预测 阅读全文
posted @ 2023-03-05 20:18 必杀技welllee 阅读(28) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-02-26 17:49 必杀技welllee 阅读(34) 评论(0) 推荐(0)
摘要: BP神经网络import numpy as np import matplotlib.pyplot as plt #避免中文乱码 plt.rcParams['font.sans-serif'] = 'SimHei' plt.rcParams['axes.unicode_minus'] = False 阅读全文
posted @ 2022-05-16 19:16 必杀技welllee 阅读(50) 评论(0) 推荐(0)
摘要: # TensorFlow and tf.keras import tensorflow as tf from tensorflow import keras # Helper libraries import numpy as np import matplotlib.pyplot as plt p 阅读全文
posted @ 2022-05-16 18:09 必杀技welllee 阅读(34) 评论(0) 推荐(0)
摘要: import tensorflow as tf from tensorflow import keras from tensorflow.keras import layers, regularizers import numpy as np import os import cv2 import 阅读全文
posted @ 2022-05-16 18:06 必杀技welllee 阅读(57) 评论(0) 推荐(0)
摘要: def kanchai(name, age, gender): print("%s,%s岁,%s,上山去砍柴" % (name, age, gender)) def qudongbei(name, age, gender): print("%s,%s岁,%s,开车去东北" % (name, age, 阅读全文
posted @ 2021-12-14 14:22 必杀技welllee 阅读(34) 评论(0) 推荐(0)