일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
- Kaggle
- 캐치카페
- 백준
- 데이콘
- 편스토랑 우승상품
- hackerrank
- 파이썬
- 프로그래머스 파이썬
- 더현대서울 맛집
- PYTHON
- Baekjoon
- 프로그래머스
- 맥북
- ubuntu
- 우분투
- 편스토랑
- gs25
- Docker
- 자연어처리
- AI 경진대회
- 코로나19
- github
- Real or Not? NLP with Disaster Tweets
- leetcode
- Git
- 금융문자분석경진대회
- ChatGPT
- programmers
- dacon
- SW Expert Academy
- Today
- Total
목록
반응형
2021/01/08 (3)
솜씨좋은장씨
Pycharm에서 Start SSH Session을 통하여 서버에 접속하여 사용을 하려고하는데 위와 같이 한글에 대한 정보가 모두 깨져서 나오는 경우가 있습니다. 이는 터미널에 설정되어있는 인코딩 정보가 한글과 맞지 않아 발생하는 문제입니다. 이를 해결하는 방법은 다음과 같습니다. Mac OS 의 경우 먼저 상단 바의 PyCharm을 클릭하고 Preferences... 를 클릭하여 환경 설정 창으로 이동합니다. 환경 설정 창에서 좌측 배너의 Tools > SSH Terminal을 선택하면 나오는 창에서 Default encoding을 UTF-8로 바꾸어 준 뒤 OK를 누르면 됩니다. Windows의 경우 먼저 상단 메뉴에서 File > Settings 를 선택합니다. 그 다음 Mac 과 동일하게 Tool..
Given a string S and a character C, return an array of integers representing the shortest distance from the character C in the string. Example 1: Input: S = "loveleetcode", C = 'e' Output: [3, 2, 1, 0, 1, 0, 0, 1, 2, 2, 1, 0] Note: S string length is in [1, 10000]. C is a single character, and guaranteed to be in string S. All letters in S and C are lowercase. 첫번째 시도 class Solution: def shortest..
with tf.Session() as sess: # Initialize TensorFlow variables sess.run(tf.global_variables_initializer()) sess.run(tf.global_variables_initializer()) for step in range(10001): cost_val, _ = sess.run([cost, train], feed_dict={X: x_data, Y: y_data}) if step % 200 == 0: print(step, cost_val) # Accuracy report h, c, a = sess.run([hypothesis, predicted, accuracy], feed_dict={X: x_data, Y: y_data}) pri..