Click or drag to resize
Accord.NET (logo)

SparseReader Methods

The SparseReader type exposes the following members.

Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the SparseReader is reclaimed by garbage collection.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRead(SparseDouble, Boolean)
Public methodRead(SparseDouble, Double)
Public methodRead(SparseDouble, Int32)
Public methodRead(Int32, SparseDouble, Boolean)
Reads count samples from the file and returns them as a SparseT sparse vector, together with their associated output values.
Public methodRead(Int32, SparseDouble, Double)
Reads count samples from the file and returns them as a SparseT sparse vector, together with their associated output values.
Public methodRead(Int32, SparseDouble, Int32)
Reads count samples from the file and returns them as a SparseT sparse vector, together with their associated output values.
Public methodReadDense
Reads a sample from the file and returns it as a dense vector, together with its associated output value.
Public methodReadDense(Int32)
Reads count samples from the file and returns them as a SparseT sparse vector, together with their associated output values.
Public methodReadDenseToEnd
Reads all samples from the file and returns them as a dense vector, together with their associated output values.
Public methodReadLine
Reads one line from the feature file, returning the array of values for the sparse vector and its corresponding label.
Public methodReadSparse
Public methodReadSparse(Int32)
Reads count samples from the file and returns them as a SparseT sparse vector, together with their associated output values.
Public methodReadSparseToEnd
Reads all samples from the file and returns them as a SparseT sparse vector, together with their associated output values.
Public methodReadToEnd(SparseDouble, Boolean)
Reads all samples from the file and returns them as a SparseT sparse vector, together with their associated output values.
Public methodReadToEnd(SparseDouble, Double)
Reads all samples from the file and returns them as a SparseT sparse vector, together with their associated output values.
Public methodReadToEnd(SparseDouble, Int32)
Reads all samples from the file and returns them as a SparseT sparse vector, together with their associated output values.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(Type)Overloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
See Also