文章 "连接 NeuroSolutions 神经网络" - 页 3

 

我不能说我的速度慢,因为我还没有检查过--但在安装最新的NeuroSolutions 6.05(免费下载,但演示版为http://www.neurosolutions.com/products/ns/)时,我发现neurosolutions并不想看到GPU,而且CUDA也不见了。有谁在neurosolutions使用CUDA方面有过成功经验吗?在 "关于 "菜单中可以看到neurosolutions GPU(CUDA)的使用。


如果没有这些信息,使用该产品似乎毫无意义。


我还搜索了谷歌、neurosolutions.com 网站--他们没有支持论坛。这没有任何意义。我试用了 64 位和 32 位版本。

Neural Network Software, Artificial Intelligence, Classification, Forecasting, Clustering, Time Series
Neural Network Software, Artificial Intelligence, Classification, Forecasting, Clustering, Time Series
  • www.neurosolutions.com
Neural network software development tool of choice among researchers and developers is NeuroSolutions. NeuroSolutions icon-based graphical user interface provides the most powerful and flexible artificial intelligence development environment available on the market today.
 

为什么交易这么少? 我做了文章中提到的所有事情((()

培训开始时的信息是什么?

 
Mr.FreeMan:

为什么交易次数这么少? 我按照文章中的方法做了所有事情(((......)

培训开始时的信息是什么?

交易少可能是因为训练不正确。从 关于 错误的信息中可以猜到原因:NS 将 "0.00529 "作为列名,并声称其中的所有单元格都是一样的。这个数据文件肯定有问题。或者,计算机上的区域设置(使用逗号或点来分隔小数 部分)也可能有影响。
 

这是我的地区设置,我用空格代替了逗号,然后保存了它。

但当我生成 ns 时,却出现了这样的错误:

然后又出现这样的信息:

 
Mr.FreeMan:

这是我的区域设置,我用空格代替了逗号并保存了它。

这里应该是句号,而不是空格。数据文件中使用的是句号。
 
非常感谢,一切正常:)
 

真是一篇好文章!祝贺您

有几个问题

- 为什么你使用 NeuroSolution t 5.0 而不是新的 6.4?

我认为新的自定义 解决方案向导可以生成动态链接库(DLL),可以重新计算数据并找到新的模式!

而且现在已经支持了:

Visual C++ 2008、VB.NET 2008、Visual C++ 2010 和 VB.NET 2010 的新项目外壳

新 Visual Studio 2008 和 2010 支持
适用于 Excel 2007、Access 2007、Excel 2010 和 Access 2010 的新项目外壳。
- 为什么选择函数 Approximation 而不是 prediction?

问候

菲利普

Documentation on MQL5: Standard Constants, Enumerations and Structures / Chart Constants / Types of Chart Events
  • www.mql5.com
Standard Constants, Enumerations and Structures / Chart Constants / Types of Chart Events - Documentation on MQL5
 
感谢您的精彩文章。
 
当我尝试编译一个将数据上传到文件的脚本时
#property script_show_inputs
//+------------------------------------------------------------------+
input string    Export_FileName = "NeuroSolutions\\data.csv"; // 导出文件(在 "MQL5/Files "文件夹中)
input int       Export_Bars     = 260; // 要导出的数据行数
//+------------------------------------------------------------------+
void OnStart() 
  {
  
   // 创建一个文件
   int file = FileOpen(Export_FileName, FILE_WRITE|FILE_CSV|FILE_ANSI, ',');
   
   if (file != INVALID_HANDLE)
     {
      // 写入数据头
      
      string row="";
      for (int i=0; i<=5; i++)
        {
         if (StringLen(row)) row += ",";
         row += "Open"+i+",High"+i+",Low"+i+",Close"+i;
        }
      FileWrite(file, row);
      
      // 从历史记录中复制所有必要数据
      
      MqlRates rates[], rate;
      int count = Export_Bars + 5;
      if (CopyRates(Symbol(), Period(), 1, count, rates) < count)
        {
         Print("错误!历史记录大小不足,无法导出所需数据"。);
         return;
        }
      ArraySetAsSeries(rates, true);
      
      // 让我们写入数据 
      
      for (int bar=0; bar<Export_Bars; bar++)
        {
         row="";
         double zlevel=0;
         for (int i=0; i<=5; i++)
           {
            if (StringLen(row)) row += ",";
            rate = rates[bar+i];
            if (i==0) zlevel = rate.open; // 价格参考水平
            row += NormalizeDouble(rate.open -zlevel, Digits()) + ","
                 + NormalizeDouble(rate.high -zlevel, Digits()) + ","
                 + NormalizeDouble(rate.low  -zlevel, Digits()) + ","
                 + NormalizeDouble(rate.close-zlevel, Digits());
           }
         FileWrite(file, row);
        }

      FileClose(file);
      Print("数据导出成功"。);
     }
   else Print("错误!创建导出数据文件失败。", GetLastError());
  }
//+------------------------------------------------------------------+

我得到以下结果: 从 "数字 "到 "字符串 "的隐式转换WeekPattern-Export.mq5 20 24
从 "数字 "到 "字符串 "的隐式转换 WeekPattern-Export.mq5 20 34 mq5 20 34从 "数字 "到 "字符串 "的隐式转换 WeekPattern-Export.mq5 20 23mq5 20 43 以及更多与第 20、46、47、48、49 行相同的内容。

您能告诉我原因是什么吗?我没有修改文章中的源代码。

 
Wangelys:
当我尝试编译一个将数据上传到文件的脚本时

我得到了以下结果: 从 "数字 "到 "字符串 "的隐式转换 WeekPattern-Export.mq5 20 24
从 "数字 "到 "字符串 "的隐式转换 WeekPattern-Export.mq5 20 34 mq5 20 34从 "数字 "到 "字符串 "的隐式转换 WeekPattern-Export.mq5 20 23mq5 20 43 以及更多与第 20、46、47、48、49 行相同的内容。

您能告诉我原因是什么吗?您是否修改了文章中的源代码?

将其

NormalizeDouble

改为

DoubleToString