vbscript 提供基于损失评估线的动态数据值的覆盖选择规则

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vbscript 提供基于损失评估线的动态数据值的覆盖选择规则相关的知识,希望对你有一定的参考价值。

Dim objClaim As clsClaim
Dim objLossDescription  as ClsLossDescription

'by default we do not subscribe the provided coverage
Result(0)=4 'tSubscriptionType cSUBSCRIPTION_DO_NOT_SUBSCRIBE

objClaim = GetObjectToBeUsedForThisClass(GetType(clsClaim).Name, ListOfObjectsToBeUsedInFormula)
if objClaim Isnot nothing then
	Trace("objClaim found " & objClaim.AsString(""), 7)
	
	for each objLossDescription in objClaim.ListOfLossDescriptions
		Trace("objLoss Desc " & objLossDescription.asString(""),7)
		if objLossDescription.MyLossEvaluation isnot nothing then
			Trace("MyLossEvaluation " & objLossDescription.MyLossEvaluation.AsString(""), 7)
			
			dim objLossEvaluationLine as clsLossEvaluationLine
			for each objLossEvaluationLine in objLossDescription.MyLossEvaluation.ListOfEvaluationLines
				dim objPrejudiceNiveau4=clsDynamicMethodOrPropertyCall.Manager.ValueForAPropertyName(objLossEvaluationLine ,"PrejudiceNivequatre",Nothing,True)				
				Trace("objPrejudiceNiveau4 " & objPrejudiceNiveau4, 7)
				if objPrejudiceNiveau4=1 '1	D?penses de sant? actuelles (D.S.A.)	D?penses de sant? actuelles (D.S.A.)
					result(0)=3    'cSUBSCRIPTION_TYPE_NOT_SUBSCRIBED_BY_DEFAULT
					exit for
				end if
			next
		else
			Trace("MyLossEvaluation NOT found", 7)
		end if
		if result(0)=3
			exit for
		end if
	next
else
	Trace("objClaim  not found " , 7)
end if

以上是关于vbscript 提供基于损失评估线的动态数据值的覆盖选择规则的主要内容,如果未能解决你的问题,请参考以下文章

vbscript 获取当前评估行的动态数据

模型评估与模型选择

sklearn基于make_scorer函数构建自定义损失函数或者评估指标

vbscript 仅在第一次损失流程通知中显示索赔数据

vbscript 获取当前损失描述的日期数据,并测试日期是否已填写

模型评估与模型选择