ai.libs.jaicore.ml.core

Class SimpleLabeledInstancesImpl

  • java.lang.Object
    • java.util.AbstractCollection<E>
      • java.util.AbstractList<E>
        • java.util.ArrayList<LabeledInstance<java.lang.String>>
          • ai.libs.jaicore.ml.core.SimpleLabeledInstancesImpl
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      booleanadd(LabeledInstance<java.lang.String> instance) 
      voidaddAllFromJson(java.io.File jsonFile) 
      voidaddAllFromJson(com.fasterxml.jackson.databind.JsonNode jsonNode) 
      voidaddAllFromJson(java.lang.String json) 
      intgetNumberOfColumns() 
      intgetNumberOfRows() 
      java.util.ArrayList<java.lang.String>getOccurringLabels() 
      java.lang.StringtoJson() 
      • Methods inherited from class java.util.ArrayList

        add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
      • Methods inherited from class java.util.AbstractList

        equals, hashCode
      • Methods inherited from class java.util.AbstractCollection

        containsAll, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.List

        add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream
      • Methods inherited from interface java.lang.Iterable

        forEach
    • Constructor Detail

      • SimpleLabeledInstancesImpl

        public SimpleLabeledInstancesImpl()
      • SimpleLabeledInstancesImpl

        public SimpleLabeledInstancesImpl(java.lang.String json)                           throws java.io.IOException
        Throws:
        java.io.IOException
      • SimpleLabeledInstancesImpl

        public SimpleLabeledInstancesImpl(com.fasterxml.jackson.databind.JsonNode jsonNode)
      • SimpleLabeledInstancesImpl

        public SimpleLabeledInstancesImpl(java.io.File jsonFile)                           throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • add

        public boolean add(LabeledInstance<java.lang.String> instance)
        Specified by:
        add in interface java.util.Collection<LabeledInstance<java.lang.String>>
        Specified by:
        add in interface java.util.List<LabeledInstance<java.lang.String>>
        Overrides:
        add in class java.util.ArrayList<LabeledInstance<java.lang.String>>
      • addAllFromJson

        public void addAllFromJson(java.lang.String json)                    throws java.io.IOException
        Specified by:
        addAllFromJson in interface LabeledInstances<java.lang.String>
        Throws:
        java.io.IOException
      • addAllFromJson

        public void addAllFromJson(com.fasterxml.jackson.databind.JsonNode jsonNode)
      • addAllFromJson

        public void addAllFromJson(java.io.File jsonFile)                    throws java.io.IOException
        Specified by:
        addAllFromJson in interface LabeledInstances<java.lang.String>
        Throws:
        java.io.IOException


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14