Popular
- Python SciPy 베르누이 분포(Bernoulli Distribution)와 주요 Methods 정리 베르누이 분포 (Bernoulli Distribution): 결과가 두 가지뿐인 실험을 나타내는 확률 분포ex) 동전 앞/뒤, 검사 정상/불량P(X = 1) = p P(X = 0) = 1 - p stats.bernoullifrom scipy import stats rvs() - Random Variates: 랜덤 값 생성stats.bernoulli.rvs(0.7)for x in range(0, 5): print(rand_variable_0p3.rvs(4))"""[0 0 0 0][1 0 0 0][1 0 0 0][1 0 0 0][0 0 0 0]""" pmf() - Probabiliey Mass Function: 정확히 이 값이 나올 확률은 얼마인가?stats.bernoulli.pmf(x, p)# Yes.. 2026.09.24
- 한국 정부 부처 영어 명칭 한국 정부 부처 영어 명칭 & 약어기획재정부Ministry of Economy and FinanceMOEF교육부Ministry of EducationMOE과학기술정보통신부Ministry of Science and ICTMSIT외교부Ministry of Foreign AffairsMOFA통일부Ministry of UnificationMOU법무부Ministry of JusticeMOJ국방부Ministry of National DefenseMND행정안전부Ministry of the Interior and SafetyMOIS문화체육관광부Ministry of Culture, Sports and TourismMCST농림축산식품부Ministry of Agriculture, Food and Rural AffairsMA.. 2025.09.09
- 2024 세계 한국어 교육자 대회 World Korean Educator Conference 언젠가 참가해야지...!올해 세계 한국어 교육자 대회 참가신청은 21일 일요일, 내일까지다. 신청하실 분들은 어서 서두르시길...! 한국어를 가르친다는 것 멋지다는 것누가_ 한국어교원 또는 한국어 교육에 관심이 있는 누구나 언제_ 행사: 8/6 (화) 개회식, 8/7 ~ 8/8 교원 연수_ 접수: 7/10 (수) ~ 7/21 (일)_ 최종 참가자 발표 : 7/24 (월) 오전 개별 연락 어디서_ 호텔신라 서울 무엇을 어떻게_ 접수 방법: 아래 링크의 구글폼으로 제출* 8월 8일(목) 연수 중 과제 제출이 필요하며 최종 참가자 선발 시 필수 제출 대상 2024 세계한국어교육자대회 www.wkec2024.co.kr 유튜브로도 볼 수 있다고! King Sejong Institute Foundation세종.. 2024.07.20
뉴스레터
-
Python SciPy 베르누이 분포(Bernoulli Distribution)와 주요 Methods 정리 베르누이 분포 (Bernoulli Distribution): 결과가 두 가지뿐인 실험을 나타내는 확률 분포ex) 동전 앞/뒤, 검사 정상/불량P(X = 1) = p P(X = 0) = 1 - p stats.bernoullifrom scipy import stats rvs() - Random Variates: 랜덤 값 생성stats.bernoulli.rvs(0.7)for x in range(0, 5): print(rand_variable_0p3.rvs(4))"""[0 0 0 0][1 0 0 0][1 0 0 0][1 0 0 0][0 0 0 0]""" pmf() - Probabiliey Mass Function: 정확히 이 값이 나올 확률은 얼마인가?stats.bernoulli.pmf(x, p)# Yes.. -
python programing 수업 노트: strings StringSlice: backward & last stringsword = testword[::-1]word[-2:]Methodsstring.lower() & string.upper()UPPER = text.upper()lower = text.lower()# re-allocationstring.capitalize()Capitalize = text.capitalize()# re-allocationsplit & join# string to listtext_list = string.split()# list to stringnew_string = ' '.join(text_list)replacestring.replace(old, new, count)Package: Counter()from collections .. -
python programing 수업 노트: functions 1. Review for Loop“When they stop?”break: stops loop immediatelycontinue: skips to the next iteration# break# continue2. FunctionsPackages: math, timeimport math #, time (X), import separatelyimport timeTime: end_time - start_timeimport mathtime_start = time()for i in range(0, 2000000): math.sqrt(i)time_end = time()print('This took', time_end - time_start, 'seconds.')# Output# This took 0.18.. -
python Variablesprint Comparingpriority 'If' While loops For loops -
python 리스트 원소 제거: remove, pop, del, list comprehension, clear 프로그래머스 코딩테스트 '없는 숫자 더하기' 프로그래머스SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr아이디어full_numbers = [0부터 9까지]에서numbers 입력값에 있는 수 제거full_numbers에 남은 숫자 합1. 값으로 제거: remove()fruits = ["apple", "banana", "orange", "banana"]fruits.remove("banana")print(fruits) # ['apple', 'orange', 'banana']* 값이 없으면 ValueError 발생2. 인덱스로 제거: pop()fruits = ["apple", "banana", "orange"]item = fr..
728x90