묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결빅데이터 분석기사 시험 실기(Python)
질문이 있습니다.
질문1. 8강. 작업유형2-모형학습 및 평가의 11번. 예측값저장에서 'id' : y_test.index를 하면서 11강, 13강에서의 11번. 파일저장에서는 'id' : X_test.index를 하는데 8강과 (11강,13강)의 차이는 왜 발생하는 것인가요? 질문2. 11강.연습문제1(분류)-모형학습 및 평가의 11번. 파일저장에서 result = result.iloc[:, 1]을 해서 1번째 열을 가지고 오는데, 13강 연습문제2(회귀)-모형학습 및 평가의 11번. 파일저장에서 result = result.iloc[:, 0]에서는 왜 0번째 열을 가지고 오는 것인가요?
-
해결됨자바 ORM 표준 JPA 프로그래밍 - 기본편
일대다 관계 지연로딩시 질문
Member 와 Post 가 일대다 관계일 때, member를 가져올 때 post가 지연로딩으로 되면 가져온 멤버의 필드 List<Post> 는 null값으로 설정되나요? 아니면 빈 List로 생성되나요? Member 클래스 @OneToMany(mappedBy = "member",cascade = CascadeType.ALL)private List<Post> posts; Post 클래스 @ManyToOne(fetch = FetchType.LAZY)@JoinColumn(name="member_id")private Member member; 전체 회원의 post 개수를 화면에 보여주려고 타임리프에서 <td th:text="${member.posts.size()}"></td> 이렇게 각 멤버의 post에 접근했더니 org.springframework.expression.spel.SpelEvaluationException: EL1011E: Method call: Attempted to call method size() on null context object 와 같이 null 오브젝트에 size()를 호출했다고 합니다.
-
미해결스프링 핵심 원리 - 기본편
질문이요
private static final Map<Long,Member> store= new HashMap<>();이문장에서 Member대신에 Object를 쓰면 안되는건가요?
-
해결됨React + API Server 프로젝트 개발과 배포 (CI/CD)
환경변수를 이용한 동적빌드 구간에서 질문 !!
frontend/.env파일에서 VITE_API_SERVER= 이렇게만 설정해주셨는데.... 이 부분이 잘 이해가 안갑니다. fetch(import.meta.env.VITE_API_SERVER + '/api/hello') .then(response => response.json()) .then(data => greet.innerHTML = JSON.stringify(data)) 보시다시피 위의 코드가 빌드되었을 텐데요?? VITE_API_SERVER를 아무것도 지정안하면 요청이 /api/hello 이렇게만 나오는거 아닌가요?? 그런데 케누님 영상에서는 도메인이 붙어있네요? ㄷㄷ;;; 이 부분이 잘 이해가 안가요 ㅠㅠ....
-
해결됨[리뉴얼] Node.js 교과서 - 기본부터 프로젝트 실습까지
.env를 html 파일에서 사용할 수 없을까요?
선생님 안녕하세요혹시 .env를 html에서 활용할 수 없나요? 환경변수를 html에서 사용하고 싶어서요
-
미해결따라하며 배우는 NestJS
BoardsController 못불러와요 ㅜ_ㅜ
안녕하세요, controller까지 작성하고 npm run start:dev로 테스트시 빈배열을 못불러오고 {"statusCode":404,"message":"Cannot GET /boards","error":"Not Found"} 통신이 안되네요 ㅜ_ㅜ 터미널을 보니, 모듈까지 불러오고 컨트롤러는 못불러옵니다ㅜㅜ MAPPED{/borads, GET} route도 못불러오구요.. 그냥 모듈까지 불러오고 스타트가 되는데 어떻게 해야할까요 ㅜㅜ?
-
미해결
Why Cash App Transfer Failed :( Cash App reviews
Are you wondering why TRANSFER FAILED CASH APP? This article will help you understand the possible reasons behind this problem. When you see that your money transfer failed on Cash App, check out the technical errors, insufficient internet connection, and inaccuracy in your details. You may need to contact Cash App Customer Support for more information. In many cases, your Cash App transfer can be failed due to a combination of issues. Here are a few of the most common reasons why Cash App add cash failed. Follow the tips in this article to avoid experiencing a similar issue in the future. Problems with Cash App server: There are many reasons you might encounter problems with the Cash App server. Here are some of the most common ones. A server outage can happen anywhere - on your end, on the client-side, or between. To fix Cash App transfer failed issues, check your Internet and network connections. Lastly, make sure you're running the latest update - this should fix any bugs or errors. If you're still experiencing problems, here are some simple steps. Internet not working: Your internet connection may cause your Cash App payment failed. Try switching from Wi-Fi to mobile data. If this does not work, make sure you've got enough funds. You may be reaching the limit for sending and receiving money in your Cash App account. Incorrect details: If you receive a message saying you're this Cash App transfer failed because of incorrect details, there are a few reasons why this could be the case. The first thing you should check is the validity of your card. If it has expired or frozen, you need to update its details to avoid having your transaction rejected. Another common reason is that you have entered the wrong card number or expiration date. How to cancel it if the Cash App transfer failed? If you still have trouble making a payment, cancel your transaction. Following are the steps you need to take to cancel a Cash App payment: To check the status of your transaction, launch Cash App on your mobile device. Tap on 'Clock Shape' in the top-right corner. Then, look for the transactions you've made since the last time you made a transfer.
-
미해결언리얼 엔진4 입문 (C++ 기반)
언리얼 프로젝트 왜 따로 복사해서 관리하나요?!
안녕하세요 실제 언리얼 프로젝트 만들고 복사해서 .git에 있는 폴더에 복사해서 쓰나요? 따로 이유가 았나요? 아님 그냥 처음 만들었던 폴더에 git을 해도 상관없나요? 만약 상관없다면 처음에 만들었던 프로젝트는 삭제해도 상관없나요?
-
미해결
Why did you choose the Best Car Removal Sunshine Coast?
If you have ever considered getting rid of your unwanted car, CarRemovalSunshinecoast is the best place. They have been in this industry for many years, helping people get rid of their cars for cash. Their team buys all kinds of vehicles, no matter how old they are, and instantly pays reasonable prices. They offer Cash For Cars Sunshine Coast and have the best car removal Sunshine Coast services. They strive to be the best in the industry and have several satisfied customers throughout the Sunshine Coast. Their staff are friendly, professional, reliable, and ready to help you get rid of your unwanted car. They buy vehicles in any condition and pay cash on the spot. There are no hidden costs, no paperwork to fill out, and no waiting for the money to reach your account. They want your car, and we will pay cash for it right now.
-
미해결실전! 스프링 부트와 JPA 활용2 - API 개발과 성능 최적화
쿼리 로그
application.properties에서 여러 설정을 추가해도 강사님처럼 예쁘게 쿼리가 정렬되어 나오지 않아서 가독성이 떨어지는데요, 1. 어떤 것을 추가하거나 주석처리를 해야할까요? 2. 그리고 같은 쿼리가 왜 두번 찍히는지 궁금합니다. 현재 상황
-
미해결
Can I book a room for Goa Holiday Package for 2 nights 3 days?
Yes, this is not a problem at all. That depends upon the hotel you are booking. There can be different prices for different days. You should check with the hotel manager to learn more. There are many hotels in Goa that offer a wide range of Goa hotels packages, and then you will be able to enjoy your vacation in Goa with peace of mind. Some hotels provide more than just a room; they offer Goa holiday packages, including airport transfer, food and drinks, and tour packages. If you want to book a Goa holiday package 2 nights 3 days, you can visit Goa Darling. You can book any package as per your requirements and budget. Check the rates, hotel, and flight details carefully before booking.
-
미해결
아톰에서 Script 패키지 설치하려고 하는데 검색이 되지 않습니다.
안녕하세요, 아톰을 이제 막 설치하고 필요한 패키지를 install하는 중인데, autocomplete까지는 잘 검색이 되어 설치했으나 Script는 install에서 검색 시 검색결과로 나오지가 않아 설치하지 못하는 중입니다. 혹시 비슷한 문제를 겪어보신 분이 있으실까요? [Script 검색 시 화면] [찾고있는 Script 패키지] 설치 숫자가 비슷하게 많은 패키지는 아래와 같이 하나 나오는데, 혹시 같은 기능을 가진 패키지일까요? 비슷한 문제를 겪어보신 분이 있으시면 말씀 부탁드립니다.ㅠ
-
미해결실전! Querydsl
쿼리 성능에 대하여...
[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]안녕하세요 영한님, 강의 잘 듣고 있습니다 ㅎㅎ 취준생때 영한님강의로 공부하고, 현재는 취업해서 JPA+Springboot로 실무에 참여하고있어요! [올해의 계약금액을 월별로 조회] 하는 API를 작성해야하는데요테이블관계는 아래와같습니다. (한명이 여러 계약을 가질수 있고, 하나의 계약에 여러개의 입금내역을 가집니다)[사람] 1 : N [계약] 1 : N [입금내역]입금내역을 조회하지만, 조건절에 사람테이블에 있는 컬럼을 사용해야해서 전부 조인을 걸었어요.SELECT ... FROM 사람 INNER JOIN 계약 ON ,,, INNER JOIN 입금 ON ... WHERE 사람.조건 = 조건 AND 계약.날짜 between '202201' and '202205' GROUPBY 계약날짜 -- 월별문제는 건수가 너무 많다는건데요.. 해당 데이터는 전체 몇백만건으로,[계약] - [입금내역]간 조인에 많은 시간이 소요되고 있어요..해당부분을 해소하기위한 방법으로는 어떤게있을까요? 아래 방법이 가능할까요?1. 서비스단에서 월별로 쿼리를 나누어서 실행 for문을 통해 총 5회의 쿼리를 수행...2. 쿼리자체에서 5번으로 수행해서 결과도출 (UNION ALL)영한님이였으면 어떻게 성능을 개선했을지 궁금합니다..
-
미해결스프링 시큐리티
Refresh token
안녕하세요. 1) 프론트엔드에서 받은 JWT가 기한이 만료되었을 때, JWT를 새로 발급받으려 한다면 Filter를 사용해서 처리하는 게 맞는 방법일까요? 2) 제가 아직 수강을 많이 안 한 상태인데, 혹시 수업 중에 이에 대한 설명이 있는지요? 읽어주셔서 감사합니다.
-
미해결[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part1: C++ 프로그래밍 입문
메모리 오염에 대해서 궁금한 것
int a[100] = {}; a[99] = 0xAAAAAAAA; int b = 0xAA; 로 TestWrong 함수의 내용을 작성하고 디버깅을 해봤는데 스택 함수는 높은 주소 -> 낮은 주소로 이동한다고 알고 있는데 &(a[0])의 값(0x004FF45C)이 &(a[99])의 값(0x004FF5E8)보다 더 낮았습니다. 배열의 원소들이 스택에 들어갈 때는 높은 index의 원소들부터 먼저 들어가게 되는 것인가요? 2. 1번과 연계해서 0x004FF450 000000aa -> &b 0x004FF454 cccccccc 0x004FF458 cccccccc 0x004FF45C 00000000 -> &a[0]에서 &a[0]과 &b 사이에 있는 c들도 오버플로우 감지용이 맞을까요? 3. 유효하지 않다는 의미는 메모리가 더 이상 유효하지 않다는 것은 엄밀히 따지면 아니고 스택 프 레임 관리를 할 때 커서를 쭉 당겨서 main 관련 스택프레임까지만 유효하다고 규칙을 정한 것 이라고 하셨는데 둘의 차이가 정확히 어떻게 되는 것인가요? 고민을 많이 해봤는데도 잘 모르겠습니다...;; 4. TextRPG3 내용이긴 하지만, 메모리 오염 내용에서, 지역변수가 존재하는 함수의 하위함수에서는 해당 지역변수의 주소값을 매개변수로 쓰든 output으로 쓰든 다 괜찮고 해당 함수의 범위 바깥에서만 사용 안하면 된다로 이해하면 될까요? 5. int(*p2)[2] = arr2;에서 p2에 int(*)p2 대신 int(*)[4]나 int(*)[2][2] 형식이 못 들어가는 이유는 컴파일러가 그냥 그렇게 정해주었기 때문인가요?
-
미해결스프링 MVC 2편 - 백엔드 웹 개발 활용 기술
프로젝트 생성 과정
start.spring.io 사이트에서 현재 프로젝트를 만드려고 합니다. 그런데 스프링 부트 버전이 최소 낮은게 2.6.8 버전입니다. 스프링 입문에서 2.6.4 버전 이상 부터는 오류가 발생한다고 알려 주셨는데, 어떻게 해야 되나요??
-
미해결
What are your favorite spots to Scuba Dive in Mallorca?
If you are looking for a great location to visit in Scuba Diving Mallorca, I suggest you check out Cala Murta, located in the Capdepera area. This is a beautiful beach with beautiful clear water. This is a very shallow area, so you can expect to travel around about 50 feet underwater. I love going to this area because the water is clear and you will see some incredible sea life in the area. If you are not a strong swimmer, you can also go to Illetes. It is a great place to learn scuba diving since it is a shallow area. You will be able to see much different fish, and snorkeling in the area is a great experience. If you don't know which site provides the best information about all your questions, you should visit Scubanautic. It's a beautiful platform that provides the best location for diving in Mallorca.
-
미해결빅분기 실기 1Day Class(R)
cross validation score negative
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요. cross validation관련 하여 질문드리고자 합니다. 모델을 만든 후 데이터 셋에 대하여 cross val을 실행하였는 데요. train 데이터에 대해서는 0.56 정도의 스코어가 나왔는 데 cross val을 통한 스코어 평균 값은 -0.07 가 나왔습니다. 이렇게 다르게 나오는 이유가 궁굼합니다. 답변 주시면 정말 감사합니다.
-
미해결워드프레스 기초부터 쇼핑몰까지
메뉴 만들기에서
메뉴 > 메뉴 구조 > 메뉴 설정 > Desktop Horizontal Menu가 없어졌나봐요 대신 주 메뉴가 있어서 그걸로 체크해도 되는지요?
-
미해결
Who is the Top Website Designing Company in India?
Point your visit to this site, Mega Web Design. A good and dedicated website designing company India is of utmost importance for the success of any business. Having a good website and web design will help you promote your business better, and it is the first impression that people get of your business. If your website is designed correctly, it can better reflect your brand image, business profile, and company. Website design is a process in which you can make a professional website for your business that quickly provides information to visitors. Only if your business benefits from contact with visitors via the website can it be considered successful. So hurry and choose the right web design company India that builds traffic on your website.