Computer Science

    SQL - Manipulation

    SQL, Structured Query Language 관계형 데이터베이스(RDBMS)에 저장된 데이터를 관리할 수 있도록 설계된 프로그래밍 언어 관계형 데이터베이스(RDBMS): 한 개 혹은 그 이상의 테이블의 정보로 구성된 데이터베이스 Create create table(테이블 생성) CREATE TABLE celebs ( id INTEGER, name TEXT, age INTEGER ); Insert insert data into a table(테이블에 행 삽입) INSERT INTO celebs (id, name, age) VALUES (1, 'Justin Bieber', 22); Select fetch data from a database(데이터 추출) //SELECT ${column_name}..

    파이썬 가끔 까먹는 정말 기본개념 (CodeUp)

    입출력 print() 안에 쉼표를 찍어 순서대로 나열하면, 그 순서대로 공백을 두고 출력 print('a', 'b') -> a b #print() 안에 쉼표를 찍어 순서대로 나열하면, 그 순서대로 공백을 두고 출력 input().split() input().split(':') 를 사용하면 콜론 ':' 기호를 기준으로 자른다. (기본값은 띄어쓰기) print(’a’, ‘b’, sep=':') 를 사용하면 콜론 ':' 기호를 사이에 두고 값을 출력한다. a, b = input().split(':') print(a, b, sep=':') input()을 통해 입력되는 값은 기본적으로 string → 다른 type으로 사용하려면 변환과정이 필요 a = input() a = float(a) 값변환(진수) 16진수..

    <link> 사용해서 Web font 적용하기

    <link> 사용해서 Web font 적용하기

    Google Fonts와 같은 온라인 폰트 서비스를 통해 쉽게 원하는 폰트를 찾고, 웹사이트 개발에 활용할 수 있다. 우선, 위 링크의 구글 폰트에 접속해서 원하는 폰트를 선택한다. 폰트 종류를 선택했으면, 세부적인 폰트 스타일을 선택한다. 구글 폰트에서 자동으로 생성해준 를 복사해서, HTML 파일의 이제 폰트 적용을 위한 기본 준비가 끝이 났다. CSS 파일에서 font-family 선언을 통해 원하는 요소에 폰트를 적용할 수 있다. p { font-family: 'Roboto', sans-serif; }

    Github Page를 통한 웹사이트 생성

    Github Page를 통한 웹사이트 생성

    What is GitHub and GitHub Pages Git: 분산 버전 관리 시스템 - 컴퓨터 파일의 변경 사항을 추적하고 협업에 활용 GitHub: Git을 기반으로 소프트웨어 개발과 프로젝트를 지원하는 웹 호스팅 서비스 GitHub Pages: GitHub에서 제공하는 정적 웹사이트 호스팅 서비스 → GitHub 페이지를 이용하면 쉽고 간단하게 웹 페이지를 배포할 수 있다. 레포지토리 만들기 1. 레포지토리 생성 - 이름은 ${username}.github.io 2. GitHub에 파일 업로드(index.html 필수) 3. Settings > Pages에서 Source > Brunch: main으로 되어 있는지 확인

    [Front-end] CSS - Box Model: Content-Box vs. Border-Box 차이

    Box Model: Content-Box vs. Border-Box The default value of box-sizing property is content-box. (box-sizing 속성의 기본 값은 content-box ) The default box model: box dimensions are affected by border thickness and padding. (이 기본 값은 경계의 두께나 여백에 의해 box dimension이 영향을 받는다.) content-box : 지정한 CSS width 및 height를 컨텐츠 영역에만 적용. border, padding, margin은 따로 계산되어 전체 영역이 설정값보다 커질 수 있다. border-box : 지정한 CSS width 및..

    [Front-end] CSS

    Font Family • The font-family property defines the typeface of an element. h1 { font-family: Garamond; } When the name of a typeface consists of more than one word, it’s a best practice to enclose the typeface’s name in quotes, like so: h1 { font-family: 'Courier New'; } Font Size • font-size controls the size of text displayed. p { font-size: 18px; } Font Weight • font-weight defines how thin o..

    [Front-End] Fundamentals of CSS / CSS의 기초

    Cascading Style Sheets or CSS is a language web developers use to style the HTML content on a web page. CSS Anatomy Ruleset Terms: Selector—The beginning of the ruleset used to target the element that will be styled. Declaration Block—The code in-between (and including) the curly braces ({ }) that contains the CSS declaration(s). Declaration—The group name for a property and value pair that appl..

    [Front-End] HTML

    Any visible content should be placed within the opening and closing tags. Headings and sub-headings, to tags, are used to provide titles for sections of content. , and tags specify text or blocks. The and tags are used to emphasize text. Line breaks are created with the tag. Ordered lists () are numbered and unordered lists () are bulleted. Images () and videos () can be added by linking to an e..

    [NLP/자연어처리] 자연어 처리 기초

    NLP; Natural Language Processing Text Processing Preprocessing Noise Removal(불필요한 단어 정리) Tokenization(토큰화) Normalization(정규화) Stemming(어간 추출) NLTK 어간 추출을 위한 도구 → Porter Stemmer, Lancaster Stemmer 단어의 어간을 추출하는 정규화 방식 장점: 빠르다 단점: 사전에 없는 단어로 정규화될 수 있다. Lemmatization(표제어 추출) NLTK 표제어 추출을 위한 도구 - WordNetLemmatizer를 지원 EX) am, are, is → 표제어: be 장점: 문법적인 요소와 의미적인 요소를 더 고려한다. 단점: 시간이 상대적으로 오래 걸리고, 품사 정보..