BasicFile ClassEncog Machine Learning Framework for .Net
Many of the Encog quant CSV processors are based upon this class. This class is not useful on its own. However, it does form the foundation for most Encog CSV file processing.
Inheritance Hierarchy

System Object
  Encog.App.Analyst.CSV.Basic BasicFile
    Encog.App.Analyst.CSV AnalystClusterCSV
    Encog.App.Analyst.CSV AnalystEvaluateCSV
    Encog.App.Analyst.CSV AnalystEvaluateRawCSV
    Encog.App.Analyst.CSV.Balance BalanceCSV
    Encog.App.Analyst.CSV.Basic BasicCachedFile
    Encog.App.Analyst.CSV EvaluateRawCSV
    Encog.App.Analyst.CSV.Filter FilterCSV
    Encog.App.Analyst.CSV.Normalize AnalystNormalizeCSV
    Encog.App.Analyst.CSV.Process AnalystProcess
    Encog.App.Analyst.CSV.Segregate SegregateCSV
    Encog.App.Analyst.CSV.Shuffle ShuffleCSV
    Encog.App.Analyst.CSV.Sort SortCSV

Namespace: Encog.App.Analyst.CSV.Basic
Assembly: encog-core-cs (in encog-core-cs.dll) Version: (

public class BasicFile : QuantTask

The BasicFile type exposes the following members.


Public methodBasicFile
Construct the object, and set the defaults.

Public methodStatic memberAppendSeparator
Append a separator. The separator will only be appended if the line is not empty. This is used to build comma(or other) separated lists.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(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 methodPerformBasicCounts
Perform a basic analyze of the file. This method is used mostly internally.
Public methodPrepareOutputFile
Prepare the output file, write headers if needed.
Public methodReadHeaders
Read the headers from a CSV file. Used mostly internally.
Public methodReportDone(Boolean)
Report that we are done. Used internally.
Public methodReportDone(String)
Report that we are done. Used internally.
Public methodRequestStop
Request a stop.
Public methodResetStatus
Reset the reporting stats. Used internally.
Public methodShouldStop
Public methodToString
Returns a string that represents the current object.
(Overrides Object ToString .)
Public methodUpdateStatus(Boolean)
Update the status. Used internally.
Public methodUpdateStatus(String)
Report the current status.
Public methodValidateAnalyzed
Validate that the file has been analyzed. Throw an error, if it has not.
Public methodWriteRow
Write a row to the output file.

Public propertyAnalyzed
Set to true, if the file has been analyzed.
Public propertyCount
Set the column count.
Public propertyExpectInputHeaders
Set the flag to determine if we are expecting input headers.
Public propertyFormat
Set the format.
Public propertyInputFilename
Set the input filename.
Public propertyInputHeadings
Set the input headings.
Public propertyPrecision
Set the precision to use.
Public propertyProduceOutputHeaders
Public propertyRecordCount
Set the record count.
Public propertyReport
Set the status reporting object.
Public propertyReportInterval
Set the reporting interval.
Public propertyScript
See Also