1. open a csv file
- np.loadtxt
2. data preparation
- answer1=score[:,10:]
- rset1=score[:, :10]
- tmp=np.ones(22, dtype='uint8')
- tmp=tmp*4
- tmp[20:]=1
- bool_answer1=(answer1==rset1)
- scoreset=bool_answer1*1
- scoreset[20:]=rset1[20:]
3. data integration
- np.dot
4. show charts using datas
- plt.plot
- plt.bar
댓글 없음:
댓글 쓰기