Explore key trends and predictions about generative AI's impact…
Start QuizExplore the core ideas behind generative AI interviews, including…
Start QuizExplore how generative AI is reshaping essential business operations,…
Start QuizExplore the fundamentals of evaluating generative AI models in…
Start QuizExplore the basics of Generative AI, large language models,…
Start QuizExplore the fundamentals of how generative AI models generate…
Start QuizExplore the key differences between hard and soft voting…
Start QuizChallenge yourself with essential questions about Oracle Cloud Infrastructure's…
Start QuizTest your understanding of the attention mechanism in Natural…
Start QuizTest your knowledge of caching basics, including time-to-live (TTL),…
Start QuizTest your knowledge of HTTP and REST fundamentals, including…
Start QuizTest your understanding of generative artificial intelligence principles with…
Start QuizTest your understanding of the Retrieval-Augmented Generation (RAG) indexing…
Start QuizTest your understanding of how generative AI boosts productivity,…
Start QuizTest your knowledge of key API design fundamentals for…
Start QuizTest your understanding of caching basics for generated responses,…
Start QuizTest your knowledge of API design best practices, including…
Start QuizTest your understanding of basic caching concepts, including Time-to-Live…
Start QuizSee how well you know the fundamentals of generative…
Start QuizExplore the fascinating basics of generative models with this…
Start QuizLevel up your understanding of core machine learning model…
Start QuizExplore the essentials of generative AI in this beginner-friendly…
Start QuizTest your knowledge of how generative AI powers smart…
Start QuizThis quiz contains 10 questions. Below is a complete reference of all questions, answer choices, and correct answers. You can use this section to review after taking the interactive quiz above.
Which benefit of a JavaScript machine learning library allows models to run directly in the browser with interactive updates?
Correct answer: Real-time training in the browser
What HTML element would you use to include a JavaScript machine learning library from a CDN in a web page?
Correct answer: <script src='...'></script>
Which environment typically uses npm to install packages for server-side JavaScript machine learning tasks?
Correct answer: A server-side JavaScript runtime (using npm)
In a simple sequential model used for machine learning in JavaScript, what does 'sequential' describe?
Correct answer: A linear stack of layers
If you create a dense layer to accept one numeric feature per example, what inputShape should you set?
Correct answer: [1]
Which optimizer is used in the compilation step of the example to train the model predicting y from x?
Correct answer: sgd
For a simple regression task predicting numbers (for example, y = 2x - 1), which loss function is appropriate in the example?
Correct answer: meanSquaredError
When preparing five input values [0, 1, 2, 3, 4] as a 2D tensor with one feature each, what shape should you use?
Correct answer: [5, 1]
Using the function y = 2x - 1 from the example, what is the correct output when x = 3?
Correct answer: 5
Which browser technology is commonly used by JavaScript machine learning libraries to speed up computations using the GPU?
Correct answer: WebGL