object MeanAveragePrecision extends Serializable
- Alphabetic
- By Inheritance
- MeanAveragePrecision
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
classification(nClasses: Int, topK: Int = -1): MeanAveragePrecision[Float]
Calculate the Mean Average Precision (MAP) for classification output and target The algorithm follows VOC Challenge after 2007 Require class label beginning with 0
Calculate the Mean Average Precision (MAP) for classification output and target The algorithm follows VOC Challenge after 2007 Require class label beginning with 0
- nClasses
The number of classes
- topK
Take top-k confident predictions into account. If k=-1,calculate on all predictions
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
cocoBBox(nClasses: Int, topK: Int = -1, skipClass: Int = 0, iouThres: (Float, Float, Int) = (0.5f, 0.05f, 10)): MeanAveragePrecisionObjectDetection[Float]
Create MeanAveragePrecision validation method using COCO's algorithm for object detection.
Create MeanAveragePrecision validation method using COCO's algorithm for object detection. IOU computed by the bounding boxes
- nClasses
the number of classes (including skipped class)
- topK
only take topK confident predictions (-1 for all predictions)
- skipClass
skip calculating on a specific class (e.g. background) the class index starts from 0, or is -1 if no skipping
- iouThres
the IOU thresholds, (rangeStart, stepSize, numOfThres), inclusive
- returns
MeanAveragePrecisionObjectDetection
-
def
cocoSegmentation(nClasses: Int, topK: Int = -1, skipClass: Int = 0, iouThres: (Float, Float, Int) = (0.5f, 0.05f, 10)): MeanAveragePrecisionObjectDetection[Float]
Create MeanAveragePrecision validation method using COCO's algorithm for object detection.
Create MeanAveragePrecision validation method using COCO's algorithm for object detection. IOU computed by the segmentation masks
- nClasses
the number of classes (including skipped class)
- topK
only take topK confident predictions (-1 for all predictions)
- skipClass
skip calculating on a specific class (e.g. background) the class index starts from 0, or is -1 if no skipping
- iouThres
the IOU thresholds, (rangeStart, stepSize, numOfThres), inclusive
- returns
MeanAveragePrecisionObjectDetection
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
pascalVOC(nClasses: Int, useVoc2007: Boolean = false, topK: Int = -1, skipClass: Int = 0): MeanAveragePrecisionObjectDetection[Float]
Create MeanAveragePrecision validation method using Pascal VOC's algorithm for object detection
Create MeanAveragePrecision validation method using Pascal VOC's algorithm for object detection
- nClasses
the number of classes
- useVoc2007
if using the algorithm in Voc2007 (11 points). Otherwise, use Voc2010
- topK
only take topK confident predictions (-1 for all predictions)
- skipClass
skip calculating on a specific class (e.g. background) the class index starts from 0, or is -1 if no skipping
- returns
MeanAveragePrecisionObjectDetection
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )