본문 바로가기

분류 전체보기

(76)
[구글코랩] 머신러닝 개발 설정하기 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 import tensorflow from tensorflow import keras import pandas import sklearn import scipy import numpy import matplotlib import pydotplus import pydot import h5py print('tensorflow ' + tensorflow.__version__) print('keras ' + keras.__version__) print('pandas ' + pandas.__version__) print('sklearn ' + sklearn.__version__) print('scipy ' + scipy.__versio..
37. 여행 :: 마이바티스 설정 MyBatisConfig.java 12345678910111213141516171819202122232425262728293031package texas.sbq.travel; import javax.sql.DataSource;import org.apache.ibatis.session.SqlSessionFactory;import org.mybatis.spring.SqlSessionFactoryBean;import org.mybatis.spring.SqlSessionTemplate;import org.mybatis.spring.annotation.MapperScan;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Co..
[스프링부트] JPA, MySQL, AWS-RDS 설정하기 application.yml 1234567891011spring: jpa: database-platform: org.hibernate.dialect.MySQLDialect show-sql: true hibernate: ddl-auto: update datasource: url: jdbc:mariadb://demo....14le0.ap-northeast-2.rds.amazonaws.com:3306/travel driver-class-name: org.mariadb.jdbc.Driver username: demo password: demonstrationColored by Color Scriptercs
37. 여행 :: HomeController.java & @Controller 활용한 화면이동 소스코드 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758package texas.sbq.travel; import java.text.DateFormat;import java.util.Date;import java.util.Locale; import org.slf4j.Logger;import org.slf4j.LoggerFactory;import org.springframework.stereotype.Controller;import org.springframework.ui.Model;import org.springframework.web.bind.annotation.Req..