自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Oracle常用函数

create or replace function get_request_code return varchar2 AS -- 函数的作用:自动生成单号 v_mca_no mcode_apply.mca_no%TYPE; -- 新建一个形参v_mca_no,是以mcode_apply表中的mca_no字段的类型相同 CURSOR get_max_mca_no IS -- get_max_mca_no 游标 SELECT max(substr(mca_no, 11, 3)) --

2020-07-28 11:20:03 137

原创 HIVE shell命令

Hive命令行语法结构hive [-hiveconf x=y]* [<-i filename>]* [<-f filename>|<-e query-string>] [-S]说明:1、 -i 从文件初始化HQL。2、 -e从命令行执行指定的HQL3、 -f 执行HQL脚本4、 -v 输出执行的HQL语句到控制台5、 -p connect to Hive Server on port number6、 -hiveconf x=y Use this to

2020-07-23 17:07:19 251

原创 HIVE常用命令

show databases; # 查看某个数据库use 数据库; # 进入某个数据库show tables; # 展示所有表desc 表名; # 显示表结构show partitions 表名; # 显示表名的分区show create table_name; # 显示创建表的结构# 建表语句# 内部表use xxdb; create table xxx;# 创建一个表,结构与其他一样create table xxx like xxx;#

2020-07-23 17:04:10 118

原创 关于Python中 auto_arima的安装问题

pip install pmdarimafrom pmdarima.arima import auto_arima

2020-07-17 15:58:34 1741

原创 LSTM时间序列分析--3

import timeimport warningsimport numpy as npfrom numpy import newaxisfrom keras.layers.core import Dense, Activation, Dropoutfrom keras.layers.recurrent import LSTMfrom keras.models import Sequentialimport matplotlib.pyplot as pltwarnings.filterwa

2020-07-14 11:04:48 234

原创 LSTM时间序列分析--2

from keras.layers.core import Dense, Activation, Dropoutfrom keras.layers.recurrent import LSTMfrom keras.models import Sequentialimport lstm, time #helper librariesX_train, y_train, X_test, y_test = lstm.load_data('sp500.csv', 50, True)#Step 2 Build

2020-07-14 11:03:45 229

原创 LSTM时间序列分析 -1

import numpy as npfrom keras.layers.core import Dense, Activation, Dropoutfrom keras.layers.recurrent import LSTMfrom keras.models import Sequentialimport timedef normalise_windows(window_data): # 数据全部除以最开始的数据再减一 normalised_data = [] for windo

2020-07-14 11:02:47 464

空空如也

空空如也

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

TA关注的人

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