Questions and answers
13 questions from the community, answered by the
author in
#book-of-the-week
on Slack.
-
Ricky McMaster asked
Hi Gant, thanks for doing this! At the beginning of your book you outline several benefits of using JavaScript for ML and I definitely understand that, especially the no-install aspect. However, for companies with a substantial ML implementation using Python, for example, are there compelling reasons to migrate regardless in your view, or would it only make sense to implement Tensorflow.js given specific business cases or regulatory reasons (you also mention privacy)?
-
Mert Bozkır asked
Hello Gant, I know you from Merve Noyan's podcast 🙂
Welcome here.
A lot of people who aspring data scientist know python and libraries for this area. Machine Learning and Deep learning so important of course but I think python isn't enough for ML Engineer or Data Scientist. This titles require Back-end of course. What do you think about back-end? there are 3 ways in back. You would deploy your model Web server, mobile application and of course Devops(docker,kubernetes, you can dockerize your model.)
My question is which one will populer in future ?
I want to add one more skill to myself but I don't know which one I have to add. Actually this question is a little personal question because, You don't know which one I will love or hate, but I wanted to ask.
-
Alexey Grigorev asked
With TF.js, how does a training pipeline look like? Do you do training in python and then export the model to use in JS, or you do the entire thing in JS?
-
Neal Lathia asked
> seasoned AI veterans and web developers alike can help propel the future of AI-driven websites
Which type of folks do you find using `Tensorflow.js` more - seasoned AI veterans, or web developers? (Am assuming that the intersection of these two camps may be somewhat smaller that the union 🙂 )
-
Alexey Grigorev asked
Let's say I'm a python developer who wants to learn Tensorflow.js to use in my projects. How would you suggest to get started? Would your book will be enough or I already need to know some JS?
-
Dmitry Yemelyanov asked
Hello, Gant! I have tried porting some my TensorFlow2.0 models to TF.js and have been quite disappointed by the fact that lots of cool new features are poorly supported (for example, feature columns). Would you agree with my opinion that feature-wise TensorFlow.js is cursed to always lag behind TensorFlow? Or maybe one day it will take the lead?
-
Gant asked
Would you crazy kids be interested in seeing some internal graphics and process stuff?
-
Amr Alaa asked
Hey Gant
Thanks for your time with us here, waiting forbthe interanl graphics..
Here's my question
does TensorFlow.js have access to the file system in the browser host environment?
if it does not, that means available data resources are limited and can put restrictions on file sizes needed for training and verifying, right?
-
Alexey Grigorev asked
Which chapter did you enjoy the most? And which one was the most challenging for you?
-
Alexey Grigorev asked
Also, as an author myself, I'm really impressed by how fast you finished your book. Can you tell us a bit about your process, and how you organized your time to work on the book?
-
Daniel Wexler asked
Hi Gant can you compare the back-end features of tfjs-node against Python? What’s missing from tfjs-node that would encourage more use of JS on the back-end? Does tfjs-node have any advantages over Python on the back-end?
-
Wendy Mak asked
hi Gant do you find the async nature of javascript a bit annoying to work with when you are building models/training? Also, do you use tfjs node with the GPU? the browser can obviously make use of webgl but this is less clear for node? there's https://github.com/tensorflow/tfjs/tree/master/tfjs-backend-nodegl (opens in a new tab) but the doc says it's under heavy development
-
Hironori Sakai asked
Hi, Gant Thanks for participating book of the week.
I have a question about TF.js and federated learning. My question can be stupid, because I do not understand federated learning much. But if I understand correctly, then
- Federated learning proposes a model training on a distributed system without collecting the data in one place.
- 3rd-party cookie will be replaced with FLoC (federated learning of cohorts).
Because FL(oC) involves a distributed system, especially web clients/browsers for FLoC, it is natural to use TF.js to implement FL so that FLoC is one of the use cases. So my question is: Do you think TF.js can be mainstream of FL(oC)?
(Recently Google released a new version of chrome on which FLoC works, but I do not know its implementation.)
Want the whole story?
The answers above are the short version of Learning Tensorflow.js.