| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- predictive analysis
- programming
- string
- array
- 반복문
- 파이썬
- Python
- pass by reference
- Data Science
- 포인터
- 문자열
- baekjoon
- function
- C++
- const
- 백준
- 함수
- Deep Learning
- assignment operator
- vscode
- pointer
- Object Oriented Programming
- OOP
- Pre-processing
- 오블완
- Class
- 알고리즘
- raw data
- 배열
- 티스토리챌린지
- Today
- Total
목록전체 글 (188)
Channi Studies
Listlist: A mutable sequence* that grows or shrinks dynamically as new elements are added or removed.*sequence: A container that stores a collection of values that can be accessed by an integer index. (string, list, …) Use SQUARE BRACKETS [ ] to create a list. ex) values = [32, 54, 67.5, 80, 110, 44.5] # A list with 6 elements Another way to create a list: values = [4] sets values to the list..
파이썬으로 기초적인 프로그램을 프로그래밍 하다 보면, 오류를 핸들링 해야 하는 경우가 많습니다. When user enters invalid input, it is common to abort the program. 그렇게 하기 위해서는, sys standard library module에 정의된 exit 함수를 사용하면 됩니다. from sys import exitif not (userResponse == "n" or userResponse == "y"): exit("Error: you must enter either n or y.") exit(errorMessage) 형식으로 프로그램 terminate 시에 출력될 에러 메시지를 인자로 넣으면 됩니다.
There are some ways in Python to analyze string. substring in sReturns True if the string s contains substring and False otherwise.if "-" is not in name: ...s.count(substring)Returns the number of non-overlapping occurrences of substring in s.s.endswith(substring)Returns True if the string s ends with the substring and False otherwise.s.startswith(substring)Returns True if the string s starts w..
There are two types of predictions in data science. Regression은 numerical data를 예측하는데 사용하고, Classification 은 cateogorical data를 예측하는데 사용합니다. 예를 들어, 우리가 사용하는 이메일의 스팸 메일함이 있습니다.메일의 텍스트 데이터를 기반으로 스팸인지 아닌지, Yes or No 에 해당하는 Cateogorical variable을 예측합니다. Input = Text / Output = Yes or No (Spam, Not Spam) Classification에 대해서 더 자세히 알아보기 이전, 간단하게 Machine Learning에 대해서 알아보겠습니다. Machine Learning Algorit..