Open in app
Home
Notifications
Lists
Stories

Write
Aral Roca Gomez
Aral Roca Gomez

Home

Mar 23, 2021

It would be nice if you explain why you use the meanSquaredError as loss and not a…
1

Aral Roca Gomez

I changed this:

I changed this: sigmoid + sigmoid + sigmoid + meanSquaredError to: relu + relu + sigmoid + binaryCrossentropy And seems that the prediction is quite better: Tensor [[0.9998419, 4e-7 ], [0.9998978, 8e-7 ], [0 , 0.9999998], [0 , 0.9999999]]

1 min read

I changed this:

sigmoid + sigmoid + sigmoid + meanSquaredError

to:

relu + relu + sigmoid + binaryCrossentropy

And seems that the prediction is quite better:

Tensor

[[0.9998419, 4e-7 ],

[0.9998978, 8e-7 ],

[0 , 0.9999998],

[0 , 0.9999999]]

--

--


Sep 20, 2020

Etiketai — speed up training your AI models with a free open source app

Original article: https://aralroca.com/blog/etiketai I’d like to tell you why I made Etiketai, a tool that makes it easier to train image recognition AI models (ImageNet, YOLO and its variants) from any device ensuring security. A little bit of context When we want to directly use existing image recognition models such as ImageNet, COCO-ssd or YOLO…

Java Script

4 min read

Labelai — speed up training your AI models with a free open source app
Labelai — speed up training your AI models with a free open source app

Aug 17, 2020

First steps with WebAssembly in Rust

Original article: https://aralroca.com/blog/first-steps-webassembly-rust We’ll see how to run native code in the browser, doing faster web applications, being able to reuse old code like retro videogames, and at the same time learning the future of web development. What is WebAssembly? In all current browsers, there is a JavaScript engine that interprets and executes…

Rustlang

8 min read

First steps with WebAssembly in Rust
First steps with WebAssembly in Rust

Aug 9, 2020

How to draw gears in WebGL

Original article: https://aralroca.com/blog/how-to-draw-gears-in-webgl In this article we continue what we started in “First steps in WebGL”, where we saw what it is and how it works internally: the shaders, the program, buffers, how to link data from CPU to GPU, and finally how to render a triangle. …

Webgl

12 min read

How to draw gears in WebGL
How to draw gears in WebGL

Jul 29, 2020

Static Readme Regeneration

Original post: https://aralroca.com/blog/static-readme-regeneration GitHub has recently introduced a “secret” feature to show a markdown template on your profile page. You may have heard about this. All you need to do is create a repo named with your username and create the README.md file there. When we think of a template…

Github

5 min read

Static Readme Regeneration
Static Readme Regeneration

Jul 20, 2020

First steps in WebGL

Original post: https://aralroca.com/blog/first-steps-in-webgl In this article, we’ll see what WebGL is and how to draw a triangle by talking to the graphics processing unit (GPU). Although this simple example could be solved in better ways, such as using a canvas with a 2d context or even with CSS, what we…

Java Script

7 min read

First steps in WebGL
First steps in WebGL

Jul 7, 2020

Image classifier: in the browser

Original article: https://aralroca.com/blog/cat-dog-classifier This is a small tutorial to implement an application that predicts if it’s a cat or a dog image. To do this we’ll use Tensorflow.js to make the prediction directly on the browser. I recommend reading this other article where I introduce Tensorflow.js. However, after this, you’ll…

Tensorflowjs

7 min read

Classify any image on the browser in few steps
Classify any image on the browser in few steps

Jun 22, 2020

Discovering Snowpack

Original article: https://aralroca.com/blog/discovering-snowpack In today’s article, we’ll do some exploring to see what Snowpack is and what are its advantages. In the last few months, I’ve heard a lot of talk about Snowpack and I hadn’t given it a chance. The time has come.

Java Script

4 min read

Discovering Snowpack
Discovering Snowpack

May 17, 2020

From Node to Deno

Original article: https://aralroca.com/blog/from-node-to-deno Last week I published an article about Deno, and how to create a Chat app with Deno and Preact. Since then, many doubts have arisen. Mostly of them are about how to do the same thing we did in Node, but with the new Deno ecosystem. I’ve…

Node

9 min read

From Node to Deno
From Node to Deno

May 12, 2020

How to create pagination badges

Original article: https://aralroca.com/blog/pagination-badges The purpose of this short article is to share a helper function to create typical paging badges. I have used this helper on several places and I think it can be useful for anyone who needs it.

Java Script

2 min read

How to create pagination badges
How to create pagination badges
Aral Roca Gomez

Aral Roca Gomez

Following
  • João Gabriel Simões

    João Gabriel Simões

  • Android Developers

    Android Developers

  • Eric Elliott

    Eric Elliott

  • Patrick Heneise

    Patrick Heneise

  • David Walsh

    David Walsh

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable