본문 바로가기

분류 전체보기90

Github 웹사이트 배포하기 ✔️ 깃허브 저장소를 만든 후에 저장소 안에 어떤 것이라도 html 우선 하나 올려져 있는 상태여야 함 1. Setting > Pages > branch None → main 2. Action 에서 배포되는 과정 확인하기 시간이 조금 소요된다⋯ 차분히 차분히 기다리기!! 초록색 체크가 뜨면 완료된 것임! 3. 페이지 들어가 보기 두 개 중에 선택해서 페이지에 접속하면 된다. Action > pages build and deployment > deploy 의 웹주소 클릭 Setting > pages > 초록창 주소 클릭 2022. 8. 3.
HTML 기본 HTML 기본 문법 1. 태그 콘텐츠를 설명함. World Wide WEB 링크 hyper text 라고도 함 : 링크를 고급지게 표현 최계 최초의 웹페이지 : http://info.cern.ch/ First web title 일반적으로 head 태그 아래에 위치함. WEB1 사이트의 이름을 지정해 줄 수 있음 heading 본문 내의 제목을 의미함. This is heading 1 This is heading 2 This is heading 3 This is heading 4 This is heading 5 This is heading 6 list 목록을 표현함. 순서가 있는 경우 ol(ordered list) 순서가 없는 경우 ul(unordered list) 기본 홈페이지로 돌아오는 링크 삽입 2... 2022. 8. 3.
ConvergenceWarning ?? 파이썬 경고 간혹 사이킷런에서 아래와 같은 경고를 볼 수 도 있다. sc = SGDClassifier(loss='log', max_iter=10, random_state=42) 위와 같이 모델 객체를 정의하고 학습하였을 때, 아래와 같은 문구를 나올 수 도 있다! /usr/local/lib/python3.7/dist-packages/sklearn/linear_model/_stochastic_gradient.py:700: ConvergenceWarning: Maximum number of iteration reached before convergence. Consider increasing max_iter to improve the fit. ConvergenceWarning, 해당 뜻은 max_iter의 매개변수의 값.. 2022. 4. 12.
TypeError : fit() missing 1 required positional argument: 'y' kn = kn.fit(train_input, train_target) kn.score(test_input, test_target) 이렇게 오류를 뱉었다 ㅜ https://stackoverflow.com/questions/35996970/typeerror-fit-missing-1-required-positional-argument-y 확인해보니 모델의 클래스 객체를 생성할때 () 빼먹음... 아래와 같이 변경해준다! kn = KNeighborsClassifier() 2022. 4. 7.