简体   繁体   English

多个人工神经网络

[英]Multiple artificial neural networks

I am trying to set up a Multiple Artificial Neural Network as you can see here on image (a): 我正在尝试建立一个多重人工神经网络,如您在图(a)上看到的:

在此处输入图片说明

( source ) 来源

I want that each of the networks work independently on its own domain. 我希望每个网络都可以在各自的域中独立工作。 The single networks must be built and trained for their specific task. 必须针对单个任务构建和培训单个网络。 The final decision will be make on the results of the individual networks, often called expert networks or agents. 最终决定权将取决于通常称为专家网络或代理商的各个网络的结果。

Because of privacy, I could not share my data. 由于隐私原因,我无法共享我的数据。

I try to set up this with Tensorflow in Python. 我尝试在Python中使用Tensorflow进行设置。 Do you have an idea of ​​how I would do it if that is achievable? 您是否有想法在可行的情况下会如何做? At the moment I have not found any examples of this. 目前,我还没有找到任何例子。

The way to go about this is to just take the outputs of the two networks and concatenate the resulting output tensors (and reshape them if needed) and then pass them into the final network. 实现此目的的方法是仅获取两个网络的输出,并连接生成的输出张量(并在需要时对其进行整形),然后将其传递到最终网络中。 Take a look at here for the concatenation documentation and here for an example of taking the output from one network and feeding it into another. 请在此处查看串联文档,并在此处获取从一个网络获取输出并将其馈送到另一个网络的示例。 This should give you a place to start from. 这应该给您一个起点。

As for (a), it is simple, just train the networks before hand and load them when you are training the final network. 至于(a),这很简单,只需事先训练网络并在训练最终网络时加载它们。 Then do the concatenation on the outputs. 然后在输出上进行串联。

Hope this helps 希望这可以帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Keras - 人工神经网络 - 使用自定义激活时出错 function - Keras – Artificial Neural Networks - Error when using a custom activation function 我正在研究人工神经网络。 隐藏层在哪里? - I am studying artificial neural networks. Where is the hidden layer? 我们如何使用人工神经网络查找相似的文档? - How can we use artificial neural networks to find similar documents? 激活函数在计算人工神经网络成本函数中的作用 - Role of activation function in calculating the cost function for artificial neural networks 如何在 Python 中进行一次热编码并以编程方式获取类数? 对于人工神经网络 - How to do one hot encoded and get the number of classes programatically in Python? For artificial neural networks 神经网络中具有不同样本大小的多个输入 - Multiple Inputs with different sample size in Neural Networks 串联连接多个神经网络的方式(非并行) - The Way to Connect Multiple Neural Networks in a Series(Not Parallel) 在 cpu 上并行运行多个神经网络 - Running multiple neural networks in parallel on cpu 如何在人工神经网络中处理多个类别列? - How to process multiple categorical columns in an artificial neural network? 人工神经网络中的规范化 - Normalization in the artificial neural network
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM