ヒストグラムノードのプロパティ

ヒストグラム・ノード・アイコンヒストグラムノードは、数値フィールドの値の出現頻度を示します。 これは、操作やモデル構築の前にデータを調査するために頻繁に使用されます。 分布ノードと同様に、ヒストグラムノードはデータの不均衡を頻繁に明らかにします。

stream = modeler.script.stream()
typenode = stream.findByID("id42KW3MSA94B")

node = stream.create("histogram", "My node")
stream.link(typenode, node)

# "Plot" tab
node.setPropertyValue("field", "Drug")
node.setPropertyValue("color_field", "Drug")
node.setPropertyValue("panel_field", "Sex")
# "Options" tab
node.setPropertyValue("range_mode", "UserDefined")
node.setPropertyValue("range_min", 1.0)
node.setPropertyValue("range_max", 100.0)
node.setPropertyValue("num_bins", 10)
node.setPropertyValue("normalize", True)
node.setPropertyValue("separate_bands", False)
表 1. histogramnode プロパティー
histogramnode properties データ・タイプ プロパティーの説明
field フィールド  
color_field フィールド  
panel_field フィールド  
animation_field フィールド  
range_mode Automatic UserDefined  
range_min 番号になります  
range_max 番号になります  
bins ByNumber ByWidth  
num_bins 番号になります  
bin_width 番号になります  
normalize フラグ  
separate_bands フラグ  
x_label_auto フラグ  
x_label ストリング  
y_label_auto フラグ  
y_label ストリング  
use_grid フラグ  
graph_background カラー 標準のグラフの色は、このセクションの冒頭で説明されています。
page_background カラー 標準のグラフの色は、このセクションの冒頭で説明されています。
normal_curve フラグ 正規分布曲線を結果に表示するかどうかを指定します。