묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결스프링 기반 REST API 개발
스프링 시큐리티 기본 설정에서 로그인없이 접근불가능과 메인어플리케이션 실행불가능
@Override public void configure(WebSecurity web) throws Exception { web.ignoring().mvcMatchers("/docs/index.html"); web.ignoring().requestMatchers(PathRequest.toStaticResources().atCommonLocations()); } 위 메소드를 통해 localhost:8080/docs/index.html 에 로그인없이 접근이 가능해야하는데 이게 불가능하고 로그인창이 나타나네요 @Override protected void configure(HttpSecurity http) throws Exception { http.authorizeRequests() .mvcMatchers("/docs/index.html").anonymous() .requestMatchers(PathRequest.toStaticResources().atCommonLocations()); } 1번의 configure(WebSecurity web) 메소드 문제는 일단 냅두고(주석처리) 다음configure(HttpSecurity http) 메소드를 진행해봤는데 해당 메소드를 작성하니 메인어플리케이션이 오류 때문에 아예 실행이 안되네요. jdk 8을 사용해서 그런가 싶어서 jdk 11로 바꿔봤는데도 해결이 안되요...밑에는 에러로그입니다. WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase (file:/C:/Users/kyeongjun/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.12/tomcat-embed-core-9.0.12.jar) to field java.io.ObjectStreamClass$Caches.localDescs WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 2019-01-26 20:11:27.043 INFO 1276 --- [ main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2019-01-26 20:11:27.052 ERROR 1276 --- [ main] o.s.boot.SpringApplication : Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is java.lang.IllegalStateException: An incomplete mapping was found for [org.springframework.boot.autoconfigure.security.servlet.StaticResourceRequest$StaticResourceRequestMatcher@1ba3c03d]. Try completing it with something like requestUrls()..hasRole('USER') at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:625) ~[spring-beans-5.1.2.RELEASE.jar:5.1.2.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:455) ~[spring-beans-5.1.2.RELEASE.jar:5.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1288) ~[spring-beans-5.1.2.RELEASE.jar:5.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1127) ~[spring-beans-5.1.2.RELEASE.jar:5.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:538) ~[spring-beans-5.1.2.RELEASE.jar:5.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498) ~[spring-beans-5.1.2.RELEASE.jar:5.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.2.RELEASE.jar:5.1.2.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.2.RELEASE.jar:5.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.2.RELEASE.jar:5.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.2.RELEASE.jar:5.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:307) ~[spring-beans-5.1.2.RELEASE.jar:5.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.2.RELEASE.jar:5.1.2.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:846) ~[spring-beans-5.1.2.RELEASE.jar:5.1.2.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:863) ~[spring-context-5.1.2.RELEASE.jar:5.1.2.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546) ~[spring-context-5.1.2.RELEASE.jar:5.1.2.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140) ~[spring-boot-2.1.0.RELEASE.jar:2.1.0.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) ~[spring-boot-2.1.0.RELEASE.jar:2.1.0.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) ~[spring-boot-2.1.0.RELEASE.jar:2.1.0.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) ~[spring-boot-2.1.0.RELEASE.jar:2.1.0.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) ~[spring-boot-2.1.0.RELEASE.jar:2.1.0.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) ~[spring-boot-2.1.0.RELEASE.jar:2.1.0.RELEASE] at com.example.lec1.Lec1Application.main(Lec1Application.java:12) ~[classes/:na] Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is java.lang.IllegalStateException: An incomplete mapping was found for [org.springframework.boot.autoconfigure.security.servlet.StaticResourceRequest$StaticResourceRequestMatcher@1ba3c03d]. Try completing it with something like requestUrls()..hasRole('USER') at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.1.2.RELEASE.jar:5.1.2.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:620) ~[spring-beans-5.1.2.RELEASE.jar:5.1.2.RELEASE] ... 21 common frames omitted Caused by: java.lang.IllegalStateException: An incomplete mapping was found for [org.springframework.boot.autoconfigure.security.servlet.StaticResourceRequest$StaticResourceRequestMatcher@1ba3c03d]. Try completing it with something like requestUrls()..hasRole('USER') at org.springframework.security.config.annotation.web.configurers.AbstractConfigAttributeRequestMatcherRegistry.createRequestMap(AbstractConfigAttributeRequestMatcherRegistry.java:111) ~[spring-security-config-5.1.3.RELEASE.jar:5.1.3.RELEASE] at org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer.createMetadataSource(ExpressionUrlAuthorizationConfigurer.java:198) ~[spring-security-config-5.1.3.RELEASE.jar:5.1.3.RELEASE] at org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer.createMetadataSource(ExpressionUrlAuthorizationConfigurer.java:81) ~[spring-security-config-5.1.3.RELEASE.jar:5.1.3.RELEASE] at org.springframework.security.config.annotation.web.configurers.AbstractInterceptUrlConfigurer.configure(AbstractInterceptUrlConfigurer.java:75) ~[spring-security-config-5.1.3.RELEASE.jar:5.1.3.RELEASE] at org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer.configure(ExpressionUrlAuthorizationConfigurer.java:81) ~[spring-security-config-5.1.3.RELEASE.jar:5.1.3.RELEASE] at org.springframework.security.config.annotation.web.configurers.AbstractInterceptUrlConfigurer.configure(AbstractInterceptUrlConfigurer.java:67) ~[spring-security-config-5.1.3.RELEASE.jar:5.1.3.RELEASE] at org.springframework.security.config.annotation.AbstractConfiguredSecurityBuilder.configure(AbstractConfiguredSecurityBuilder.java:384) ~[spring-security-config-5.1.3.RELEASE.jar:5.1.3.RELEASE] at org.springframework.security.config.annotation.AbstractConfiguredSecurityBuilder.doBuild(AbstractConfiguredSecurityBuilder.java:330) ~[spring-security-config-5.1.3.RELEASE.jar:5.1.3.RELEASE] at org.springframework.security.config.annotation.AbstractSecurityBuilder.build(AbstractSecurityBuilder.java:41) ~[spring-security-config-5.1.3.RELEASE.jar:5.1.3.RELEASE] at org.springframework.security.config.annotation.web.builders.WebSecurity.performBuild(WebSecurity.java:294) ~[spring-security-config-5.1.3.RELEASE.jar:5.1.3.RELEASE] at org.springframework.security.config.annotation.web.builders.WebSecurity.performBuild(WebSecurity.java:79) ~[spring-security-config-5.1.3.RELEASE.jar:5.1.3.RELEASE] at org.springframework.security.config.annotation.AbstractConfiguredSecurityBuilder.doBuild(AbstractConfiguredSecurityBuilder.java:334) ~[spring-security-config-5.1.3.RELEASE.jar:5.1.3.RELEASE] at org.springframework.security.config.annotation.AbstractSecurityBuilder.build(AbstractSecurityBuilder.java:41) ~[spring-security-config-5.1.3.RELEASE.jar:5.1.3.RELEASE] at org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration.springSecurityFilterChain(WebSecurityConfiguration.java:104) ~[spring-security-config-5.1.3.RELEASE.jar:5.1.3.RELEASE] at org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration$$EnhancerBySpringCGLIB$$c881c394.CGLIB$springSecurityFilterChain$5() ~[spring-security-config-5.1.3.RELEASE.jar:5.1.3.RELEASE] at org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration$$EnhancerBySpringCGLIB$$c881c394$$FastClassBySpringCGLIB$$ef88c264.invoke() ~[spring-security-config-5.1.3.RELEASE.jar:5.1.3.RELEASE] at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) ~[spring-core-5.1.2.RELEASE.jar:5.1.2.RELEASE] at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:363) ~[spring-context-5.1.2.RELEASE.jar:5.1.2.RELEASE] at org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration$$EnhancerBySpringCGLIB$$c881c394.springSecurityFilterChain() ~[spring-security-config-5.1.3.RELEASE.jar:5.1.3.RELEASE] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na] at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.1.2.RELEASE.jar:5.1.2.RELEASE] ... 22 common frames omitted Process finished with exit code 1
-
미해결홍정모의 따라하며 배우는 C++
질문있습니다 교수님.
강의 1:10쯤 const double gravity{9.8}; 이라고 했을때 const 때문에 gravity의 값을 못바꾼다고 하셨고 이어서 바꾸는 방법이 있기는 있지만 추천하지 않는다고 하셨습니다. 어떤 방법을 쓰면 const 사용 이후에 값을 변경 할 수 있을까요?코딩 이후에 단순히 사용한 const를 모두 찾아서 일일이 지우기는 번거로울 것 같기도 해서요. 다른 방법이 있다면 알고 싶습니다!
-
미해결홍정모의 따라하며 배우는 C++
안녕하세요 저번 질문 아직 해결 못했어요 ㅠㅠ
안녕하세요 이전 질문글에서 교수님이 주신 힌트대로 며칠간 고민해보았지만 아직도 답이 안나와서 너무 답답해서 다시 질문 글을 올리게 되었습니다. 다른 힌트 하나만 더 주실 수 있을까요? 뭔가 알것 같으면서도 이상하게 나오니 답답해요.이전 질문은 아래와 같습니다.저번 강의인 불리언과 if 에서 배운 조건문을 섞어서 내주신 숙제를 살짝 변경해서 해보려고 했습니다.입력값을 받고 int형인 경우 ascii 의 알파벳으로, 알파벳을 입력 받는 경우 int형으로 출력되게 해보려고 했었습니다.if에 넣은 내용들은 제대로 값을 출력해주는 반면 else에 해당하는 입력값을 넣으면 빈 숫자가 나오거나 제가 원한 답이 나오질 않습니다.교수님의 도움을 구하고 싶습니다!아래는 제 나름 해본 코드 입니다.'''#include include int main(){using namespace std;cout << "Enter a number or an alphabet character : ";int a;char b;if (cin >> a){ cout << a << " " << static_cast<char>(a) << endl;}else{ cout << b << " " << static_cast<int>(b) << endl;}return 0;}'''if 안에 cin이 있다고 하셔서 이것을 빼서 여러번 시도해 보았지만 뭐가 문젠지 아직 잘 안됩니다.일단 아래의 코드처럼 시도해보았는데 여전히 문자를 치면 0이라고 나옵니다.'''#include include int main(){using namespace std;cout << "Enter a number or an alphabet character : ";int a;cin >> a;if (a == static_cast<int>(a)){ cout << a << " " << static_cast<char>(a) << endl;}else{ cout << a << " " << static_cast<int>(a) << endl;}return 0;}'''
-
미해결스프링 기반 REST API 개발
스프링 시큐리티 OAuth2 인증 서버 설정의 TDD 부분입니다.
스프링기반 resp api 개발의 ”스프링 시큐리티 OAuth2 인증 서버 설정” 7분 47초 부분입니다. 개인적으로 제PC에서 postgresql 보다 Oracle이 설치되어 있어 테스트를 했는데, TDD로 했을때는 정상적으로 토콘이 발급이 되는데..(OK) postman이나 curl 등 다른것으로 했을 때는 권한이 없다고 에러가 납니다. 2019-01-26 11:28:11.276 DEBUG 20296 — [nio-8080-exec-3] o.s.s.w.a.ExceptionTranslationFilter : Access is denied (user is anonymous); redirecting to authentication entry point 테스트할때와 그냥 실행할때와 다릅니다. *** 원 기존의 소스에서 수정하여 테스트한부분이 oracle db로 바꾸었을 뿐입니다. (처음에는 account,event, token 까지 모두 oracle 쪽을 접속하여 했는데, 계속 같은 에러가 나오길래 , token 쪽은 현소스 그래도 inmemory 에 가르키게 했고, 바뀐 부분은 test 및 실행시에 account, event 테이블이 oracle로 가르키게 바뀐부분입니다.) 제가 PostgreSQL로 테스트하지 않았지만.. 동일한것 같아서요.. TDD와 web혹은 다른툴(postman)에서 실행했을때 왜 다른지 궁금하여 질문을 드리게 되었습니다. *소스는 git에서 받은걸로 사용하였습니다. 초기에 자동으로 table을 자동실행했으나, 그 이후에는 생성옵션 없이 사용하였고, account, account_roles 계정에 user, admin 각각 테이터가 존재하는 일반적인 상황 입니다. 감사합니다.
-
미해결파이썬 입문 및 웹 크롤링을 활용한 다양한 자동화 어플리케이션 제작하기
firefox 에러뜨네요
아래와같이 입력했습니다.import sysimport iofrom selenium import webdriverimport timefrom selenium.webdriver.firefox.options import Optionssys.stdout = io.TextIOWrapper(sys.stdout.detach(), encoding = 'utf-8')sys.stderr = io.TextIOWrapper(sys.stderr.detach(), encoding = 'utf-8')firefox_options = Options()firefox_options.add_argument("--headless") #CLIdriver = webdriver.Firefox(firefox_options=firefox_options, executable_path='d:/dbms/webdriver/firefox/geckodriver')#phantomjs 실행driver.set_window_size(1920,1280)#화면사이즈 지정driver.implicitly_wait(5)#암묵적으로 5초 쉼,빠르면그냥넘어감driver.get('https://google.com')time.sleep(5)#5초대기 브라우져없으면 필요없음driver.save_screenshot("d:/dbms/web_ff.png")driver.implicitly_wait(5)#암묵적으로 5초 쉼,빠르면그냥넘어감driver.get('https://www.daum.net')time.sleep(5)driver.save_screenshot("d:/dbms/web2_ff.png")driver.quit()print('스크린샷 완료')에러는Traceback (most recent call last):File "D:dbms3-6-3.py", line 13, in driver = webdriver.Firefox(firefox_options=firefox_options, executable_path='d:/dbms/webdriver/firefox/geckodriver')#phantomjs 실행File "C:Anaconda3envssection3libsite-packagesseleniumwebdriverfirefoxwebdriver.py", line 174, in initkeep_alive=True)File "C:Anaconda3envssection3libsite-packagesseleniumwebdriverremotewebdriver.py", line 157, in initself.start_session(capabilities, browser_profile)File "C:Anaconda3envssection3libsite-packagesseleniumwebdriverremotewebdriver.py", line 252, in start_sessionresponse = self.execute(Command.NEW_SESSION, parameters)File "C:Anaconda3envssection3libsite-packagesseleniumwebdriverremotewebdriver.py", line 321, in executeself.error_handler.check_response(response)File "C:Anaconda3envssection3libsite-packagesseleniumwebdriverremoteerrorhandler.py", line 242, in check_responseraise exception_class(message, screen, stacktrace)selenium.common.exceptions.WebDriverException: Message: newSession[Finished in 4.922s]이렇게 났습니다. 어디가 잘못 된 것인지 잘 모르겠네요 의견 부탁드립니다.
-
미해결선형대수학개론
강의 자료는 어디서 다운받나요?
강의 자료가 있으면 좋겠는데.. 제공되는지 알려주세요
-
미해결프로그래밍, 데이터 과학을 위한 파이썬 입문
main함수오류
join과 특정 문자를 이용해 encoding_sentence를 띄어쓰기를 고려해서 메인 함수를 검토하기위해서 -----을 돌렸는데 아래와 같은 값이 나왔습니다. join할때 str를 문자로 바꾸어야된다는 말 같은데... 해결책이 있을까요?"""TypeError Traceback (most recent call last) in 23 24 if __name__ == "__main__":---> 25 main() in main() 12 print(decoding_sentence(user_input)) 13 elif is_validated_english_sentence(user_input):---> 14 print(encoding_sentence(user_input)) 15 elif user_input is "0": 16 print("Good Bye") in encoding_sentence(english_sentence) 29 result.append("T") 30 ---> 31 result = ' '.join(result) 32 result = result.replace("T","").strip() 33 TypeError: sequence item 0: expected str instance, NoneType found"""
-
미해결스프링 부트 개념과 활용
테스트코드를 돌릴 경우 슬라이스테스트는 인베디드DB를 쓴다고 하셨는데요.
제가 이해를 잘못했는지 모르겠습니다.AccountRepositoryTest는 슬라이스 테스트였고 그렇다면 메모리DB 인 H2를 사용하는걸로 말씀하신것 같은데요.postgres에 저장된 이유가 있을까요?제가 아마 놓친 부분이 있는거 같습니다만...
-
미해결따라하면서 배우는 웹애플리케이션 만들기
한글이 깨집니다
똑같이 따라햇는데 한글만 깨져서 나와요 어떡하면 좋을까요
-
미해결C 프로그래밍 - 입문부터 게임 개발까지
실행시켰을때 오류가 나는거 같은데 잘모르겠어요;
영상에서는 계속하려면 아무키나 누르세요라고 나오는데 제가 실행했을때는hello world 출력은 나오지만프로세스가 0코드로 인해 종료되었습니다.이창을 닫으려면 아무 키나 누르세요.라는 멘트가 나옵니다. 혹시 왜그런걸까요?
-
미해결파이썬을 활용한 데이터분석과 IT보안
ova파일이 없네요
강의자료에 로그데이터 수집 강의에서 사용하는 security onion ova파일이 없습니다
-
미해결파이썬을 활용한 데이터분석과 IT보안
ova파일이 없네요
강의자료에 로그데이터 수집 강의에서 사용하는 security onion ova파일이 없습니다
-
미해결스프링 기반 REST API 개발
소스코드 에러
소스코드를 열면클래스에 getter,setter도 없어서 Cannot resolve method 뜨는데직접 만들어야 하는건가요?그리고 빨간줄 가는게 한두개가 아닌데 메이븐 빌드 오류일까요도와주세요
-
미해결이더리움 & 솔리디티 기반의 투표 dApp 구현하기
npm install ganache-cli web3@0.20.1 solc 수행시 오류가 발생하네요;
npm install ganache-cli web3@0.20.1 solc 수행시 오류 발생(npm install ganache-cli 는 수행됨)
-
미해결프로그래밍, 데이터 과학을 위한 파이썬 입문
퀴즈3번째 1번 문제
리스트 관련 강의를 듣다 모르는 점이 있어서 문의 드립니다list_a=[3,2,1,4]list_b=list_a.sortprint(list_a,list_b)라고 명령을 했을때왜 list_b는 None이 뜨는 것이며 list_a는 갑자기 왜 정렬되는 건지 모르겠습니다.sort가 return이 없는 함수라서 이미 a를 정렬했기 때문에 list_a는 [1,2,3,4]라고 나온다고 치면, 왜 list_b는 None으로 나오는지 이해가 안됩니다.답변 부탁드립니다
-
미해결밑바닥 부터 시작하는 머신러닝 입문
'10월 중순으로 보너스 강좌 업로드가 시작될 예정'에서 10월이 2019년 10월인가요?
10월 중순으로 보너스 강좌 업로드가 시작될 예정에서 10월이 2019년 10월인가요?
-
미해결밑바닥 부터 시작하는 머신러닝 입문
'10월 중순으로 보너스 강좌 업로드가 시작될 예정'에서 10월이 2019년 10월인가요?
10월 중순으로 보너스 강좌 업로드가 시작될 예정에서 10월이 2019년 10월인가요?
-
해결됨스프링 기반 REST API 개발
프로젝트 패키지를 도메인단위로?
스프링 프로젝트들을보면 패키지명을 controller, dto, repository 이런단위로 만들고관련클래스 파일을 모아놓는식으로 사용하는걸 많이 봤는데요, 강좌에서는 events, accounts 도메인(?) 단위로 만드셨잖아요.현업에서도 이렇게 사용을 많이 할까요?이렇게 구성시는 이유? 좋은점은 뭘까요?
-
미해결프로그래밍, 데이터 과학을 위한 파이썬 입문
delete_a_list_element 질문
'''def delete_a_list_element(list_data, element_value):''' '''result = []''' '''for i in range(len(list_data)):''' '''if not list_data[i] in element_value:''' '''result.append(list_data[i])''' '''if len(result) == 0:''' '''result.append(0)''' '''return result''' 이런 식으로 코드를 작성 했는데 테스트를 해보면 출력은 맞게 잘 되는데 과재를 재출하면 틀렸다고 뜨는데 이유를 알수있을까요..?
-
미해결밑바닥 부터 시작하는 머신러닝 입문
질문입니다
혹시 part2는 찍으시는지 궁금합니다그리고 svm에 대한 강좌가 있다고 하는데 제가 못찾는건지 혹시 어디에 있는지 알수있을까요 ??