diff --git a/examples/annotation_import/image.ipynb b/examples/annotation_import/image.ipynb index 98d720816..fdab855ae 100644 --- a/examples/annotation_import/image.ipynb +++ b/examples/annotation_import/image.ipynb @@ -271,7 +271,6 @@ "# Bounding box with nested classification\n", "bbox_with_radio_subclass_annotation = lb_types.ObjectAnnotation(\n", " name=\"bbox_with_radio_subclass\",\n", - " confidence=0.5, # must match your ontology feature's name\n", " value=lb_types.Rectangle(\n", " start=lb_types.Point(x=933, y=541), # Top left\n", " end=lb_types.Point(x=191, y=330), # Bottom right\n", @@ -279,7 +278,7 @@ " classifications=[\n", " \tlb_types.ClassificationAnnotation(\n", " \tname=\"sub_radio_question\",\n", - " \t\tvalue=lb_types.Radio(answer=lb_types.ClassificationAnswer(name=\"first_sub_radio_answer\", confidence=0.5))\n", + " \t\tvalue=lb_types.Radio(answer=lb_types.ClassificationAnswer(name=\"first_sub_radio_answer\"))\n", " )\n", " ]\n", ")\n", @@ -313,7 +312,6 @@ "# Python AnotationTypes \n", "polygon_annotation = lb_types.ObjectAnnotation(\n", " name = \"polygon\", # must match your ontology feature's name \n", - " confidence = 0.5, \n", " value=lb_types.Polygon( # Coordinates for the verticies of your polygon\n", " points=[lb_types.Point(x=1489.581,y=183.934), lb_types.Point(x=2278.306,y=256.885), lb_types.Point(x=2428.197,y=200.437), lb_types.Point(x=2560.0,y=335.419),\n", " lb_types.Point(x=2557.386,y=503.165), lb_types.Point(x=2320.596,y=503.103), lb_types.Point(x=2156.083, y=628.943), lb_types.Point(x=2161.111,y=785.519),\n", @@ -401,7 +399,6 @@ "# Python Annotation\n", "point_annotation = lb_types.ObjectAnnotation(\n", " name = \"point\", # must match your ontology feature's name\n", - " confidence=0.5,\n", " value = lb_types.Point(x=1166.606, y=1441.768),\n", ")\n", "\n", @@ -865,4 +862,4 @@ "execution_count": null } ] -} \ No newline at end of file +}