গাইড লিঙ্ক ক্যুইজ · মাঝারি স্তর

ইউনিট টেস্টিং মেশিন লার্নিং কোড কুইজ

সাধারণীকরণের সাথে কোড চেককে বিভ্রান্ত না করে রূপান্তর, ক্ষতি, টেনসর চুক্তি এবং ক্ষুদ্র ওভারফিট আচরণের জন্য উপযুক্ত পরীক্ষাগুলি বেছে নিন।

প্রশ্ন 1 এর 8

একটি প্রিপ্রসেসিং ট্রান্সফরমারের জন্য কোন দাবিগুলি উপযুক্ত?

প্রতিটি প্রশ্নের পূর্বরূপ দেখুন8 প্রশ্ন

আপনি কুইজ নেওয়ার সাথে সাথে উত্তর এবং ব্যাখ্যাগুলি উপস্থিত হয়।

  1. একটি প্রিপ্রসেসিং ট্রান্সফরমারের জন্য কোন দাবিগুলি উপযুক্ত?
    • Expected output shape, column order and known transformed values
    • Held-out accuracy on a deployment-like population
    • Recall across rare production subgroups
    • End-to-end latency under peak service load
  2. কেন একটি হাত হিসাব সঙ্গে একটি ক্ষতি বাস্তবায়ন তুলনা?
    • It proves the model will generalize
    • It can catch formula or reduction errors on a known example
    • It replaces training data quality checks
    • It guarantees the optimizer converges
  3. একটি ক্ষুদ্র-ওভারফিট পরীক্ষা কি সনাক্ত করতে সাহায্য করে?
    • Fairness across all subgroups
    • Reliable performance on unseen data
    • Potential training-path or gradient bugs
    • Production latency under load
  4. কিভাবে পরীক্ষার ফ্লোটিং-পয়েন্ট আউটপুট তুলনা করা উচিত?
    • Skip checks for all model outputs
    • Require exact bitwise equality on every device
    • Round every value to an integer
    • Use explicit tolerances appropriate to numerical precision
  5. কোন চেক একটি মডেল মোড়ক ইন্টারফেস পরীক্ষা অন্তর্গত?
    • A statistical calibration curve on a held-out set
    • One prediction per input row and clear rejection of malformed features
    • Subgroup performance estimates with confidence intervals
    • Training loss after a full retraining job
  6. Why separate unit tests from model-quality evaluation?
    • Quality metrics test only syntax
    • Unit tests cannot execute Python functions
    • Code correctness does not establish statistical usefulness
    • Model validation needs no data
  7. What can a finite-gradient assertion establish?
    • The model is calibrated
    • The gradients are mathematically optimal
    • The model has no bias
    • A basic gradient path exists for expected parameters
  8. Where should slow full-dataset training usually be placed?
    • In a separate integration or training validation stage
    • In every tiny unit test
    • Inside a feature-name assertion
    • In a package lockfile