ai.libs.jaicore.ml.core

Class SimpleInstancesImpl

  • java.lang.Object
    • java.util.AbstractCollection<E>
      • java.util.AbstractList<E>
        • java.util.ArrayList<Instance>
          • ai.libs.jaicore.ml.core.SimpleInstancesImpl
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      booleanadd(double[] values) 
      booleanadd(Instance instance) 
      voidaddAllFromJson(java.io.File jsonFile) 
      voidaddAllFromJson(com.fasterxml.jackson.databind.JsonNode jsonNode) 
      voidaddAllFromJson(java.lang.String json) 
      intgetNumberOfColumns() 
      intgetNumberOfRows() 
      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

      • SimpleInstancesImpl

        public SimpleInstancesImpl()
      • SimpleInstancesImpl

        public SimpleInstancesImpl(int initialCapacity)
      • SimpleInstancesImpl

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

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

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

      • add

        public boolean add(double[] values)
      • add

        public boolean add(Instance instance)
        Specified by:
        add in interface java.util.Collection<Instance>
        Specified by:
        add in interface java.util.List<Instance>
        Overrides:
        add in class java.util.ArrayList<Instance>
      • toJson

        public java.lang.String toJson()
        Specified by:
        toJson in interface Instances
      • addAllFromJson

        public void addAllFromJson(java.lang.String json)                    throws java.io.IOException
        Specified by:
        addAllFromJson in interface Instances
        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 Instances
        Throws:
        java.io.IOException


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