전체 글47 파이썬 메서드 정의 순서와 실행 내가 써본 gpt3.5 https://chat.openai.com/share/ad8ced4d-1773-4cc2-9189-44eb63555b7b ChatGPT 파이썬에서, class A: def __init__(self, data): self._data = data self.method_a() self.method_b() def method_a(self): print(“hi”) def method_b(self): print(“bye”) 이 class A를 생성하고, test_code = A(data) 이 코드를 실행하면, meth chat.openai.com 파이썬 클래스 내부에 메서드 정의와 실행 순서는 관계가 없다고 한다. 인스턴스가 생성되는 시점에 이미 정의는 다되어있기 때문에 사실상 __init__.. 2023. 9. 20. 1. Introduction Introduction 파트는 이 책에서 어떤 논의를 할 것인지 안내하고, 그에 필요한 기본 배경지식을 설명한다. Statistical Learning(통계적 학습) supervised: input, output → statistical model → predicting, estimating unsupervise: None output, only input → learn relationships, structures ▶ supervised | unsupervised 통계적 학습은 지도학습(supervised)과 비지도학습(unsupervised)로 구분되는데, - 지도학습은 input과 그에 대응하는 output이 존재하는 데이터로 통계 모델링, 예측, 추정한다. - 비지도학습은 특정 input에 대한 .. 2023. 9. 14. 0. Introduction to Statistical Learning With Python https://www.statlearning.com/ An Introduction to Statistical Learning As the scale and scope of data collection continue to increase across virtually all fields, statistical learning has become a critical toolkit for anyone who wishes to understand data. An Introduction to Statistical Learning provides a broad and less techn www.statlearning.com 우여곡절 끝에 데이터사이언티스트로 커리어를 시작하게 되면서, 선배님으로부터 교재 한 권을 .. 2023. 9. 13. 이전 1 ··· 9 10 11 12 다음 반응형