问题描述
我正在尝试Windows Phone 8上的神经网络应用程序.我正在编写以下代码:
I am trying neural network application on Windows Phone 8. And I am writing below code:
ActivationNetwork network = null; //global variable
network = new ActivationNetwork(
new BipolarSigmoidFunction(2), //aktivation func.
9, //input count
20, //hidden layer count
1 //output count
);
此代码适用于桌面项目.(C#)但不适用于Windows Phone 8.
This code working on desktop project.(C#) But not working Windows Phone 8.
这是Aforge Framework的功能.我是通过nuget安装的.
This is Aforge Framework's function. I installed via nuget.
当我单击运行"时,出现错误.我的错误代码:
When I clicked run I am getting error. My error code:
PanoramaApp2.DLL中发生类型为'System.TypeLoadException'的异常,但未在用户代码中处理附加信息:程序集"AForge.Neuro,版本= 2.2.5.0,文化=中性,PublicKeyToken = 2094f4ea39731d4f"中的类型"AForge.Neuro.BipolarSigmoidFunction"正在尝试实现无法访问的接口.
An exception of type 'System.TypeLoadException' occurred in PanoramaApp2.DLL but was not handled in user codeAdditional information: Type 'AForge.Neuro.BipolarSigmoidFunction' from assembly 'AForge.Neuro, Version=2.2.5.0, Culture=neutral, PublicKeyToken=2094f4ea39731d4f' is attempting to implement an inaccessible interface.
我怎么了?
我如何成功?
先谢谢了. (对不起,我的语言.)
Thanks in advance. (sorry my language.)
推荐答案
看起来像Nuget上的正式版本不支持Windows Phone.检查此链接: http://www.aforgenet.com/forum /viewtopic.php?f=2&t=3061
Looks like the official version which is on Nuget does not support Windows Phone. Check this link: http://www.aforgenet.com/forum/viewtopic.php?f=2&t=3061
这篇关于Windows Phone 8.0上的神经网络的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!