Skip to content

Commit 4cb44f9

Browse files
deepnettsdeepnetts
authored andcommitted
Java doc updated
1 parent eeed041 commit 4cb44f9

File tree

8 files changed

+36
-10
lines changed

8 files changed

+36
-10
lines changed

src/main/java/javax/visrec/ml/classification/Classifiable.java

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
package javax.visrec.ml.classification;
22

33
/**
4-
* Classes that implement this interface enable direct classification of Java objects, no need to manually convert to data structures used internally by ML.
5-
* Simplifies usage and integration
6-
* This interface should be implemented for classes whose objects we want to be able to classify.Instances of classes that implement this interface can be classified, and used as examples
7-
* to build machine learning based classifiers.Typical implementation scenario is to wrap domain specific class and implement this interface.
4+
* Classes that implement this interface enable direct classification of Java objects,
5+
* no need to manually convert to data structures used internally by ML.
6+
*
7+
* This interface simplifies usage and integration of machine learning based classifiers with Java objects.
8+
* It should be implemented by classes whose objects we want to be able to classify.
9+
* Instances of classes that implement this interface can be used as examples
10+
* to build machine learning based classifiers.
11+
* Typical implementation scenario is to wrap domain specific class and implement this interface.
812
*
913
* Classifiable<T, C> can be classfied by the Classifier<T, C> (with the same T and C)
1014
*
1115
* @param <T> Type of input for classifier
12-
* @param <C> Type of class instances (could be anything like enum, String, Integer or user defined class)
16+
* @param <C> Type of categories/labels (could be anything like enum, String, Integer or user defined class)
1317
*/
1418
public interface Classifiable<T, C> {
1519

src/main/java/javax/visrec/ml/classification/Classifier.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
package javax.visrec.ml.classification;
22

33
/**
4-
* Classifier answers the question what is the category/type of an input object.
5-
* Each category/type has corresponding label or class name, which can be String, Enum or custom user defined class.
6-
* This is a generic classifier interface, that all classifiers should implement, and
4+
* Generic classifier interface, that all classifiers should implement, and
75
* it provides a method to classify given instances of some class.
6+
* Each category/type has corresponding label or class, which can be String, Enum or custom user defined class.
7+
* Machine learning based classifier can learn from examples how to determine a
8+
* category of an input object with high degree of confidence.
9+
*
810
* <p>
911
* Implementations should specify input type <T> of instances that are classified,
1012
* and type of the returned vales <R>.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* Classification represents task of determining a category of a given object.
3+
* Machine learning classifiers are able to learn from examples how to determine
4+
* a category for a given object, that has not seen before
5+
* (although it should be similar to examples that were used to build a classifier).
6+
*/
7+
package javax.visrec.ml.classification;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/**
2+
* A collection of example data used to build/train machine learning model.
3+
* The goal of this package is to have reusable data abstractions with common operations for building machine learning models.
4+
*/
5+
package javax.visrec.ml.data;
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/**
2+
* Data preprocessing techniques used to prepare data for building machine learning models.
3+
*/
4+
package javax.visrec.ml.data.preprocessing;

src/main/java/javax/visrec/ml/detection/ObjectDetector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
public interface ObjectDetector<T> {
1515

1616
/**
17-
* Detects object in specified image
17+
* Detects object in specified image and returns a map with detected objects in bounding boxes.
1818
*
1919
* @param image image to search for object
2020
* @return a map of multiple {@link BoundingBox}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/**
2+
* Object detection algorithms.
3+
*/
4+
package javax.visrec.ml.detection;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Visual recognition API provides reusable abstractions for visual recognition tasks based on machine learning,
2+
* Reusable abstractions for visual recognition tasks based on machine learning,
33
* that simplify implementation and integration of various machine learning models and image types.
44
*/
55
package javax.visrec;

0 commit comments

Comments
 (0)