write_class_mlpT_write_class_mlpWriteClassMlpWriteClassMlp (Operator)

Name

write_class_mlpT_write_class_mlpWriteClassMlpWriteClassMlp — Write a multilayer perceptron to a file.

Signature

write_class_mlp( : : MLPHandle, FileName : )

Herror T_write_class_mlp(const Htuple MLPHandle, const Htuple FileName)

void WriteClassMlp(const HTuple& MLPHandle, const HTuple& FileName)

void HClassMlp::WriteClassMlp(const HString& FileName) const

void HClassMlp::WriteClassMlp(const char* FileName) const

void HClassMlp::WriteClassMlp(const wchar_t* FileName) const   (Windows only)

static void HOperatorSet.WriteClassMlp(HTuple MLPHandle, HTuple fileName)

void HClassMlp.WriteClassMlp(string fileName)

Description

write_class_mlpwrite_class_mlpWriteClassMlpWriteClassMlpWriteClassMlp writes the multilayer perceptron (MLP) MLPHandleMLPHandleMLPHandleMLPHandleMLPHandle to the file given by FileNameFileNameFileNameFileNamefileName. The default HALCON file extension for the MLP classifier is 'gmc'. write_class_mlpwrite_class_mlpWriteClassMlpWriteClassMlpWriteClassMlp is typically called after the MLP has been trained with train_class_mlptrain_class_mlpTrainClassMlpTrainClassMlpTrainClassMlp. The MLP can be read with read_class_mlpread_class_mlpReadClassMlpReadClassMlpReadClassMlp. write_class_mlpwrite_class_mlpWriteClassMlpWriteClassMlpWriteClassMlp does not write any training samples that possibly have been stored in the MLP. For this purpose, write_samples_class_mlpwrite_samples_class_mlpWriteSamplesClassMlpWriteSamplesClassMlpWriteSamplesClassMlp should be used.

Execution Information

Parameters

MLPHandleMLPHandleMLPHandleMLPHandleMLPHandle (input_control)  class_mlp HClassMlp, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

MLP handle.

FileNameFileNameFileNameFileNamefileName (input_control)  filename.write HTupleHTupleHtuple (string) (string) (HString) (char*)

File name.

File extension: .gmc

Result

If the parameters are valid, the operator write_class_mlpwrite_class_mlpWriteClassMlpWriteClassMlpWriteClassMlp returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

train_class_mlptrain_class_mlpTrainClassMlpTrainClassMlpTrainClassMlp

Possible Successors

clear_class_mlpclear_class_mlpClearClassMlpClearClassMlpClearClassMlp

See also

create_class_mlpcreate_class_mlpCreateClassMlpCreateClassMlpCreateClassMlp, read_class_mlpread_class_mlpReadClassMlpReadClassMlpReadClassMlp, write_samples_class_mlpwrite_samples_class_mlpWriteSamplesClassMlpWriteSamplesClassMlpWriteSamplesClassMlp

Module

Foundation