Which of the following is NOT a type of interface in scikit-learn?
4 phương ánCó giải thích
Các phương án trả lời
Chọn một phương ánLời giảiChọn phương án để mở
Đáp án đúng: "Classifier interface". Đây là câu phủ định: scikit-learn thiết kế API quanh ba giao diện chính là Estimator (có fit để học từ dữ liệu), Predictor (có predict và thường kèm score) và Transformer (có transform cùng fit_transform); các bộ phân loại như LogisticRegression chỉ là đối tượng vừa là estimator vừa là predictor, chứ thư viện không định nghĩa một giao diện riêng mang tên Classifier. "Transformer interface" là giao diện thật nên không chọn, dùng cho các bước tiền xử lý như StandardScaler hay PCA. "Estimator interface" là giao diện thật, nền của mọi đối tượng học được bằng fit, kể cả mô hình lẫn bộ tiền xử lý. "Predictor interface" là giao diện thật, cho phép mô hình đã huấn luyện sinh dự đoán trên dữ liệu mới bằng predict.
Cùng phần 4
What is the purpose of the classification_report in sklearn?Có lời giảiCâu hỏiIn the context of NLP, what does sentiment analysis refer to?Có lời giảiCâu hỏiProcessing the corpus with the provided lemmatize_document reduces the total number of tokens to what percentage of the original?Có lời giảiCâu hỏiCả 34 câu của chủ đề34 câu