Pular para o conteúdo principal

Postagens

Mostrando postagens com o rótulo visualization

Visualize a neural network activation using JavaFX

Sometimes you want to visualize what is going on inside your neural network to identify what you could improve. This is not an easy task and may require patience. To help on this task I am sharing today a small JavaFX application that will go through all the activated layers and show the activated output and the ones that were not updated. The results are interesting, see some screenshots I took using the Brazilian coin model , which was trained on a deep pre-trained Resnet50 neural network: At the early layers we can see some sort of the shadow of the coin In the middle we can see some features that were activated Close to the end only some outputs were activated It is confusing when we check these huge third party neural networks. It is more interesting when we inspect some neural network we created ourselves. Remember when we used a trained MNIST model in a JavaFX application ? These are the layers after an image classification: This was possible using the ac...

Some visual effects and data visualization apps using JavaFX

In this post I am going to show some visual effects I have created with JavaFX which I have posted in my portuguese JavaFX blog . We see cool visual effects in JavaFX since its 1.x version. For example, I have this great book from Lucas Jordan : In this book Lucas Jordan explore known Graphics Computer algorithms using JavaFX Script. I missed a book like that for JavaFX 8 and the reason is that it is really fun to create visual effects... Fortunately I have seem Daniel Shiffman creating a lot of cool apps almost weekly! In my last post I talked about a class that help us to quickly create visual effects with JavaFX . Since then, I created a few, and in this post I will share it with you. The big Red Ball This is a quick sample showing how to write pixel by pixel of a canvas. Supershapes Create  super shapes using JavaFX Flowers The algorithm to create it was based on Daniel Shiffman implementation . Metaballs The metaballs effect us...

My experience with Processing programming language (and JavaFX X Processing)

Processing is the main language used to create Arduino code . It is also a great language to create visual applications . In this post I am going to share you some processing sketches I created and the way to follow if you are looking to have fun with this great programming language based in Java. Having fun with processing Simplicity is the word for processing. You can sit, open the IDE, have some random idea and in a few minutes you will implement it. Here are some random fun stuff I created in a few minutes Spiral As a first test with angular motion, I created a sketch to draw lines which when connected create a spiral: TV out of tune To experiment the noise function, a sketch using this function was to simulate an old TV of tune effect: "The Thing" Angular motion is always exciting. In this example I created a class called TheThing, which makes use of angular motion. I won't post all the code here, but you can see in my github . Particle gen...