使用遗传算法的模式预测 [英] Pattern prediction using Genetic Algorithm

查看:87
本文介绍了使用遗传算法的模式预测的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是遗传算法的新手.我正在尝试预测规则的出现方式.例如,我有一组定义如下的规则.

I am a newbie to Genetic Algorithm. I am trying to predict the pattern of occurrences of rules. For example, I have a set of rules defined as below.

规则1 规则2 规则3, 规则4 规则5 规则6,

Rule 1, Rule 2, Rule 3, Rule 4, Rule 5, Rule 6,

对于给定的日期,我只能使用规则2,规则3和规则6.所以我将这些数据表示为如下所述的字符串

For a given date, I could have only Rule 2, Rule 3 and Rule 6 are used. So I would represent this data as a string as stated below

0 1 1 0 0 1

0 1 1 0 0 1

其中1表示已使用该规则,0表示该规则在当天从未使用.

where 1 denotes that the rule is used and 0 denotes that the rule never get used on that day.

所以我要设置如下5天的数据

So I would have set of data for 5 days as below

011001, 100010, 110011, 101010, 111100,

011001, 100010, 110011, 101010, 111100,

我想在这里实现的是预测第6天的数据.我一直在阅读有关遗传算法和反向传播方法的信息.由于缺乏对这些概念的了解,我无法用GA或BP来描述我的问题.

What I would like to achieve here is to predict the the 6th day data. I have been reading about Genetic Algorithm and Back propagation method to achieve this. I am failed to map my problem with GA or BP due to lack of understanding about those concepts.

如果有人能为我指出正确的方向,以帮助我用GA或BP绘制问题图,我将不胜感激.非常感谢您的帮助.

I would appreciate if someone could point me to the right direction to help me to map my problem with either GA or BP. Any help is much appreciated.

推荐答案

规则的出现纯粹是 随机

The occurrences of rules are purely random

在那种情况下,恐怕无法预测它们!

In that case there's no way to predict them I am afraid!

如果上述内容不准确(规则发生并非纯粹是随机的),您是否有一套培训课程?它有多大?您应该在这里不仅仅是GA来研究模式识别技术.

In case the above is not accurate (rule occurrence is not purely random), do you have a training set? How big is it? You should be looking at pattern recognition techniques here more than GAs.

例如,循环网络似乎很适合您的问题.看看本文,他们可以预测二进制时间序列而不是二进制时间序列字符串,但尽可能接近!

For example recurrent networks seem to be a good fit for your problem. Have a look at this paper, they predict binary time series instead of binary strings but its as close as it gets!

想到的另一种方法可能是以类似于在

Another approach that comes to mind could be to combine neural networks + GAs in a fashion similar to the way they're doing it on this paper here for financial prediction.

但是我想您无论哪种方式都需要更大的培训,而您必须根据情况进行调整.

But I am guessing you need a much bigger training set either way, and you'll have to adapt it to your case.

当心:这不是一件容易的事!

Beware: this is not a trivial task!

这篇关于使用遗传算法的模式预测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆