# Machine Learning Neural Network example

**URL:** <https://forum.dynamobim.com/t/machine-learning-neural-network-example/38512>\
**Category:** Uncategorized\
**Created:** [July 20, 2019, 10:54am UTC](https://forum.dynamobim.com/t/machine-learning-neural-network-example/38512 "2019-07-20T10:54:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![igpema](https://avatars.discourse-cdn.com/v4/letter/i/5e9695/32.png) [@igpema](https://forum.dynamobim.com/u/igpema)\
**Post date:** [July 20, 2019, 10:54am UTC](https://forum.dynamobim.com/t/machine-learning-neural-network-example/38512/1 "2019-07-20T10:54:41Z")

</div>

Hello,

at the Bim Seminar in Uni Stuttgart we are trying to play with Machine Learning concepts in Dynamo but we dont really get how it is working out. We downloaded the examples from provingGround Lunchbox but when we try to apply to our issues we dont really get any clear result.

Our exercise consist on a neihbourhood with plots, and within these plots some houses. We calculate in dynamo how many houses with their areas there is withing each plot and when we draw a new plot, we would like the machine tell us how many houses and areas should have this new plot. We tried NetworkNeuralNetwork and networks.RestrictedBotzmann from LunchBox package, but we get nowhere. Maybe we are not using the right nodes, our main purpose, to learn how to use the data around to tell to a particular plot how it should be, in this case amount of houses and surface.

Here the area:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/8/18c1043b983326e99d2dc1652cab0cab4a675989.png)

Here the two nodes I am trying to use for this purpose

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/e/3e07aacdcbd4451104b86418afbd43add27fcc2d.png)

and attached is also the dyn file.  
[Umgebung\_ ML.dyn](https://forum.dynamobim.com/uploads/short-url/e8UANFIfHl5zIRGzT4VrioPujmk.dyn) (46.8 KB)

thanks in advance!

---

<div class="post-metadata">

**Author:** ![igpema](https://avatars.discourse-cdn.com/v4/letter/i/5e9695/32.png) [@igpema](https://forum.dynamobim.com/u/igpema)\
**Post date:** [July 20, 2019, 12:27pm UTC](https://forum.dynamobim.com/t/machine-learning-neural-network-example/38512/2 "2019-07-20T12:27:37Z")

</div>

I found this video

---

<div class="post-metadata">

**Author:** ![Durmus\_Cesur](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/durmus_cesur/32/62638_2.png) [@Durmus\_Cesur](https://forum.dynamobim.com/u/Durmus_Cesur)\
**Post date:** [July 20, 2019, 12:41pm UTC](https://forum.dynamobim.com/t/machine-learning-neural-network-example/38512/3 "2019-07-20T12:41:28Z")

</div>

Hi,

You can look at this topic.

> [@Lunchbox Machine Learning](https://forum.dynamobim.com/t/lunchbox-machine-learning/37663):
>
> So, I got close, but it’s not quite working? This ‘works’ but only if the number of rooms is less than my ‘test’ rooms, which is obviously not ideal… Also the outputs aren’t right…! I tried plugging everything in the other way round and playing with the various other inputs but couldn’t get it working. I realise I could use IF statements for this. The inspiration came from John Pierson and Nate Miller here… [https://www.youtube.com/watch?v=e6WglyUB-7A](https://www.youtube.com/watch?v=e6WglyUB-7A) though it’s all in…

---

<div class="post-metadata">

**Author:** ![stepanste](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@stepanste](https://forum.dynamobim.com/u/stepanste)\
**Post date:** [October 16, 2022, 11:03pm UTC](https://forum.dynamobim.com/t/machine-learning-neural-network-example/38512/4 "2022-10-16T23:03:08Z")

</div>

I see, you did it a long time ago, but wouldn’t you give me a revit file? I also want ro try
