model.predictProperties()를 사용하여 ee.FeatureCollection에 대해 예측합니다. 각 지형지물은 데이터 포인트이고 각 속성은 모델 입력 지형지물입니다. 입력과 출력은 스칼라 문자열 값, 스칼라 불리언 값 또는 스칼라에서 다차원 배열에 이르기까지 모든 모양의 숫자 값일 수 있습니다. 모델의 출력은 출력 표에 새 속성으로 표시됩니다.
입력 및 출력
모델의 입력과 출력을 제어하려면 다음 인수를 사용하세요.
inputProperties
입력 속성을 호스팅된 모델에 명시적으로 전송하려는 속성 목록으로 설정합니다.
inputTypeOverride
inputTypeOverride는 특정 유형 및 측정기준 정보가 제공된 속성 이름 사전입니다. 많은 Earth Engine 알고리즘이 런타임까지 추론할 수 없는 동적 유형으로 출력을 생성하기 때문에 이 작업이 필요할 수 있습니다.
예를 들어 컬렉션에 ee.Terrain.slope 함수를 매핑하여 값 'slope'를 계산할 수 있습니다. 추론 입력에서 'slope'의 출력 유형을 다음과 같이 지정해야 할 수 있습니다.
팁: 속성을 '텐서로 변환할 수 없습니다'라는 오류 메시지가 표시될 수 있습니다. 유형 재정의를 사용하여 입력을 특정 유형으로 강제하는 것이 좋습니다.
outputProperties
출력 속성 이름과 출력 속성 정보 사전 간의 매핑입니다. 유효한 속성 정보 필드는 '유형' 및 '측정기준'입니다. 'type'은 출력 속성을 설명하는 ee.PixelType여야 하며 'dimensions'는 배열인 경우 해당 속성의 크기 수를 나타내는 정수(선택사항)입니다. 예를 들어 1D 배열 속성 'p'가 주어지면 다음 출력 속성을 지정합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-10-01(UTC)"],[[["Use `model.predictProperties()` to generate predictions on an `ee.FeatureCollection` where each Feature represents a data point and each property is a model input feature."],["Control model inputs and outputs with `inputProperties`, `inputTypeOverride`, and `outputProperties` arguments within `model.predictProperties()`."],["`inputTypeOverride` helps define specific type and dimension information for properties, particularly those with dynamic types derived from Earth Engine algorithms."],["`outputProperties` defines the type and dimensions of expected model outputs, including specifying array properties using `ee.PixelType` and `dimensions`."]]],[]]