영역에서는 아무런 변화가 없습니다. 아마도 다음 번 검색 땐 매개변수 그리드에서 매우 작은
단위는 제외될 것입니다. 최적치가 그래프의 경계에 있으니 이 경계 너머에 더 나은 값이 있다
고 생각할 수 있습니다. 그러니 이 영역이 포함되도록 매개변수 검색 범위를 바꿔줘야 합니다.
교차 검증 점수를 토대로 매개변수 그리드를 튜닝하는 것은 아주 안전한 방법이며, 매개변수들
의 중요도를 확인하는 데도 좋습니다. 그러나 최종 테스트 세트를 대상으로 여러 매개변수 범
위를 테스트해서는 안 됩니다. 앞서 이야기했지만, 테스트 세트 평가는 사용할 모델이 정확히
결정되고 나서 딱 한 번만 해야 합니다.
비대칭 매개변수 그리드 탐색
어떤 경우에는 모든 매개변수의 조합에 대해
GridSearchCV
를 수행하는 것이 좋은 생각이 아
닐 수 있습니다. 예를 들어
SVC
는
kernel
매개변수를 가지고 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.