資料の 英語版 に戻る

evaluationnode プロパティー

最終更新: 2025年2月11日
evaluationnode プロパティー

評価ノード・アイコン評価ノードは、予測モデルの評価と比較に用いられます。 評価グラフで、モデルが特定の結果をどの程度予測するかを表示します。 それによって、予測値と予測の確信度に基づいたレコードがソートされます。 そして、レコードが等サイズ (分位) のグループに分割され、各分位のビジネスに関する基準の値が、高い方から降順で作図されます。 プロットには、複数のモデルが異なる線で示されます。

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

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

# "Plot" tab
node.setPropertyValue("chart_type", "Gains")
node.setPropertyValue("cumulative", False)
node.setPropertyValue("field_detection_method", "Name")
node.setPropertyValue("inc_baseline", True)
node.setPropertyValue("n_tile", "Deciles")
node.setPropertyValue("style", "Point")
node.setPropertyValue("plot_score_fields", True)
node.setPropertyValue("score_fields", ["Na", "K", "Age"])
node.setPropertyValue("use_fixed_cost", True)
node.setPropertyValue("cost_value", 5.0)
node.setPropertyValue("target_field", "Drug")
node.setPropertyValue("cost_field", "Na")
node.setPropertyValue("use_fixed_revenue", True)
node.setPropertyValue("revenue_value", 30.0)
node.setPropertyValue("revenue_field", "Age")
node.setPropertyValue("use_fixed_weight", True)
node.setPropertyValue("weight_value", 2.0)
node.setPropertyValue("weight_field", "K")
表 1. evaluationnode プロパティー
evaluationnodeプロパティー データ・タイプ プロパティーの説明
chart_type Gains
Response
Lift
Profit
ROI
ROC
 
inc_baseline フラグ  
field_detection_method Metadata
Name
 
use_fixed_cost フラグ  
cost_value 数値  
cost_field string  
use_fixed_revenue フラグ  
revenue_value 数値  
revenue_field string  
use_fixed_weight フラグ  
weight_value 数値  
weight_field フィールド  
n_tile Quartiles
Quintles
Deciles
Vingtiles
Percentiles
1000-tiles
 
cumulative フラグ  
style Line
Point
 
point_type Rectangle
Dot
Triangle
Hexagon
Plus
Pentagon
Star
BowTie
HorizontalDash
VerticalDash
IronCross
Factory
House
Cathedral
OnionDome
ConcaveTriangle OblateGlobe
CatEye
FourSidedPillow
RoundRectangle
Fan
 
export_data フラグ  
data_filename string  
delimiter string  
new_line フラグ  
inc_field_names フラグ  
inc_best_line フラグ  
inc_business_rule フラグ  
business_rule_condition string  
plot_score_fields フラグ  
score_fields [field1 ... fieldN]  
target_field フィールド  
use_hit_condition フラグ  
hit_condition string  
use_score_expression フラグ  
score_expression string  
caption_auto フラグ  
split_by_partition ブール値 レコードを学習サンプル、検定サンプル、および検証サンプルに分割するためにデータ区分フィールドを使用する場合は、このオプションを使用して、データ区分ごとに別個の評価グラフを表示します。
use_profit_criteria ブール値 プロフィット基準を有効にします。
use_grid ブール値 グリッド線を表示します。