Application Development Workshop with Machine Learning

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/24

flashcard set

Earn XP

Description and Tags

Comprehensive practice questions covering Google Colab, Machine Learning fundamentals, TensorFlow/Keras, linear regression, Teachable Machine, and edge deployment for software and hardware integration.

Last updated 3:30 AM on 6/18/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

25 Terms

1
New cards

What is Google Colab (Google Colaboratory)?

A free cloud-based platform provided by Google that allows users to write and execute Python code in a browser, based on Jupyter Notebooks and integrated with Google Drive.

2
New cards

What are the primary characteristics of Google Colab?

It is cloud-based with no installation required, compatible with Jupyter notebooks (.ipynb.ipynb), and provides free access to GPUs and TPUs for Machine Learning.

3
New cards

How can personal libraries be installed in Google Colab?

By using the command !pipinstall!pip \, install.

4
New cards

What are the advantages of working in collaborative cloud environments like Colab?

Access from anywhere with internet, real-time collaboration, easy sharing like Google documents, automatic security/backup in Drive, and no local installation needed.

5
New cards

What are the two types of cells used in Google Colab?

Code cells (to write and execute Python) and Text cells (Markdown for documentation, titles, lists, and equations).

6
New cards

What are the functions of NumPy, Pandas, and Matplotlib in Machine Learning?

NumPy for efficient numerical calculations with matrices; Pandas for data manipulation using DataFrames; Matplotlib for data visualization through various charts.

7
New cards

What are some common Pandas operations for data manipulation?

Column selection, row filtering, value modification, grouping (df.groupby()df.groupby()), handling null values (df.dropna()df.dropna(), df.fillna()df.fillna()), and statistical summaries (df.describe()df.describe()).

8
New cards

How do CPU, GPU, and TPU differ in Google Colab?

CPU is for general tasks; GPU is designed for parallel operations and matrix calculations (ideal for ML/Deep Learning); TPU is a specialized processor created by Google exclusively for TensorFlow operations.

9
New cards

How can a user change the hardware accelerator in Google Colab?

Go to the 'Runtime' (Entorno de ejecución) menu, click 'Change runtime type', and select None (CPU), GPU, or TPU under 'Hardware accelerator'.

10
New cards

What code can be used to monitor RAM and Disk usage in Google Colab?

Using psutil.virtual_memory()psutil.virtual\_memory() for RAM and shutil.disk_usage(/)shutil.disk\_usage('/') for Disk.

11
New cards

What is the difference between Supervised and Unsupervised learning?

Supervised learning uses labeled data where the model knows the expected answer; Unsupervised learning explores data without labels to find hidden patterns or groupings.

12
New cards

What are the 6 steps in the Machine Learning training workflow?

  1. Data collection, 2. Preprocessing (cleaning/normalizing), 3. Dataset division (train/test), 4. Model definition, 5. Training, 6. Evaluation and improvement.
13
New cards

What is the difference between Sequential and Functional models in Keras?

Sequential models are linear (layer by layer) for simple problems; Functional models are flexible for complex architectures with multiple inputs or outputs.

14
New cards

What is the general formula for Simple Linear Regression?

y=mx+by = mx + b, where yy is the dependent variable, xx is the independent variable, mm is the slope, and bb is the intercept.

15
New cards

What are the common metrics used to evaluate model performance?

MSE (Mean Squared Error), RMSE (Root Mean Squared Error), and R2R^2 Score (Coefficient of Determination).

16
New cards

How is R2R^2 Score interpreted?

It indicates how well the model explains variability, ranging from 0 to 1; a value closer to 1 signifies a good model.

17
New cards

What is Teachable Machine?

A free browser-based Google tool that allows users to create Machine Learning models (Image, Audio, Poses) without needing to program.

18
New cards

What three types of models are supported by Teachable Machine?

Image (recognizes objects), Audio (recognizes words/sounds), and Poses (detects body positions).

19
New cards

In which formats can models be exported for different environments?

TensorFlow.js (.json.json and binary for web), Keras HDF5 (.h5.h5 for Python), and TensorFlow Lite (optimized for mobile/embedded devices).

20
New cards

What are the characteristics of TensorFlow.js?

It uses JavaScript, runs directly in the browser (client-side), and is compatible with models trained in Teachable Machine or TensorFlow.

21
New cards

What is OpenCV used for in Python?

It is an open-source library for image processing and computer vision tasks like edge detection (cv2.Cannycv2.Canny) and face detection (cv2.CascadeClassifiercv2.CascadeClassifier).

22
New cards

How does TensorFlow Lite (TFLite) improve model deployment on small devices?

It provides model quantization to reduce size and increase inference speed with minimal precision loss, making it ideal for mobile and IoT devices.

23
New cards

What is TinyML?

A branch of AI focused on running Machine Learning models on devices with very low resources, such as microcontrollers, featuring low power consumption and local execution.

24
New cards

What is the workflow for deploying AI on an Arduino Nano 33 BLE Sense?

Collect data from sensors, train the model (Colab or Edge Impulse), convert it to TFLite, then convert it to C++ to integrate with the Arduino code.

25
New cards

What is Edge Computing in the context of Raspberry Pi?

Processing data directly on the device (the 'edge') rather than depending on the cloud, used for real-time tasks like facial detection.