Click here to Skip to main content
12,945,066 members (47,236 online)
Click here to Skip to main content


551 bookmarked
Posted 5 Dec 2006

Neural Network for Recognition of Handwritten Digits

, 5 Dec 2006
A convolutional neural network achieves 99.26% accuracy on a modified NIST database of hand-written digits.
// CntrItem.h : interface of the CMNistCntrItem class

#if !defined(AFX_CNTRITEM_H__EA7C3AB5_7431_4923_8266_581BCE9A43AE__INCLUDED_)
#define AFX_CNTRITEM_H__EA7C3AB5_7431_4923_8266_581BCE9A43AE__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CMNistDoc;
class CMNistView;

class CMNistCntrItem : public COleClientItem

// Constructors
	CMNistCntrItem(CMNistDoc* pContainer = NULL);
		// Note: pContainer is allowed to be NULL to enable IMPLEMENT_SERIALIZE.
		//  IMPLEMENT_SERIALIZE requires the class have a constructor with
		//  zero arguments.  Normally, OLE items are constructed with a
		//  non-NULL document pointer.

// Attributes
	CMNistDoc* GetDocument()
		{ return (CMNistDoc*)COleClientItem::GetDocument(); }
	CMNistView* GetActiveView()
		{ return (CMNistView*)COleClientItem::GetActiveView(); }

	// ClassWizard generated virtual function overrides
	virtual void OnChange(OLE_NOTIFICATION wNotification, DWORD dwParam);
	virtual void OnActivate();
	virtual void OnGetItemPosition(CRect& rPosition);
	virtual void OnDeactivateUI(BOOL bUndoable);
	virtual BOOL OnChangeItemPosition(const CRect& rectPos);

// Implementation
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
	virtual void Serialize(CArchive& ar);


// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CNTRITEM_H__EA7C3AB5_7431_4923_8266_581BCE9A43AE__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Mike O'Neill
United States United States
Mike O'Neill is a patent attorney in Southern California, where he specializes in computer and software-related patents. He programs as a hobby, and in a vain attempt to keep up with and understand the technology of his clients.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170518.1 | Last Updated 5 Dec 2006
Article Copyright 2006 by Mike O'Neill
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid