1. Home
  2. Explore
  3. Computer Science
  4. Machine Learning at Scale

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Machine Learning at Scale

  • 72Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Data Challenges
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

What does advanced analytics encompass?

Tap to flipClick to flipspace

Analysis of historical data, forecasting, prediction, machine learning, and deep learning.

Or swipe the card

72 cards

  1. What does advanced analytics encompass?

    Analysis of historical data, forecasting, prediction, machine learning, and deep learning.

  2. Why is high-quality data important for analytics and machine learning?

    Poor-quality data can undermine insights, forecasts, and machine-learning models.

  3. What is data staleness, and why is it a problem?

    Data staleness is using data that is out of date; it can make real-time analysis and predictions less accurate.

  4. What three recurring data challenges are emphasized?

    Data quality, data timeliness or freshness, and data volume or scale.

  5. What data-quality problem did surveys cited in the presentation report?

    About 60% of respondents working in advanced analytics reported dealing with bad data and spending substantial time cleaning it.

  6. Why can data from unreliable sources lose its usefulness over time?

    If the data is unreliable or becomes outdated, it may eventually no longer support meaningful analysis.

  7. What was the main purpose of traditional data warehouses?

    To consolidate data from operational databases and support high-performance SQL analytics and business intelligence.

  8. How did warehouse schemas help support data quality?

    They required data to conform to defined structures, helping validate that stored data matched the schema.

  9. What reliability and management capabilities did traditional warehouses offer?

    Features such as indexes, caching, and ACID transactions supported efficient queries and reliable operations.

  10. Why could traditional warehouses be inconvenient for machine-learning work?

    Complex computations often required extracting data from the warehouse into another environment, adding delay and extra work.

  11. Why did the growth of semi-structured and unstructured data challenge traditional warehouses?

    Warehouses were optimized for structured tables, not data such as JSON, XML, logs, images, documents, and time series.

  12. What were data lakes designed to address?

    They provided low-cost, horizontally scalable storage for raw data in varied formats, including unstructured data.

  13. How did separating compute from storage in the cloud benefit data lakes?

    It allowed organizations to scale storage and use powerful compute engines to process the data as needed.

  14. What is a key limitation of a basic data lake without a management layer?

    It may lack reliable transactions and table versioning, making it hard to know which files represent the current table.

  15. How can multiple ETL pipelines create problems in a data-lake architecture?

    They add engineering effort and can introduce delays, bugs, and inconsistent copies of data.

  16. What is the lakehouse paradigm?

    An architecture that combines scalable, open data-lake storage with management and performance features associated with data warehouses.

  17. What is the central architectural goal of a lakehouse?

    Support streaming, BI, data science, and machine learning on one shared data platform.

  18. What role does the lakehouse management layer play?

    It manages tables and metadata, supporting transactions, versioning, and reliable access to the files that make up a table.

  19. How does a lakehouse management layer help reduce ETL duplication?

    Different workloads can access managed data directly instead of relying on separate pipelines and stored copies.

  20. What storage and file-format approach does the presentation associate with a lakehouse?

    Low-cost data-lake storage using open file formats such as Parquet, with a management layer on top.

  21. How does a lakehouse provide table access to applications?

    Applications request a table through the management layer, which identifies the relevant version and files.

  22. What three technology capabilities underpin the lakehouse vision?

    A transactional metadata layer, high-performance SQL query engines, and direct access for machine-learning frameworks.

  23. What is the intended benefit of combining lake storage with warehouse-style management?

    To combine low-cost, scalable storage with reliable transactions, governance, and efficient analytics.

  24. Why does a basic data lake make reproducibility difficult?

    Without table versioning, it can be unclear which files or data state an earlier analysis used.

  25. What does Delta Lake add to a data lake?

    An open-source management layer that provides table transactions, versioning, and other reliability features.

  26. How does a Delta Lake transaction log support table versioning?

    It records table states so the system can determine which files belong to a particular version.

  27. How can table versioning help concurrent applications?

    Applications can access a defined table version without confusing it with files added or removed by another transaction.

  28. What is time travel in Delta Lake?

    The ability to read or restore a table as it existed at an earlier version.

  29. How can Delta Lake support streaming data updates?

    A table can be read as a stream and updated with operations such as inserts, merges, and upserts.

  30. How can schema enforcement improve data quality in Delta Lake?

    It can check whether incoming data conforms to the table’s expected schema.

  31. What does schema evolution mean in the context of managed tables?

    The table’s schema may change over time, and the system must account for those changes when reading different versions.

  32. Why is Delta Lake time travel useful for machine-learning reproducibility?

    It helps recover the specific data version used in an earlier experiment or model build.

  33. What are examples of other table-management approaches mentioned alongside Delta Lake?

    Apache Iceberg and Hive ACID.

  34. How can caching improve query performance on lakehouse data?

    Frequently accessed data can be cached in memory or on SSDs, reducing the need to repeatedly read it from storage.

  35. How can organizing data by access patterns improve lakehouse queries?

    Clustering, sorting, and partitioning related data can make it faster to retrieve data used together.

  36. How do statistics and indexes help reduce data scanned by a query?

    They can identify files or ranges that cannot match the query, allowing the engine to skip them.

  37. What is data or file pruning in query execution?

    Skipping files or data ranges that are irrelevant to a query.

  38. What is vectorized execution?

    Processing batches of values with CPU operations that apply one instruction to multiple data elements.

  39. How can SQL engines optimize queries over lakehouse tables?

    They can optimize a query plan and push relevant operations down to the storage or table-management layer.

  40. Why are open columnar formats such as Parquet useful for query engines?

    Their columnar organization can support efficient analytical queries and is usable by multiple engines.

  41. How does machine-learning development differ from traditional software development?

    ML development is iterative and centered on data and business metrics, while traditional software is typically built to meet a specification.

  42. What commonly determines the quality of a machine-learning product?

    The data, the model and code, and how well the results meet the intended business metric.

  43. Why can machine learning at scale involve a diverse software stack?

    Teams may use multiple open-source libraries, programming languages, and deployment environments.

  44. What should teams track while tuning machine-learning models?

    Experiment parameters, evaluation metrics, and the results associated with each run.

  45. What is MLflow Tracking used for?

    Recording experiment information such as parameters, metrics, and artifacts.

  46. What does MLflow autologging do?

    It automatically records supported experiment information, reducing the need to log every item manually.

  47. What is an MLflow Project?

    A way to package a machine-learning project’s code, dependencies, and configuration so it can be run reproducibly.

  48. How do MLflow Projects support reproducibility?

    They package code and its dependencies and configuration so another user can run the project in a comparable environment.

  49. What is an MLflow Model?

    A packaged model with a defined format and interfaces that can support deployment to different environments.

  50. What are MLflow model flavors?

    Framework-specific representations or interfaces for a model that help make it usable by different tools and deployment targets.

  51. What does MLflow Model Registry provide?

    A central place to organize, version, document, and manage machine-learning models and their lifecycle.

  52. What information can be recorded about a registered model?

    Its versions, creator, training details, documentation, history, and review or approval information.

  53. What are common model stages in an MLflow Model Registry?

    None, staging, production, and archived.

  54. How can a model registry support A/B testing?

    It can keep multiple model versions available in the same stage for comparison.

  55. What is model lineage?

    The recorded history of how a model was created, reviewed, approved, and deployed.

  56. How can a model registry workflow connect development and review?

    A developer registers a model, a reviewer retrieves and tests it, and the reviewer can promote it if it meets the required criteria.

  57. How can model-registry notifications support CI/CD?

    A model-stage change can trigger a notification or webhook that starts tests or other deployment jobs.

  58. How can a production model be made available to downstream applications?

    It can be deployed as a service, such as a REST endpoint, or used in batch inference workflows.

  59. Why should machine-learning teams monitor models after deployment?

    Changing data can cause model performance to drift, making predictions less reliable.

  60. What can a team do when monitoring detects model drift?

    Investigate the change and retrain or replace the model using more current data.

  61. Why are governance and model provenance important?

    They help establish what data and process produced a model, who reviewed it, and who approved or deployed it.

  62. What is AutoML intended to do?

    Automate parts of model selection and experimentation, such as evaluating selected algorithms and comparing their metrics.

  63. Why should AutoML not be treated as a complete black box?

    Users should retain visibility into the algorithms used and the results produced.

  64. What is federated learning, as discussed in the presentation?

    A distributed-learning approach that can be used alongside tools such as Spark and hyperparameter-tuning workflows.

  65. What is model interpretability useful for in ethical review?

    It helps examine which features influenced a model’s decision.

  66. What practices help protect sensitive healthcare data?

    Use access controls, anonymization, encryption, and safeguards aligned with applicable requirements such as HIPAA.

  67. How can role-based access control protect managed data?

    It limits which users can access particular tables, rows, or columns according to their assigned roles.

  68. What is Glow used for in the healthcare context described?

    It is an open-source project for large-scale genomic analysis, including use in drug discovery.

  69. What is Koalas designed to enable?

    Using a Pandas-like API to perform data analysis across a Spark cluster in a distributed manner.

  70. Why can processing machine-learning inference at the edge be useful?

    It enables devices with limited connectivity or resources to make local predictions without sending every observation to a central system.

  71. How can edge inference work together with centralized model training?

    Train models centrally, deploy them to edge devices for inference, and later collect data centrally for further training and redeployment.

  72. Why might edge devices perform inference but not training?

    They may lack the computing resources needed for training, even if they can run a compact deployed model.

Card 1 of 72
Card 1 of 72

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent