MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.basecode.descriptors.StateDescriptor Class Reference

The StateDescriptor class contains the information related to the state of a project incuding the solver state and weights. More...

Inheritance diagram for MyCaffe.basecode.descriptors.StateDescriptor:
MyCaffe.basecode.descriptors.BaseDescriptor

Public Member Functions

 StateDescriptor (int nId, string strName, string strOwner)
 The StateDescriptor constructor. More...
 
 StateDescriptor (int nId, string strName, byte[] rgWeights, byte[] rgState, double dfAccuracy, double dfError, int nIterations, string strOwner)
 The StateDescriptor constructor. More...
 
override string ToString ()
 Creates the string representation of the descriptor. More...
 
- Public Member Functions inherited from MyCaffe.basecode.descriptors.BaseDescriptor
 BaseDescriptor (int nID, string strName, string strOwner)
 The BaseDescriptor constructor. More...
 
 BaseDescriptor (BaseDescriptor b)
 The BaseDescriptor constructor. More...
 
void Copy (BaseDescriptor b)
 Copy another BaseDescriptor into this one. More...
 

Properties

bool? HasResults [get]
 Returns whether or not the state has results (e.g. it has been trained at least to some degree). More...
 
byte[] Weights [getset]
 Get/set the weights of a trained Net. More...
 
byte[] State [getset]
 Get/set the state of a Solver in training. More...
 
double Accuracy [getset]
 Returns the accuracy observed while testing. More...
 
double Error [getset]
 Specifies the error observed whiel training. More...
 
int Iterations [getset]
 Specifies the number of iterations run. More...
 
- Properties inherited from MyCaffe.basecode.descriptors.BaseDescriptor
int ID [getset]
 Get/set the database ID of the item. More...
 
string Name [getset]
 Get/set the name of the item. More...
 
string Owner [getset]
 Get/set the owner of the item. More...
 

Detailed Description

The StateDescriptor class contains the information related to the state of a project incuding the solver state and weights.

Definition at line 14 of file StateDescriptor.cs.

Constructor & Destructor Documentation

◆ StateDescriptor() [1/2]

MyCaffe.basecode.descriptors.StateDescriptor.StateDescriptor ( int  nId,
string  strName,
string  strOwner 
)

The StateDescriptor constructor.

Parameters
nIdSpecifies the database ID of the item.
strNameSpecifies the name of the item.
strOwnerSpecifies the identifier of the item's owner.

Definition at line 29 of file StateDescriptor.cs.

◆ StateDescriptor() [2/2]

MyCaffe.basecode.descriptors.StateDescriptor.StateDescriptor ( int  nId,
string  strName,
byte[]  rgWeights,
byte[]  rgState,
double  dfAccuracy,
double  dfError,
int  nIterations,
string  strOwner 
)

The StateDescriptor constructor.

Parameters
nIdSpecifies the database ID of the item.
strNameSpecifies the name of the item.
rgWeightsSpecifies the weights of a trained Net.
rgStateSpecifies the state of a Solver in training.
dfAccuracySpecifies the accuracy observed while testing.
dfErrorSpecifies the error observed whiel training.
nIterationsSpecifies the number of iterations run.
strOwnerSpecifies the identifier of the item's owner.

Definition at line 50 of file StateDescriptor.cs.

Member Function Documentation

◆ ToString()

override string MyCaffe.basecode.descriptors.StateDescriptor.ToString ( )

Creates the string representation of the descriptor.

Returns
The string representation of the descriptor is returned.

Definition at line 122 of file StateDescriptor.cs.

Property Documentation

◆ Accuracy

double MyCaffe.basecode.descriptors.StateDescriptor.Accuracy
getset

Returns the accuracy observed while testing.

Definition at line 92 of file StateDescriptor.cs.

◆ Error

double MyCaffe.basecode.descriptors.StateDescriptor.Error
getset

Specifies the error observed whiel training.

Definition at line 102 of file StateDescriptor.cs.

◆ HasResults

bool? MyCaffe.basecode.descriptors.StateDescriptor.HasResults
get

Returns whether or not the state has results (e.g. it has been trained at least to some degree).

Definition at line 63 of file StateDescriptor.cs.

◆ Iterations

int MyCaffe.basecode.descriptors.StateDescriptor.Iterations
getset

Specifies the number of iterations run.

Definition at line 112 of file StateDescriptor.cs.

◆ State

byte [] MyCaffe.basecode.descriptors.StateDescriptor.State
getset

Get/set the state of a Solver in training.

Definition at line 82 of file StateDescriptor.cs.

◆ Weights

byte [] MyCaffe.basecode.descriptors.StateDescriptor.Weights
getset

Get/set the weights of a trained Net.

Definition at line 72 of file StateDescriptor.cs.


The documentation for this class was generated from the following file: