kmeansnode 특성
마지막 업데이트 날짜: 2025년 2월 11일
K-평균 노드는 데이터 세트를 고유 그룹(또는 군집)으로 군집화합니다. 이 방법은
고정된 수의 군집을 정의하고 반복적으로 레코드를 군집에 지정하며,
추가 세분화가 더 이상 모델을 향상시킬 수 없을 때까지 군집중심을 조정합니다. 결과를 예상하는 대신 k-평균은 자율 학습으로 알려진 프로세스를 사용하여 입력 필드 세트의 패턴을 찾아냅니다.
예
node = stream.create("kmeans", "My node")
# "Fields" tab
node.setPropertyValue("custom_fields", True)
node.setPropertyValue("inputs", ["Cholesterol", "BP", "Drug", "Na", "K", "Age"])
# "Model" tab
node.setPropertyValue("use_model_name", True)
node.setPropertyValue("model_name", "Kmeans_allinputs")
node.setPropertyValue("num_clusters", 9)
node.setPropertyValue("gen_distance", True)
node.setPropertyValue("cluster_label", "Number")
node.setPropertyValue("label_prefix", "Kmeans_")
node.setPropertyValue("optimize", "Speed")
# "Expert" tab
node.setPropertyValue("mode", "Expert")
node.setPropertyValue("stop_on", "Custom")
node.setPropertyValue("max_iterations", 10)
node.setPropertyValue("tolerance", 3.0)
node.setPropertyValue("encoding_value", 0.3)
특성 |
값 | 특성 설명 |
---|---|---|
|
[field1 ... fieldN] | K-평균 모델은 입력 필드 세트에 대한 군집분석을 수행하지만 대상 필드를 사용하지 않습니다. 가중치 및 빈도 필드는 사용하지 않습니다. 자세한 정보는 공통 모델링 노드 특성 을 참조하십시오. |
|
Number | |
|
플래그 | |
|
|
|
|
문자열 | |
|
|
|
|
|
|
|
Number | |
|
Number | |
|
Number | |
|
|
모델 작성이 속도 또는 메모리에 대해 최적화되어야 하는지 여부를 지정합니다. |
주제가 도움이 되었습니까?
0/1000