묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
해결됨[2023 코틀린 강의 무료제공] 기초에서 수익 창출까지, 안드로이드 프로그래밍 A-Z
안드로이드스튜디오 버전이 어떻게 되는지요?
앱을 만들고 싶어 강의를 시작했습니다.이해하기 쉽도록 강의가 되어 있어서 좋네요그런데 강의에서 보여지는 안드로이드스튜디오 소스 스타일과제가 다운받은 android-studio-2024.3.2.15-windows.exe 버전이 상이해서 문의 드립니다. new project->empty project로 만들고 나면 layout에는 activitymain도 없고, mainactivity의 소스 내용도 상이합니다.안드로이드스튜디오를 이제 처음 켜보니 어떻게 해야할지 모르겠어요..ㅠㅠ 안드로이드스튜디오 버전을 강의에서 사용한 버전으로 바꿔야 하는지... 아님 현재 버전을 이용할 경우 어떻게 하면 강의를 잘 따라갈수 있는지...난관에 붙혀서 문의 드립니다.
-
미해결[신규 개정판] 이것이 진짜 크롤링이다 - 실전편 (인공지능 수익화)
네이버쇼핑 크롤링 예제 관련
네이버 쇼핑 크롤링예제 부분에서 그냥 requests로 한번 접속해보고 그 다음에 셀레니움으로 접속해봤는데 둘다 접속 제한 페이지만 나옵니다.ㅜㅜ. 여러번 시도 한것도 아닌데 지금 시점 네이버쇼핑이 원래 빡시게 막아 놓은건가가요? 방법이 없나요?
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
4회기출 작업형2 이렇게 푸는게 맞나요..?
# 라이브러리 불러오기 import pandas as pd # 데이터 불러오기 train = pd.read_csv("https://raw.githubusercontent.com/lovedlim/inf/refs/heads/main/p4/4_2/train.csv") test = pd.read_csv("https://raw.githubusercontent.com/lovedlim/inf/refs/heads/main/p4/4_2/test.csv") #preprocessing print('변경전:',train.shape, test.shape) train = train.drop('ID', axis =1 ) target = train.pop("Segmentation") test_id = test.pop('ID') print('변경후:',train.shape, test.shape) data = pd.concat([train, test], axis = 0) cols = data.select_dtypes(include = "object").columns #encoding from sklearn.preprocessing import LabelEncoder for col in cols: la = LabelEncoder() data[col] = la.fit_transform(data[col]) train = data[:len(train)].copy() test = data[len(train):].copy() print(train.shape, test.shape) print(train.head(3)) #분할 from sklearn.model_selection import train_test_split X_tr, X_val, y_tr, y_val = train_test_split(train, target, test_size = 0.2, random_state = 0) print(X_tr.shape, X_val.shape, y_tr.shape, y_val.shape) #랜포 from sklearn.ensemble import RandomForestClassifier rf = RandomForestClassifier(random_state = 1006 , max_depth=7, n_estimators = 1000) rf.fit(X_tr, y_tr) pred = rf.predict(X_val) len(pred) from sklearn.metrics import accuracy_score, f1_score #점수측정 f1 = f1_score(y_val, pred, average='macro') acccuracy = accuracy_score(y_val, pred) print('f1:',f1) print('acccuracy:', acccuracy) #rf 기본 0.4946975843769027 # rf : max_depth=7, n_estimators = 1000 # f1: 0.5406747794301512 # acccuracy: 0.5566391597899475 # lgb # f1: 0.5227625161214081 # acccuracy: 0.536384096024006 pred = rf.predict(test)#실제예측 pd.DataFrame({'ID':test_id,'Segmentation':pred}).to_csv("00000.csv", index = False) pd.read_csv("00000.csv")하이퍼파라미터 여러가지 넣으면서 f1스코어 테스트하면서 해봤는데 적절히 풀었는지 궁금합니다
-
해결됨(2025) 일주일만에 합격하는 정보처리기사 실기
강의별 pdf파일에는 코드문제, 답만 적혀있던데
강의마다 시작부터 진행되는 개념관련된 pdf는 따로 없는건가요?
-
미해결OpenCV 강좌 - 컴퓨터 비전
cmake/tbb
error in configuration process, project files mayy be invalid경고문구와 함께 이렇게 되는데 어떻게 해야하나요?ㅠㅠ
-
미해결프론트엔드 날개달기: Vue, React 배우기 전에 꼭 알아야하는 지식
캡쳐링을 막아야 하는 경우는 어떤 경우가 있을까요?
안녕하세요! 일단 멋진 강의 감사합니다. 정말 잘 듣고있습니다 🙂강의 수강 중 하나 제안하고 싶은게 생겨서 질문 남기게 되었습니다. 이벤트 캡쳐링과 버블링에 대한 개념을 쉽게 설명해주셨는데요, 이 캡쳐링과 버블링이 실제 코드 동작시에 어떤 영향을 주는지도 설명에 포함되면 좋을것 같았습니다!예를들면 버블링의 경우는 클릭이벤트가 타겟요소에 부모까지 영향을 받아서 의도치 않는 동작이 발생될 수 있고, 그걸 막기 위해서 강의에서처럼 stopPropagation()을 해주는걸로 알고 있습니다.그렇다면 캡쳐링에 경우는 어떤 경우에 문제가 되고 언제 stopPropagation()을 사용하면 좋은지 궁금해지더라구요.강사님의 귀에 쏙쏙 박히는 설명에 한 줄 추가되면 좋을것 같아 의견 남겨보았습니다. 오늘도 고생 많으셨습니다~~
-
해결됨(2025) 일주일만에 합격하는 정보처리기사 실기
2024년 3회 기출문제 강의 재생 안 됨
안녕하세요 선생님.항상 잘 듣고 있습니다.다름이 아니고2024년 3회 기출문제 강의가 재생이 안 됩니다.15일, 16일 다 시도해봤는데 15일은 기출문제 설명 들어가면서 재생이 안 되고 16일은 아예 재생 자체가 안 됩니다. ㅜㅜ확인 한 번만 부탁드리겠습니다.감사합니다.
-
미해결
The Ultimate Guide to Fresh, Human-Grade Pet Food
As pet owners, we all want to give our pets the best. A major factor that ensures their well-being is the food that they eat. Through the decades, there has been a noticeable change in the pet food industry, since fresh, human-grade pet food became available. This approach is not just kibble anymore. It offers real nutrient-rich meals made with human food-grade ingredients.What makes fresh, human-grade pet food different? Why you should buy it for your pet? Let's look at this kind of pet food to understand its benefits, considerations, and how it can become a game-changer for your pet.What Is Fresh, Human-Grade Pet Food?Fresh, human-grade pet food is crafted using whole, natural ingredients that meet the same safety and quality standards as food for people. Unlike processed kibble or canned food, which often contains fillers, artificial additives, and low-grade ingredients, this approach focuses on delivering premium-quality meals to your pet.Key Components of Fresh, Human-Grade Pet Food1. High-Quality Proteinso Sourced from real meats like chicken, beef, or fish, these proteins provide essential amino acids that support muscle maintenance and overall health.2. Fresh Vegetables and Fruitso Ingredients such as sweet potatoes, carrots, and apples supply vital vitamins, minerals, and antioxidants to boost immunity and promote well-being.3. Free from Artificial Additiveso These meals are free of synthetic preservatives, flavors, and fillers, which are often linked to allergies and other health issues.The Benefits of Fresh, Human-Grade Pet FoodSwitching to fresh, human-grade pet food can profoundly impact your pet’s health and happiness. Here’s how:1. Superior Nutritional ValueFresh food retains its natural nutrients because it’s minimally processed. Unlike traditional pet food that loses significant nutrients during high-temperature processing, fresh meals provide optimal bioavailability, ensuring your pet gets the most from every bite.2. Improved DigestibilityPets often experience better digestion with fresh food. Real, whole ingredients are gentler on the stomach, reducing the risk of digestive upsets. This is especially beneficial for pets with sensitive stomachs.3. Healthier Skin and CoatFresh food, rich in omega fatty acids and vitamins, can lead to noticeable improvements in your pet’s appearance. Expect a shinier coat, fewer skin issues, and reduced shedding.4. Boosted Energy LevelsThe nutrient-dense composition of fresh food translates to higher energy levels. Your pet will feel more active and playful throughout the day.5. Weight ManagementFresh diets are portion-controlled and calorie-conscious, making them ideal for managing your pet’s weight. By eliminating unnecessary fillers and carbs, fresh food helps pets maintain a healthy physique.Tailoring Fresh Food to Your Pet’s NeedsNo two pets are the same, and their diets shouldn’t be either. Fresh, human-grade pet food allows for customization to cater to your pet’s specific requirements.1. Addressing Dietary Restrictions· Allergies: Fresh food can exclude common allergens like gluten or certain proteins.· Sensitive Stomachs: Ingredients can be chosen to aid digestion and prevent irritation.2. Supporting Life Stages· Puppies: Need higher protein and calorie content to fuel growth.· Adult pets: Require balanced nutrients to maintain energy and health.· Senior pets: Benefit from additional fiber and joint-supporting ingredients.3. Tailoring for Activity LevelsHighly active pets may need meals rich in protein and healthy fats, while less active breeds can benefit from controlled portions to prevent obesity.How to Transition to Fresh FoodSwitching your pet to a fresh diet is a gradual process to avoid digestive disturbances. Follow these steps for a smooth transition:1. Start Slowly: Begin by mixing 25% fresh food with 75% of their regular diet.2. Increase Gradually: Over 7–10 days, increase the proportion of fresh food until it fully replaces the old diet.3. Monitor Health: Watch for changes in energy, stool consistency, and coat condition during the transition.4. Consult a Vet: Ensure the diet meets your pet’s nutritional needs.Why Vets Recommend Fresh Food?Many veterinarians advocate for fresh diets due to their positive impact on health. Dr. Emily Carter, who has been verified as a board-certified veterinary nutritionist, states, "Fresh, human-grade food is a fantastic option for the pet's life quality improvement. It is free of the usual allergens and filler ingredients, thus, it is suitable for pets that may suffer from certain food allergies or have strict dietary needs."Research has often confirmed these assertions through instances where pets on fresh diets show signs of enhanced digestion, elevated energy levels, and a more perfect general state of health. Explore more Food Recipes on Yambite.comLong-Term Value of Fresh Pet FoodWhile the upfront costs of fresh food may seem steep, the long-term benefits are undeniable:· Fewer Vet Visits: Nutrient-rich diets support stronger immune systems, reducing the likelihood of chronic health issues.· Improved Quality of Life: Your pet will enjoy better digestion, energy, and vitality.· Longevity: A nutritious diet can extend your pet’s lifespan, allowing for more happy years together.Is Fresh, Human-Grade Pet Food Right for Your pet?This diet is an excellent choice for:· pets with allergies or sensitivities.· Picky eaters who refuse kibble.· Pets with chronic health conditions.· Senior pets need tailored nutrition.If you’re committed to providing the best for your furry friend, fresh, human-grade pet food is a worthy investment.ConclusionFresh, human-grade pet food isn’t just a trend; it’s a transformative approach to pet care. From improved digestion and shinier coats to higher energy levels and weight management, the benefits are vast. While it requires a financial and time commitment, the payoff is a happier, healthier pet who thrives with every meal.
-
미해결DevOps를 위한 Docker 가상화 기술 (Private Harbor Registry)
argocd 배포 이슈
안녕하세요.우분투 22.04에서 실습하는데, argocd에 배포시 이슈가 있어 문의 드립니다.서버에 minikube 설치 후 테스트를 진행하였고 argocd에서 배포할 때 강사님의 github에 있는 manifest에서 sync를 맺으려고 하면, Failed to load live state: namespace "default" for Service "welcome-svc" is not managed 와 같은 메세지가 나오는데요.roll-binding, config map 수정등의 작업을 수행해도 sync시에 default namespace에서의 에러가 발생합니다.감사합니다.
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
작업형2 train, test의 범주가 다를때
안녕하세요.시나공 빅분기 p.338 노트북 가격 예측에 대한 문제를 풀다가 궁금한 점이 있어서 질문드립니다.train, test의 범주가 다를때 concat으로 데이터를 합쳐서 get_dummies를 적용하여 원핫 인코딩을 하게 되는데,혹시 concat으로 데이터를 합쳐서 LabelEncoder를 적용한 후 동일하게 나누면 안 되나요?합친 데이터에 fit()을 적용시키고 결과를 도출했을 시 값이 더 좋게 나오는 것처럼 보여지는데 책에 기술되어있지 않은 이유는 문제가 있기 때문인건가요? 사용한 코드cols = train.select_dtypes(include='O').columns total = pd.concat([train,test]) from sklearn.preprocessing import LabelEncoder le = LabelEncoder() for col in cols: total[col] = le.fit_transform(total[col]) train = total[:train_n] test = total[train_n:]
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
작업형 3 잔차이탈도 계산
#잔차이탈도 계산 print(-2 * model.llf) print(-2 * -143.47) #286.94 print(round(286.93267518507366,2)) #286.93작업형 3에 이렇게 소수점 문제에서 llf나 params 이런함수들을 몰라서 이문제 같은경우 summary 표에서 log-likelihood값인 -143.47을 임의로 곱했을때 값이 286.94이고 선생님이 하신거는 286.93인데 이러면 틀린건가요?
-
미해결TailwindCSS 완벽 마스터: 포트폴리오부터 어드민까지!
모바일 사이즈에 대해 질문있습니다.
안녕하세요 테일윈드 강의에서 반응형 부분의 강의를 보다가 궁금한 점이 생겨 여쭤보고 싶어 글을 남깁니다. 예를 들어 모바일 청첩장처럼 모바일사이즈만 사용할 경우 리액트에서는 처음에 라이브러리를 사용하지 않고 모바일 사이즈로만 설정하는 방법이 궁금합니다. 그리고 테일윈드에서 모바일 사이즈만 할 경우에는 sm 이 부분만 사용을 설정하면 되는지 궁금합니다.
-
미해결김영한의 실전 자바 - 고급 1편, 멀티스레드와 동시성
설정관련해 한번더 질문드립니다
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문 전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]여기에 질문 내용을 남겨주세요.이렇게 코드 작성하는 부분에서도 설정차이가 있습니다 선생님과 같은 설정이였다가 갑자기 제가 잘못 눌러 밑과같이 변경되었습니다. 혹시 원래대로 설정할수 있을까요?
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
작업형2 test 예측 오류
X_val로 예측 후 roc-auc 결과로 LGBM 모델을 선택했습니다.그리고 test를 넣어 최종 예측을 했는데 pred 값이 이렇게 나오네요,,,어떤게 문제일까요 ㅠㅠ 참고로 test 데이터셋은 이렇게 되어있습니다...
-
미해결
코랩 힌트 끄는 설정 ㅠㅠ
https://inf.run/RWbp7 이거 해결 방법 없을까요ㅠ
-
미해결유니티 Addressable 을 이용한 패치 시스템 구현
카탈로그 다운로드 주소를 런타임에서 변경할 수 있을까요?
여러가지 이슈를 대비해 런타임중 서버로 부터 카탈로그 다운로드 주소를 받아와해당주소에서 카탈로그를 다운로드해서 업데이트하고 에셋을 로드하는 방식을 사용하려고해요 런타임중 리모트 카탈로그 주소를 변경하는 방법이 있다면알려주시면 감사하겠습니다
-
해결됨그림으로 쉽게 배우는 자료구조와 알고리즘 (심화편)
최대 유량 문제(포드 풀커슨 알고리즘)
안녕하세요. 강사님.포드 풀커슨 알고리즘에서 역방향 상수관을 어느 위치에서 사용하는지 어떻게 정하나요?도시3에서 도시2에만 역방향 상수관을 만드는 선택을 어떻게 정하는지 궁금합니다.
-
해결됨[Unity] 함께 만들어가는 방치형 게임 개발
Material 파일이 깨지는거 같아요
쉐이더 ui default로 하면 정상적으로 보이는데 기본으로 하면 분홍색으로만 나옵니다
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
함수를 변수명으로 덮어씌운다면?
안녕하세요. 연습을 하던 중 오타나 실수로 인해 함수를 변수명으로 사용하거나 = 이 들어가서 덮어씌워지는 경우가 있었습니다.계속 실수를 발견하지 못하다가 오류가 나는 상황에서 이것이 원인인걸 뒤늦게 알게 되는 경우가 많았습니다.colab에서는 초기화를 시켜서 함수를 되돌리고는 했는데, 시험 환경에서 해당 실수가 일어났을 경우 되돌리는 방법이 있는지 궁금합니다.
-
해결됨2025 언리얼 공인강사 – UE5 스파르타 클래스: 실전편
캐릭터가 달릴 때, 콜리전 박스를 지날때 애니메이션이 튑니다.
안녕하세요. 강의 잘 듣고 있습니다. 캐릭터가 달릴 때, 콜리전 박스를 지날때 애니메이션이 튑니다.제것만 그런줄 알았는데... 강의 자료 영상에도 반복적으로 뛰는 애니메이션이 튀는 구간이 발생하는 게 보입니다. 어떻게 해결해야 할까요?