Skip to content
tezvyn:

🤖AI & ML

Artificial intelligence, machine learning, and data science

271 bites

Test yourself: Top 30 easy AI & ML interview questionsMultiple choice, with the correct answer and why it is correct on every question. Free, no sign-in.

Easy everything in AI & ML, page 2

easy1 min read

Deploy a saved model as a REST prediction service

Load the artifact, wrap it in a predict API, containerize, host with autoscaling, add monitoring.

easy1 min read

Visualizing long-term trend versus seasonality

A line chart over the full three years, often with a moving average, shows the long-term trend; a seasonal plot overlaying each year by month, or a month-of-year box plot, reveals…

easy1 min read

The MapReduce paradigm explained

Map applies a function to each input record emitting key-value pairs in parallel; a shuffle groups values by key; reduce aggregates each key's values into a result.

easy1 min read

HDFS purpose and fault tolerance

HDFS stores huge files across many commodity machines as large blocks, replicating each block across nodes for fault tolerance; unlike NTFS or ext4 it is distributed, write-once, and optimized for…

easy1 min read

Spark transformations versus actions

Transformations like map and filter are lazy and build a lineage DAG returning a new RDD; actions like count or collect trigger execution and return a value to the driver.

easy1 min read

Handling missing numerical values

Dropping rows is simple but loses data and can bias if missingness is non-random; mean or median imputation keeps rows but shrinks variance and ignores correlations; model-based imputation is…

easy1 min read

Pandas loc versus iloc indexing

Loc selects by label and is inclusive of both endpoints; iloc selects by integer position and is exclusive of the stop; passing a string label to iloc fails.

easy1 min read

Precision vs recall in object detection.

Precision is fraction of detections that are correct, recall is fraction of true objects found; prioritize recall for safety-critical detection, precision when false alarms are costly.

easy1 min read

What data augmentations help small image datasets?

Apply label-preserving transforms like flips, crops, rotation, color jitter, and mixing to enlarge effective data and reduce overfitting.

easy1 min read

Outline the classic image stitching pipeline.

Detect and match features like SIFT, estimate a homography with RANSAC, warp and blend with multiband or feathering.

easy1 min read

How do you build an HDR image from bracketed exposures?

Align frames, recover the camera response function, merge to a linear radiance map weighted by exposure, then tone map for display.

easy2 min read

Leveraging unlabeled data with limited labels

Pretrain a representation on the million unlabeled images via self-supervision, then fine-tune on the 1,000 labels; or use pseudo-labeling and consistency regularization.

easy2 min read

Transfer learning from ResNet50 on small data

Replace the final classification head with one sized to your classes, freeze the pretrained convolutional backbone as a feature extractor, train the new head, then optionally fine-tune top blocks at a low…

easy2 min read

Designing a baseline Visual Question Answering model

Encode the image with a CNN, encode the question with an RNN or embedding, fuse the two vectors, and classify over a fixed answer vocabulary.

easy2 min read

Semantic, instance, and panoptic segmentation

Semantic labels every pixel by class without separating objects; instance separates individual objects but may skip background; panoptic unifies both, labeling stuff and distinct thing instances.

easy2 min read

Diffusion forward and reverse processes

Forward process gradually adds Gaussian noise until data is pure noise; reverse process learns to denoise step by step; the network predicts the noise added at each timestep.

easy1 min read

GAN architecture: generator and discriminator roles

Generator maps noise to fake samples, discriminator classifies real versus fake, they train as a two-player game until samples fool the discriminator.

easy1 min read

Self-attention over image patches explained

Each patch projects to query, key, value; a patch's query is scored against all keys, softmax-normalized into weights, used to combine all values.

easy2 min read

How ViT and CNN process an image differently

A CNN slides local filters over the raw pixel grid; a ViT splits the image into patches, flattens and linearly embeds each into a token, adds positional embeddings, and feeds the sequence to…

easy1 min read

Design a tracking-by-detection tracker

Detect per frame, then associate boxes across frames by IoU or appearance using Hungarian matching, maintaining track ids.

We are hiring for this. Every open role lists the topics its interview covers, so you can prepare for the real thing rather than guessing.

See open roles