본문 바로가기

IT120

[54일차] 04. 결정 트리 ( Decision Trees) plt.figure(figsize=(12,8)) plt.semilogy(data_train.date, data_train.price, color='indigo', linestyle='-', label="Training data") plt.semilogy(data_test.date, data_test.price, color='red', linestyle='--', label="Test data") plt.semilogy(ram_prices.date, price_tree, color='brown', linestyle='-.', label="Tree Prediction") plt.semilogy(ram_prices.date, price_lr, color='green', linestyle=':', label=".. 2022. 9. 6.
[54일차] 03. 라소(Lasso) for C, marker in zip([0.001, 1, 100], ['o', '^', 'v']): lr_l1 = LogisticRegression(C=C, penalty="l1", solver='liblinear').fit(X_train, y_train) print("Training accuracy of l1 logreg with C={:.3f}: {:.2f}".format(C, lr_l1.score(X_train, y_train))) print("Test accuracy of l1 logreg with C={:.3f}: {:.2f}".format(C, lr_l1.score(X_test, y_test))) plt.plot(lr_l1.coef_.T, marker, label="C={:.3f}".forma.. 2022. 9. 6.
[53일차] 02. 기본 💛2022-09-05💛 01. 기본 용어 자바스크립트에서는 다음과 같이 값을 만들어 내는 간단한 코드를 표현식이라고 한다. 문장(statement) 실행할 수 있는 최소 단위를 의미 02 출력 예제 2-2 2 REPL을 사용한 출력 예제 2-3 예제 2-4 예제 2-5 2022. 9. 5.
[53일차] 01.intro 자바스크립트 프로그래밍 입문 예제 1-1 예제 1-2 2022. 9. 5.
[53일차] 01. Intro / 02. k-NN / 03.Linear 01. Intro 02. k-NN 03.Linear https://light-tree.tistory.com/125 딥러닝 용어 정리, L1 Regularization, L2 Regularization 의 이해, 용도와 차이 설명 제가 공부하고 정리한 것을 나중에 다시 보기 위해 적는 글입니다. 제가 잘못 설명한 내용이 있다면 알려주시길 부탁드립니다. 사용된 이미지들의 출처는 본문에 링크로 나와 있거나 글의 가장 light-tree.tistory.com 2022. 9. 5.
[42일차] Spring 시험 2022. 8. 19.
[41일차] Java Spring Boot 🧡2022-08-18🧡 starter Project select logback-spring.xml 만들기 System.out [%d{yyyy-MM-dd HH:mm:ss}:%-3relative][%thread] [%-5level] %logger{35} - %msg%n ${LOG_PATH}/logback.log true [%d{yyyy-MM-dd HH:mm:ss}:%-3relative][%thread] [%-5level] %logger{35} - %msg%n INFO ${LOG_PATH}/logback.%d{yyyy-MM-dd}.%i.log.zip 5MB 30 WEB-INF 폴더랑 view 폴더 만들기 application.properties #Server server.port=8090 server.serv.. 2022. 8. 18.
[40일차] spring boot demo project 🚙2022-08-17🚙 https://spring.io/tools Spring Tools 4 is the next generation of Spring tooling Largely rebuilt from scratch, Spring Tools 4 provides world-class support for developing Spring-based enterprise applications, whether you prefer Eclipse, Visual Studio Code, or Theia IDE. spring.io com.gyuone └controller └DemoController.java package com.gyuone.controller; import org.springframework.ster.. 2022. 8. 17.
[40일차] logback 🚙2022-08-17🚙 로그를 실제 작성한 사람이 WARN ERROR 레벨로 찍겠다. 디버그는 디버깅할 때 많이 쓴다. 로그를 찍어야겠다 할 때 level을 정할 수 있다. 어디까지 찍을지는 선택할 수 있다. ERROR 치명적인 에러를 찍는다. 경고성 WARN을 찍는다. 원하는 대로 찍을 수 있다. / [Layout] %m : 로그내용이 출력 %p : trace > debug > info > warn > error 등의 priority 출력 %r : 어플리케이션이 시작되어 로깅이벤트가 발생하는 시점까지의 경과시간을 밀리세컨드로 출력 %c : 예) 카테고리가 a.b.c 처럼 되어있다면 %c{2}는 b.c가 출력됩니다. %n : 플랫폼 종속적인 개행문자가 출력된다. \r\n 또는 \n 일것이다 %d : 로깅.. 2022. 8. 17.