当前位置:网站首页>【回归预测-CNN预测】基于卷积神经网络CNN实现数据回归预测附matlab代码
【回归预测-CNN预测】基于卷积神经网络CNN实现数据回归预测附matlab代码
2022-07-30 20:14:00 【matlab_dingdang】
1 内容介绍
电力系统的安全稳定运行与国民经济的发展及社会人身财产安全息息相关.准确的短期负荷预测结果是电网指导电力系统制定发电计划,协调机组运行,调度负荷分配及制定检修计划的重要依据.随着智能电网的发展及越来越多的分布式电源的接入,影响短期负荷预测结果的因素更加复杂,使负荷呈现更强的非线性,这种严峻的环境也对短期负荷预测的准确度和适应性提出了更高的要求.电力系统的负荷由于数据量庞大,受众多因素影响等使其具有随机性,非线性,时序性等特点.卷积神经网络(Convolutional Neural Networks,CNN)能够深入挖掘信息的多重特点并从中获得有用的特征描述,是一种准确高效的特征提取方法.本文结合负荷序列的特点,使用CNN来对电力系统短期负荷进行预测。


2 仿真代码
function X_aug = image_augmentation(Xdata,aug_params)%Randomly augment images slice-by-slice between given ranges, optionally add Gaussian noise:X_aug = zeros(size(Xdata));imageAugmenter = imageDataAugmenter( ...'RandRotation',aug_params.rot, ...'RandXTranslation',aug_params.trans_x, ...'RandYTranslation',aug_params.trans_y, ...'RandXReflection', aug_params.refl_x, ...'RandYReflection', aug_params.refl_y, ...'RandScale', aug_params.scale, ...'RandXShear', aug_params.shear_x, ...'RandYShear', aug_params.shear_y);for i = 1:size(Xdata,4)Xtrain_single = Xdata(:,:,:,i);Xtrain_single_aug = augment(imageAugmenter,Xtrain_single);if aug_params.add_gauss_noise == 1Xtrain_single_aug = imnoise(Xtrain_single_aug,'gaussian',0,aug_params.gauss_noise_var);endX_aug(:,:,:,i) = Xtrain_single_aug;end
3 运行结果


4 参考文献
[1]闫康. 基于卷积神经网络和灰色模型的轴承健康评估及预测研究.
博主简介:擅长智能优化算法、神经网络预测、信号处理、元胞自动机、图像处理、路径规划、无人机等多种领域的Matlab仿真,相关matlab代码问题可私信交流。
部分理论引用网络文献,若有侵权联系博主删除。
边栏推荐
猜你喜欢
随机推荐
ELK日志分析系统
Swift简介
vookloop函数怎么用?vlookup函数的使用方法介绍
OSS简单上传图片
基于人脸的常见表情识别(1)——深度学习基础知识
jOOQ是如何设计事务API(详细指南)
MySQL的 DDL和DML和DQL的基本语法
是对称矩阵的对角化
JUnit 5测试中的临时目录(附实例及代码)
Multi-threaded mutex application RAII mechanism
树形结构:二叉树的递归非递归遍历、BST
MySQL sub-database sub-table
[Ask] SQL statement to calculate the sum of column 2 by deduplicating column 1?
Recommendation system: evaluation index [offline evaluation index: RMSE (root mean square error), AUC, precision, recall, F1] [online evaluation: A/B test] [generally required response time <0.5s]
vlookup函数匹配不出来只显示公式的解决方法
Mac安装PHP开发环境
idea plugins搜索不到插件
MySQL performance optimization (hardware, system configuration, table structure, SQL statements)
These services can't ali interview?Then don't go to, the basic notification, etc
Difference Between Concurrency and Parallelism









