SparseReader Methods |
The SparseReader type exposes the following members.
Name | Description | |
---|---|---|
Dispose |
Performs application-defined tasks associated with
freeing, releasing, or resetting unmanaged resources.
| |
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Releases unmanaged resources and performs other cleanup operations before the
SparseReader is reclaimed by garbage collection.
(Overrides ObjectFinalize.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Read(SparseDouble, Boolean) |
Reads a sample from the file and returns it as a
SparseT sparse vector, together with
its associated output value.
| |
Read(SparseDouble, Double) |
Reads a sample from the file and returns it as a
SparseT sparse vector, together with
its associated output value.
| |
Read(SparseDouble, Int32) |
Reads a sample from the file and returns it as a
SparseT sparse vector, together with
its associated output value.
| |
Read(Int32, SparseDouble, Boolean) |
Reads count samples from the file and returns
them as a SparseT sparse vector, together with
their associated output values.
| |
Read(Int32, SparseDouble, Double) |
Reads count samples from the file and returns
them as a SparseT sparse vector, together with
their associated output values.
| |
Read(Int32, SparseDouble, Int32) |
Reads count samples from the file and returns
them as a SparseT sparse vector, together with
their associated output values.
| |
ReadDense |
Reads a sample from the file and returns it as a
dense vector, together with its associated output value.
| |
ReadDense(Int32) |
Reads count samples from the file and returns
them as a SparseT sparse vector, together with
their associated output values.
| |
ReadDenseToEnd |
Reads all samples from the file and returns them as a
dense vector, together with their associated output values.
| |
ReadLine |
Reads one line from the feature file, returning the array of values
for the sparse vector and its corresponding label.
| |
ReadSparse |
Reads a sample from the file and returns it as a
SparseT sparse vector, together with
its associated output value.
| |
ReadSparse(Int32) |
Reads count samples from the file and returns
them as a SparseT sparse vector, together with
their associated output values.
| |
ReadSparseToEnd |
Reads all samples from the file and returns them as a
SparseT sparse vector, together with
their associated output values.
| |
ReadToEnd(SparseDouble, Boolean) |
Reads all samples from the file and returns them as a
SparseT sparse vector, together with
their associated output values.
| |
ReadToEnd(SparseDouble, Double) |
Reads all samples from the file and returns them as a
SparseT sparse vector, together with
their associated output values.
| |
ReadToEnd(SparseDouble, Int32) |
Reads all samples from the file and returns them as a
SparseT sparse vector, together with
their associated output values.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |
To(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.) | |
ToT | 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.) |