공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ee.Classifier.setOutputMode
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
분류기의 출력 형식을 설정합니다.
각 분류기에 지원되는 모드 목록은 https://developers.google.com/earth-engine/guides/classification을 참고하세요.
사용 | 반환 값 |
---|
Classifier.setOutputMode(mode) | 분류 기준 |
인수 | 유형 | 세부정보 |
---|
this: classifier | 분류 기준 | 입력 분류 기준 |
mode | 문자열 | 출력 모드입니다. 다음 중 하나입니다.
- CLASSIFICATION (기본값): 출력은 클래스 번호입니다.
- REGRESSION: 출력은 표준 회귀의 결과입니다.
- PROBABILITY: 출력은 분류가 올바를 확률입니다.
- MULTIPROBABILITY: 출력은 각 클래스가 올바른지 여부에 관한 확률 배열로, 확인된 클래스 순으로 정렬됩니다.
- RAW: 출력은 분류 프로세스의 내부 표현 배열입니다. 예를 들어 다중 결정 트리 모델의 원시 투표가 여기에 해당합니다.
- RAW_REGRESSION: 출력은 회귀 프로세스의 내부 표현 배열입니다. 예를 들어 여러 회귀 트리의 원시 예측이 여기에 해당합니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eSets the output mode for a classifier, impacting how results are presented.\u003c/p\u003e\n"],["\u003cp\u003eOffers various output modes like CLASSIFICATION, REGRESSION, PROBABILITY, MULTIPROBABILITY, RAW, and RAW_REGRESSION, each providing different data representations.\u003c/p\u003e\n"],["\u003cp\u003eNot all classifiers support every output mode; CLASSIFICATION is the default.\u003c/p\u003e\n"],["\u003cp\u003eThe setOutputMode function takes a string argument representing the desired mode and returns the classifier instance.\u003c/p\u003e\n"]]],[],null,["# ee.Classifier.setOutputMode\n\nSets a classifier's output format.\n\n\u003cbr /\u003e\n\nRefer to https://developers.google.com/earth-engine/guides/classification for a list of supported modes for each classifier.\n\n| Usage | Returns |\n|----------------------------------|------------|\n| Classifier.setOutputMode`(mode)` | Classifier |\n\n| Argument | Type | Details |\n|--------------------|------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `classifier` | Classifier | An input classifier. |\n| `mode` | String | The output mode. One of: - CLASSIFICATION (default): The output is the class number. - REGRESSION: The output is the result of standard regression. - PROBABILITY: The output is the probability that the classification is correct. - MULTIPROBABILITY: The output is an array of probabilities that each class is correct ordered by classes seen. - RAW: The output is an array of the internal representation of the classification process. For example, the raw votes in multi-decision tree models. - RAW_REGRESSION: The output is an array of the internal representation of the regression process. For example, the raw predictions of multiple regression trees. |"]]