• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
鱼市口
博客园    首页    新随笔    联系   管理    订阅  订阅

随笔分类 -  data-python

ARIMA

摘要:ARIMA(p,d,q) forecasting equation: ARIMA models are, in theory, the most general class of models for forecasting a time series which can be made to be 阅读全文
posted @ 2023-10-04 15:42 鱼市口 阅读(112) 评论(0) 推荐(0)
Python Class Recap -2 tricky problems

摘要:Test cases as below:$ python3 >>> from quiz_8 import * >>> Point() ... quiz_8.PointError: Need two coordinates, point not created. >>> Point(0) ... qu 阅读全文
posted @ 2023-09-18 00:51 鱼市口 阅读(91) 评论(0) 推荐(0)
python coding感想,持续更新

摘要:发觉很多python coding不怎么用,很多基本结构有所生疏。近期会持续把常用的数据结构用python搞一搞,会更新: d = {} res = '' for i in range(11): d[i] = chr(i) for i in range(11): key = list(d.keys( 阅读全文
posted @ 2023-09-15 01:34 鱼市口 阅读(73) 评论(0) 推荐(0)
Random python summary

摘要: 阅读全文
posted @ 2022-09-01 00:46 鱼市口 阅读(18) 评论(0) 推荐(0)
Word Vectors/Attention - hands on after lecture

摘要:1. Write the co-occurrence matrix {\rm X}X for this sentence, using a 4-word context window (i.e. two context words on either side of the central word 阅读全文
posted @ 2022-07-17 14:24 鱼市口 阅读(50) 评论(0) 推荐(0)
缺失数据清洗

摘要:数据缺失分为两种:一是行记录的缺失;二是列值的缺失。 不同的数据存储和环境中对于缺失值的表示不同,例如数据库中是Null、Python返回对象是None、Pandas或Numpy中是NaN。 #导入相关库import pandas as pd import numpy as np #random d 阅读全文
posted @ 2022-07-13 20:25 鱼市口 阅读(185) 评论(1) 推荐(0)
plt.legend ax.legend

摘要:#显示图例# box = ax.get_position()# ax.set_position([box.x0, box.y0, box.width*0.8 , box.height]) #若是将图例画在坐标外边,如果放在右边,一般要给width*0.8左右的值,在上边,要给height*0.8左右 阅读全文
posted @ 2022-07-03 04:47 鱼市口 阅读(159) 评论(0) 推荐(0)

博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3