Instantly share code, notes, and snippets.

😂
Crazy at NLP

# Junseong Kim codertimo

😂
Crazy at NLP
Created February 21, 2021 16:04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Created February 23, 2018 08:15
Keras accuracy metric for sequence predicting with padding
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 """ Description: When we handle the word sequence predicting problem on Keras, we add paddings at the last of blank space. But this makes wrong calculation at Keras default accuracy function. (It calculate the padding as correct too). To solved that problem, I made new custom function for word sequence predicting problem. It isn't calculate accuracy of the padding section, only calculate at actual word part Junseong Kim, codertimo@gmail.com """
Created June 7, 2017 14:05
[KMU_SW_17] 시저 암호 알고리즘
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 def is_small(n): if 97 <= n <= 122: return True else: return False def shift(c, shift_count): if not (65 <= ord(c) <= 90 or 97 <= ord(c) <= 122): return c
Created June 7, 2017 14:05
[KMU_SW_17] 시저 암호 알고리즘
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 def is_small(n): if 97 <= n <= 122: return True else: return False def shift(c, shift_count): if not (65 <= ord(c) <= 90 or 97 <= ord(c) <= 122): return c
Last active April 12, 2017 09:12
KMU SW17 과학과소프트웨어적사고 lab2 / n년 n월 n일로부터 n일후의 날짜는???
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 from datetime import datetime, timedelta import random ''' 국민대학교 소프트웨어학과 17학번 김준성 과학과소프트웨어적사고 과제2 : n년 n월 n일로부터 n일 후의 날짜를 구하라! ''' ''' 1년 1월 1일부터 입력한 연도까지의 날짜수를 계산하는 함수힙니다