Bài kiểm tra có liên kết hướng dẫn · Trung bình Cấp độ
Từ sổ ghi chép Jupyter đến bài kiểm tra mã sản xuất
Tái cấu trúc việc khám phá sổ ghi chép thành các mô-đun có thể tái sử dụng, cấu hình rõ ràng, thực thi rõ ràng, kiểm tra và đường dẫn suy luận sản xuất.
Câu hỏi 1 của 8
Máy tính xách tay có thể gây ra vấn đề trạng thái ẩn nào?
Xem trước mọi câu hỏi8 câu hỏi
Câu trả lời và giải thích xuất hiện khi bạn làm bài kiểm tra.
- Máy tính xách tay có thể gây ra vấn đề trạng thái ẩn nào?
- Cells always execute in the order shown, regardless of user actions
- Variables are cleared automatically after each cell
- Cells may depend on variables created by earlier out-of-order execution
- Outputs rerun whenever source code is edited
- Tại sao phải khởi động lại kernel và thực thi mọi ô trước khi dựa vào kết quả của sổ ghi chép?
- To preserve stale variables for later cells
- To verify the workflow runs from a clean state
- To avoid dependency and input setup
- To make model results identical on all hardware
- Làm cách nào để phân tích sổ ghi chép có thể chia sẻ quá trình chuyển đổi tính năng ổn định với một ứng dụng?
- Copy it manually into each notebook and service
- Leave it only in output cells
- Reimplement it from memory during deployment
- Move it into tested code that both notebook and application can import
- Tùy chọn nào làm cho vị trí đầu vào trở nên rõ ràng mà không cần nhúng nó vào mã có thể sử dụng lại?
- A configuration value or explicit command-line argument
- A machine-specific path embedded in the function
- A path inferred from the last working directory
- A value held only in a previous notebook kernel
- Đường dẫn suy luận sản xuất nên làm gì với quy trình mô hình đã lưu?
- Rerun the training notebook on each request
- Fit preprocessing on incoming test labels
- Load the matching preprocessing and model artifacts
- Read variables from an old notebook kernel
- Why should notebook outputs be reviewed before committing?
- They automatically encrypt private data
- They can expose sensitive examples, grow diffs or become stale
- They guarantee the notebook will run
- They are the only place to save source code
- What does a clean nbconvert execution check provide?
- Proof of scientific validity
- A guarantee of production latency
- Automatic model monitoring
- Evidence that cells run in sequence without unhandled exceptions
- Which additional concerns remain after notebook code is extracted?
- Monitoring, permissions, latency and rollback
- Refactoring code removes any need for deployment monitoring
- Saving a Python file automatically adds rollback
- A service can safely share broad access by default