All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.index.rankeval.PrecisionAtK.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?/com/groupbyinc/flux/index/rankeval/PrecisionAtKjava/lang/Object3com/groupbyinc/flux/index/rankeval/EvaluationMetricPrecisionAtK.java6com/groupbyinc/flux/index/rankeval/PrecisionAtK$DetailDetail5com/groupbyinc/flux/common/xcontent/ToXContent$Params.com/groupbyinc/flux/common/xcontent/ToXContent
Params%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookupNAMELjava/lang/String;	precisionRELEVANT_RATING_FIELD'Lcom/groupbyinc/flux/common/ParseField;IGNORE_UNLABELED_FIELDK_FIELD	DEFAULT_KI
ignoreUnlabeledZrelevantRatingThreshholdkPARSER>Lcom/groupbyinc/flux/common/xcontent/ConstructingObjectParser;?Lcom/groupbyinc/flux/common/xcontent/ConstructingObjectParser;(IZI)V()V')
*"java/lang/IllegalArgumentException,ARelevant rating threshold for precision must be positive integer..(Ljava/lang/String;)V'0
-1Window size k must be positive.3"	5 !	7#	9this1Lcom/groupbyinc/flux/index/rankeval/PrecisionAtK;	threshold'(
>5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Vjava/io/IOExceptionA0com/groupbyinc/flux/common/io/stream/StreamInputCreadVInt()IEF
DGreadBoolean()ZIJ
DKin2Lcom/groupbyinc/flux/common/io/stream/StreamInput;getKwriteTo6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V1com/groupbyinc/flux/common/io/stream/StreamOutputR	writeVInt(I)VTU
SVwriteBoolean(Z)VXY
SZout3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;getWriteableName()Ljava/lang/String;getRelevantRatingThresholdgetIgnoreUnlabeledforcedSearchSize()Ljava/util/Optional;java/lang/IntegerdvalueOf(I)Ljava/lang/Integer;fg
ehjava/util/Optionaljof((Ljava/lang/Object;)Ljava/util/Optional;lm
knfromXContentg(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/index/rankeval/PrecisionAtK;$%	r;Ljava/util/Optional;hit3Lcom/groupbyinc/flux/index/rankeval/RatedSearchHit;taskIdhits	ratedDocsDLjava/util/List;Ljava/util/List;
truePositivesfalsePositivesratedSearchHitsELjava/util/List;DevalQueryQuality5Lcom/groupbyinc/flux/index/rankeval/EvalQueryQuality;
toXContent?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;3com/groupbyinc/flux/common/xcontent/XContentBuilder?startObject7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??	?%com/groupbyinc/flux/common/ParseField?getPreferredName?_
??fieldJ(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??	?J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??	?	endObject??
??builder5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;params7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;equals(Ljava/lang/Object;)ZgetClass()Ljava/lang/Class;??
?java/util/Objects?'(Ljava/lang/Object;Ljava/lang/Object;)Z??
??java/lang/Boolean?(Z)Ljava/lang/Boolean;f?
??objLjava/lang/Object;otherhashCodehash([Ljava/lang/Object;)I??
??lambda$static$0F([Ljava/lang/Object;)Lcom/groupbyinc/flux/index/rankeval/PrecisionAtK;[Ljava/lang/Object;booleanValueJ
?args
threshHoldLjava/lang/Integer;Ljava/lang/Boolean;relevant_rating_threshold((Ljava/lang/String;[Ljava/lang/String;)V'
?ignore_unlabeled#"java/lang/invoke/LambdaMetafactorymetafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
&(Ljava/lang/Object;)Ljava/lang/Object;
()Ljava/util/function/Function;v!"2(Ljava/lang/String;Ljava/util/function/Function;)V'$
u%optionalConstructorArg!()Ljava/util/function/BiConsumer;'(
u)
declareIntI(Ljava/util/function/BiConsumer;Lcom/groupbyinc/flux/common/ParseField;)V+,
u-declareBoolean/,
u0
ConstantValue	SignatureCodeLocalVariableTableLineNumberTable
StackMapTable
Exceptions+()Ljava/util/Optional;LocalVariableTypeTable?(Ljava/lang/String;[Lcom/groupbyinc/flux/search/SearchHit;Ljava/util/List;)Lcom/groupbyinc/flux/index/rankeval/EvalQueryQuality;BootstrapMethods
SourceFileInnerClasses!	22 !"#$%3&'(4?0*?+?
?-Y/?2??
?-Y4?2?*?6*?8*?:?5*0;<0=0 !0#6&	MNOQR T%U*V/W7?
')47	*
???5	;<6
Z['@4a*?+*+?H?6*+?L?8*+?H?:?5;<MN6mnopq8BOF4/*?:?5;<6tPQ4Y+*?6?W+*?8?[+*?:?W?5;<\]6yz{|8B^_4-?5;<6?`F4/*?6?5;<6?aJ4/*?8?5;<6?bc45*?:?i?o?5;<6?39	pq46?s*?y??5z{6?|}4?
?66,-??:??:???I????:??:		???!	???e??*?6?	????
*?8?????9`??`?o9??Y+??:		?	Y`????	??	?5p30??	,7???;<????????????
???i=????	: 30??	???
???6N???
?,?3?;?M?S?Y?`?c?f?i?q?}???????71???????<?k?	??3;??4?E+??W+??W+?ж?*?6??W+?۶?*?8??W+???*?:??W+??W+??W+?5 E;<E??E??6"????*?9?>?C?8B??4?_*+??+?*??+????+?M*?6?i,?6?i??/*?:?i,?:?i??*?8??,?8??????5 _;<_??B?<6&	??????5?I?^?7
?D@?F4P&?Y*?6?iSY*?8??SY*?:?iS???5&;<6?
4IB*2?eL*2??M*2?eN?Y+??+??,??,?-?
?-?????5*B;	4 
-#	6_`ab%c1dAb7??!e?e?e?e?e?e?e?e?e?e?e?e)4?i??Y
????л?Y????ۻ?Y?????uY?#?&?s?s?*?ж.?s?*?۶1?s?*??.?6"78"93]DhPi\jhk< =>	
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy