ENGLISH

Machine Learning Design Interview: Machine Learning System Design Interview

Book information

Publisher
Independently published
Year
2022
ISBN
9798813031571
Language
english
Format
PDF
Filesize
3 MB (3192573 bytes)
Pages
210\236
Time added
2023-02-12 10:08:04

Description

This book provides:End to end design of the most popular Machine Learning system at big tech companies.Most common Machine Learning Design interview questions at big tech companies (Facebook, Apple, Amazon, Google, Uber, LinkedIn) Who should read this book?Data scientist, software engineer or data engineer who have a background in Machine Learning but never work on Machine Learning at scale will find this book helpful. Preface Who should read this book? How to read this book? Machine Learning Primer Feature Selection and Feature Engineering One Hot Encoding Common Problems Best Practices One Hot Encoding in Tech Companies Mean Encoding Feature Hashing Benefits Feature Hashing Example Feature Hashing in Tech Companies Cross Feature Embedding How to Train Embedding How Does Instagram Train User Embedding? How Does DoorDash Train Store Embedding? How Does YouTube Train Embedding in Retrieval? How Does LinkedIn Train Embedding? How Does Pinterest Learn Visual Embedding Application of Embedding in Tech Companies How Do We Evaluate the Quality of the Embedding? How Do We Measure Similarity? Important Considerations Numeric Features Normalization Standardization Feature Selection and Feature Engineering Quiz Summary Training Pipeline Data Partitioning Handle Imbalance Class Distribution Common Resampling Use Cases Data Generation Strategy How LinkedIn Generates Data for Course Recommendation Member to Skill How to Split Train/Test Data Sliding Window Expanding Window Retraining Requirements Four Levels of Retraining Loss Function and Metrics Evaluation Regression Loss Mean Square Error and Mean Absolute Error Huber Loss Quantile Loss How Facebook Uses Normalized Cross Entropy for AdClick Prediction? Forecast Metrics Mean Absolute Percentage Error Symmetric Absolute Percentage Error Classification Loss Focal Loss Hinge Loss Model Evaluation Area Under the Curve Mean Average Recall at K Mean Average Precision (MAP) Mean Reciprocal Rank (MRR) Normalized Discounted Cumulative Gain Cumulative Gain Online Metrics Other Metrics: Click-Through Rate, Time Spent Common Sampling Techniques Random Sampling Rejection Sampling Weight Sampling Importance Sampling Code Example Stratified Sampling Reservoir Sampling Common Deep Learning Model Architecture Wide and Deep Architecture Benefits Architecture Two-Tower Architecture Deep Cross Network Benefits Multitask Learning Architecture Benefits Facebook Deep Learning Recommendation Model (DLRM) Requirements and Data Metrics Features Model A/B Testing Fundamental Budget-Splitting Benefits Common Deployment Patterns Imbalance Workload Serving Logics and Multiple Models Serving Embedding High-level Architecture Offline Serving Nearline Serving Approximate Nearest Neighbor Search How Onebar Uses ANN for Their Search Service Deployment Example Spotify: one simple mistake took four months to detect How to make prediction with the wrong data? Chapter Exercises Quiz 1: Quiz on Cross Entropy Quiz 2: Quiz on Cross Entropy Quiz 3: Quiz on Accuracy Quiz 4: Quiz on accuracy Common Recommendation System Components Candidate Generation Content-Based Filtering Trade-Offs Collaborative Filtering Trade-Offs How Pinterest Does Candidate Generation Co-occurrences of Items to Generate Candidates Online Random Walk Session Co-occurrence How YouTube Build Video Recommendation Retrieval Stack Ranking How to Build a ML-Based Search Engine RankNet Example Observations Re-ranking Freshness Diversity Fairness Position Bias Why Would This be an Issue in Machine Learning Model Training? Use Position as feature Use Position as Feature Inverse Propensity Score How LinkedIn Uses Impression Discount in People You May Know (PYMK) Features Calibration Definition Example and solution Calibration plot Nonstationary Problem Exploration vs. Exploitation Airbnb: Deep Learning is NOT a drop-in replacement Interview Exercises Machine Learning Usecases from Top Companies Airbnb - Room Classification Requirement and Data Challenges Metrics Features Model Model Architecture Model Training and Serving Improvements Instagram: Feed Recommendation from Non-friends Scope/Requirements Metrics Data Model Training and Serving Co-occurrence Based Similarity Cold Start Problem LinkedIn: Talent Search and Recommendation Scope/Requirements Metrics Data and Features Other Considerations Model Overall System Retrieval Stack LinkedIn - People You May Know Scope/Requirements Metrics Link Prediction Features and Data Link Prediction Model Value from Connection Linkedin - Learning Course Recommendation Scope/Requirements Metrics Data Model Training Scoring Candidate Generation Data Streaming pipeline Overall System High-level Architecture Uber - Estimate Time Arrival Scope/Requirements Metrics Data Features Model Overall System Real-time Serving High Level Training Pipeline YouTube Video Recommendations Problem Statement Metrics Design and Requirements Metrics Requirements Training Inference Summary Multistage Models Model Training Candidate Generation Model Training Data Feature Engineering Model Ranking Model Training Data Features Engineering Model Question 1 Question 2 Calculation and Estimation Assumptions Bandwidth and Scale System Design Training Challenges Inference Scale the Design Interview Exercise Summary Question 3 Question 4 LinkedIn Feed Ranking Problem Statement Challenges Metrics Design and Requirements Metrics Offline Metrics Online Metrics Requirements Training Inference Model Training Data Problems Possible Solutions Feature Engineering Model Evaluation Model Requirements Training Calculation and Estimation Assumptions Data Size and Scale High-level Design Feed Ranking Flow Feature Store Items Store Scale the Design Summary Ad Click Prediction Problem Statement Challenges Metrics Design and Requirements Offline metrics Online Metrics Requirements Training Inference Model Feature Engineering Model Architecture Calculation and Estimation Assumptions Data Size High-level Design Training Serving Scale the Design Airbnb Rental Search Ranking Problem Statement Challenges Metrics Design and Requirements Offline Metrics Online Metrics Requirements Training Inference Model Training Training Data Model Architecture Feature Engineering Calculation and Estimation Assumptions Data Size High-level Design Scale the Design Open Questions Summary Estimate Food Delivery Time Problem Statement Metrics Design and Requirements Metrics Offline Metrics Online Metrics Requirements Summary Model Training Data Model Probabilistic Model with Confident Interval: Quantile Regression Features Engineering System Design Requirements Inference Training Calculation and Estimation Assumptions Data Size High-level Design Inference Training Scale the Design Summary Machine Learning Assessment Practice 1: Machine Learning Knowledge Regression Confidence Interval Forecast Model Correlation Coding Clustering SQL Database Machine Learning Model Diagnosis Classification Feature Important Confusion Matrix Classification metrics Random Forest Statistics Random Forest Tuning Decision Tree Tuning Deep Learning Diagnosis Deep Learning Deep Learning Questions

Similar books

Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36

Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36

2010 · PDF

THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.

THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.

1858 · PDF

Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.

Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.

2022 · PDF

The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians

The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians

1809 · PDF