C# 클래스 MCAEmotiv.Classification.Example

파일 보기 프로젝트 열기: madelson/Emotiv-Experimenter 1 사용 예제들

공개 메소드들

메소드 설명
Example ( int cls, IEnumerable features ) : System

Construct an example with the specified class and feature data. Makes a copy of features. To preserve immutability.

WithClass ( int cls ) : Example

Efficiently returns an identical example except with the new class value.

WithFeatures ( IArrayView featureIndices ) : Example

Efficiently returns an identical example except with only the features at the indices specified by the argument. No copying of features is performed.

ZScored ( IArrayView means, IArrayView standardDeviations ) : Example

Efficiently returns an identical example with features that have been z-scored using means and standardDeviations.

비공개 메소드들

메소드 설명
Example ( int cls, IArrayView features ) : System
ZScored ( IArrayView examples, IArrayView &means, IArrayView &standardDeviations ) : IArrayView

Zscores the examples, returning the calculated means and standard deviations as out parameters.

메소드 상세

Example() 공개 메소드

Construct an example with the specified class and feature data. Makes a copy of features. To preserve immutability.
public Example ( int cls, IEnumerable features ) : System
cls int
features IEnumerable
리턴 System

WithClass() 공개 메소드

Efficiently returns an identical example except with the new class value.
public WithClass ( int cls ) : Example
cls int
리턴 Example

WithFeatures() 공개 메소드

Efficiently returns an identical example except with only the features at the indices specified by the argument. No copying of features is performed.
public WithFeatures ( IArrayView featureIndices ) : Example
featureIndices IArrayView
리턴 Example

ZScored() 공개 메소드

Efficiently returns an identical example with features that have been z-scored using means and standardDeviations.
public ZScored ( IArrayView means, IArrayView standardDeviations ) : Example
means IArrayView
standardDeviations IArrayView
리턴 Example