-
公开(公告)号:US12266152B2
公开(公告)日:2025-04-01
申请号:US17775591
申请日:2021-05-07
Inventor: Huajun Sun , Zuopai Zhou , Li Li , Xiangshui Miao
IPC: G06V10/84 , G06N3/06 , G06V10/764 , G06V10/94
Abstract: A method and a system of designing a memristor-based naive Bayes classifier and a classifier belonging to the field of information technology are provided. The method includes: constructing a naive Bayes classifier including a memristor array of M rows by 2N columns, where M is the number of classification types, and N is the number of pixels in a picture; calculating the number hj,2i-1 of the pixel value of 0 and the number hj,2i of the pixel value of 1 in an ith pixel in the jth training sample, where j=1, 2, . . . , and M; and applying hj,2i-1 pulses to a memristor Rj,2i-1 in a jth row and a 2i-1th column to modulate the conductance of the memristor Rj,2i-1 and applying hj,2i pulses to a memristor Rj,2i in the jth row and a 2ith column to modulate the conductance of the memristor Rj,2i.