machine learning
-
- [Python] ํ์ดํ ์น(PyTorch)์์ ์ฐ์ฐ ์ฅ์น ์ค์ ํ๊ธฐ (GPU, CPU)ํ์ดํ ์น(PyTorch)์์ ์ฐ์ฐ ์ฅ์น ์ค์ ํ๊ธฐ (GPU, CPU) ๋ค์ด๊ฐ๋ฉฐ ํ์ดํ ์น(PyTorch)์์ ์ฐ์ฐ ์ฅ์น(GPU/CPU)๋ฅผ ์ค์ ํ๋ ์ฝ๋๋ฅผ ์์๋ณด์. ๋ฐฉ๋ฒ GPU ์ฌ์ฉ์ด ๊ฐ๋ฅํ ๊ฒฝ์ฐ @torch.device@๋ฅผ @cuda@๋ฅผ ์ค์ ํ๊ณ , ๊ทธ๋ ์ง ์์ ๊ฒฝ์ฐ @cpu@๋ฅผ ์ฐ์ฐ ์ฅ์น๋ก ์ค์ ํ๋ค. # GPU ์ค์ (์ฌ์ฉ ๊ฐ๋ฅํ ๊ฒฝ์ฐ) device = torch.device("cuda" if torch.cuda.is_available() else "cpu") print("device >>" , device)
2023.07.18 -
- [Azure] Azure Machine Learning Service ์ฌ์ฉํด๋ณด๊ธฐ : Notebooks์ ์ (Azure) Machine Learning Service์ Notebooks ์ฌ์ฉํด๋ณด๊ธฐ ๋ค์ด๊ฐ๋ฉฐ Azure Machine Learning Service์ Notebooks๋ฅผ ์ด์ฉํ์ฌ ์ค์ตํด๋ณด์. Azure Machine Learning Service ๋ฐฐํฌ ๋ฐฉ๋ฒ์ ์ด์ ๊ธ(https://dev-astra.tistory.com/400)์ ์ฐธ๊ณ ํ๋ค. ์ค์ตํ๊ธฐ @[Authoring]@ ์น์ ์์ @[Notebooks]@ ํญ์ ํด๋ฆญํ๋ค. ๊ทธ๋ฆฌ๊ณ @[Files]@ ๋ฒํผ์ ํด๋ฆญํ๊ณ , @[Create new file]@์ ์ ํํ๋ค. ๊ทธ๋ฆฌ๊ณ @.ipynb@ ํ์ผ์ ํ๋ ๋ง๋ค์ด์ค๋ค. ๊ทธ๋ฆฌ๊ณ ์คํ ํ๊ฒฝ์ @[Python 3.8 - AzureML]@๋ก ๋ฐ๊ฟ์ค๋ค. ๋ค์ ์ฒ๋ผ ์ธ์ฆ์ ํด์ค๋ค. ์ฐ์ธก ์๋จ์ @[Authentic..
2023.06.01 -
- [Azure] Azure Machine Learning Service ์ฌ์ฉํด๋ณด๊ธฐ : Automated ML์ ์ (Azure) Machine Learning Service์ Automated ML ์ฌ์ฉํด๋ณด๊ธฐ ๋ค์ด๊ฐ๋ฉฐ Azure Machine Learning Service์ Automated ML์ ์ด์ฉํ์ฌ ์ค์ตํด๋ณด์. Azure Machine Learning Service ๋ฐฐํฌ ๋ฐฉ๋ฒ์ ์ด์ ๊ธ(https://dev-astra.tistory.com/400)์ ์ฐธ๊ณ ํ๋ค. Azure Automated ML์ ๋ค์์ ๊ณผ์ ๋ค์ ์๋์ผ๋ก ํด์ค๋ค. ์ค์ตํ๊ธฐ ์ข์ธก์ @[Automated ML]@ ํญ์ ํด๋ฆญํ ํ, ํ์ด์ง์์ @[New Automated ML Job]@ ๋ฒํผ์ ํด๋ฆญํ๋ค. @[Create]@ ๋ฒํผ์ ๋๋ฌ ๋ฐ์ดํฐ๋ฅผ ๋ง๋ค์ด์ค๋ค. (๋ฐ์ดํฐ ์ด๋ฆ์ @TitanicDataset@์ผ๋ก ์ค์ ํด์ค๋ค.) ๋ฐ์ดํฐ๋ ๋ก์ปฌ PC์์ ..
2023.05.31 -
- [Azure] Azure Machine Learning Service ์ฌ์ฉํด๋ณด๊ธฐ : Designer์ ์ (Azure) Machine Learning Service์ Designer ์ฌ์ฉํด๋ณด๊ธฐ ๋ค์ด๊ฐ๋ฉฐ Azure์ Machine Learning Service๋ฅผ ๋ฐฐํฌํด๋ณด๊ณ , Desginer๋ฅผ ์ด์ฉํ์ฌ ์ค์ตํด๋ณด์. ์ค์ตํ๊ธฐ Azure Machine Learning ์๋น์ค ๋ง๋ค๊ธฐ ์ ์ ํฌํธ์ ๊ฒ์์ฐฝ์ @Azure Machine Learning@์ ๊ฒ์ํ ํ @[Azure Machine Learning]@ ์๋น์ค๋ก ์ง์ ํ๋ค. @[Azure Machine Learning]@ ํ์ด์ง์์ @[๋ง๋ค๊ธฐ]@ ๋ฒํผ์ ํด๋ฆญํ์ฌ ๋ฆฌ์์ค๋ฅผ ๋ง๋ค์ด์ค๋ค. Azure Machine Learning Studio ํ์ด์ง์์ ๊ฐ์ ๋จธ์ ์์ฑํ๊ธฐ ๋ณ๋์ ํฌํ์ ์ง์ ํด์ผ ํ๋ค. @[Studio ์์ํ๊ธฐ]@ ๋ฒํผ์ ๋๋ฅด๋ฉด Azure Machin..
2023.05.31