Table of Contents

Class ModelTrainingException

Namespace
AiDotNet.Exceptions
Assembly
AiDotNet.dll

Exception thrown when model training operations fail.

public class ModelTrainingException : AiDotNetException, ISerializable
Inheritance
ModelTrainingException
Implements
Inherited Members

Constructors

ModelTrainingException()

Initializes a new instance of the ModelTrainingException class.

public ModelTrainingException()

ModelTrainingException(string)

Initializes a new instance of the ModelTrainingException class with a specified error message.

public ModelTrainingException(string message)

Parameters

message string

The message that describes the error.

ModelTrainingException(string, Exception)

Initializes a new instance of the ModelTrainingException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public ModelTrainingException(string message, Exception innerException)

Parameters

message string

The message that describes the error.

innerException Exception

The exception that is the cause of the current exception.