728x90
๋ฐ˜์‘ํ˜•

์ „์ฒด 222

[swift] debugging์„ ์œ„ํ•ด view์—์„œ print๋ฌธ ์ฐ๋Š”๋ฒ•

์ถœ์ฒ˜ https://www.swiftbysundell.com/articles/building-swiftui-debugging-utilities/ Building SwiftUI debugging utilities | Swift by Sundell When working on any kind of app or system, it’s almost guaranteed that we’ll need to debug our code at one point or another. For example in order to reproduce a bug that’s been reported to us by either a tester or a user, to track down a race conditi www.swiftb..

[swift] @State, @ObservedObject, @EnvironmentObject ์ฐจ์ด!! (+@Binding)

references : https://pxxxsxzy.tistory.com/35 SwiftUI @State, @ObservedObject, @EnvironmentObject โญ๏ธ ๋ณธ๊ฒฉ์ ์œผ๋กœ SwiftUI๋ฅผ ๊ณต๋ถ€ํ•˜๊ธฐ ์ „ ๊ผญ ๊ธฐ์–ตํ•ด์•ผ ํ•  ์  โญ๏ธ ์šฐ๋ฆฌ๋Š” ๋”์ด์ƒ view์— ์ง์ ‘ ์ ‘๊ทผํ•ด์„œ view๋ฅผ ๋ฐ”๊พธ์ง€ ์•Š๋Š”๋‹ค. ๋Œ€์‹  view์˜ state๋ฅผ ๋ณ€๊ฒฝํ•ด์„œ ๊ทธ ๋ณ€๊ฒฝ๋œ state๊ฐ€ ๊ฒฐ๊ณผ๋ฅผ ์ขŒ์šฐํ•˜๋„๋ก ํ•œ๋‹ค. pxxxsxzy.tistory.com https://www.hackingwithswift.com/quick-start/swiftui/whats-the-difference-between-observedobject-state-and-environmentobject What’s the difference between @..

[swift] keyboard๋”ฐ๋ผ ๊ฐ™์ด ์˜ฌ๋ผ๊ฐ€๋Š” view ๋ฌธ์ œ (disable move up with keyboard)

https://stackoverflow.com/questions/65605917/how-do-you-prevent-swiftui-from-autoresizing-view-when-keyboard-appears How do you prevent SwiftUI from autoresizing view when keyboard appears I have a TextField in my iOS app, and it is positioned such that I don't want it to move when the keyboard appears. However, the view is autoresizing when the keyboard appears. Is there a way to pr... stackove..

[swift] GeometryReader

GeometryReader https://developer.apple.com/documentation/swiftui/geometryreader GeometryReader๋Š” SwiftUI ์—์„œ View๊ฐ€ ํฌํ•จ๋œ ๋ถ€๋ชจ๋ทฐ(์ปจํ…Œ์ด๋„ˆ)์˜ ํฌ๊ธฐ๋ฅผ ๊ธฐ์ค€์œผ๋กœ View์˜ frame ์กฐ์ ˆํ•˜๋Š” ๋ฐฉ๋ฒ•

[swift] xcode๊ฐ€ ๋‚ด ๊ธฐ๊ธฐ๋ฅผ ๋ชป ์ฐพ์„ ๋•Œ

Even though this one does not address the specific problem of the OP, it might be a solution for other people finding this question. In some circumstances, Xcode will not recognise (won't even see) a connected device that was previously recognised, even though there were no changes in Mac OS/iOS/Xcode versions. This seems to happen if you connect the device while the Mac and/or the device are lo..

[Xcode] Preview crashed ํ˜„์ƒ

๋‚˜๋Š” swift ์ž…๋ฌธ์ž๋‹ค swfit์–ธ์–ด๋ฅผ ์‚ฌ์šฉํ•˜๋ ค๋ฉด ๋ฐ˜๋“œ์‹œ xcode์—์„œ ์จ์•ผํ•œ๋‹ค (๋‹ค๋“ค ์•Œ์ฃ ?) ์ด๋Ÿฐ ์ž…๋ฌธ์ž์—๊ฒŒ preview๊ฐ€ ์ž๊พธ ์‹œ๋ จ์„ ์ค€๋‹ค ๋‚จ๋“ค์ด ํ•˜๋Š”๊ฑฐ ๋ณด๋‹ˆ๊นŒ preview๋ฅผ ํ†ตํ•ด์„œ dynamicํ•˜๊ฒŒ ์ฝ”๋”ฉํ•˜๊ณ  uiํ™•์ธํ•˜๋˜๋ฐ ๋‚˜๋Š” ๋ญ ํ™”๋ฉด ํด๋ฆญ๋งŒ ํ•˜๋ฉด ์ž๊พธ preview crashed ํ•˜๋ฉด์„œ ๋นจ๊ฐ„ ์—‘์Šค๊ฐ€ ๋œฌ๋‹ค ใ… ใ… ใ…  ๊ฒฐ๊ตญ ์—๋Ÿฌ๋ฅผ ๊ณ ์ณ๋ณด๊ธฐ๋กœ..! preview์ฐฝ ์ƒ๋‹จ์— ๋ณด๋ฉด preview crashed์— ๋Œ€ํ•œ ์„ค๋ช…์„ ํ•ด์ค€๋‹ค. ํ•„์ž์˜ ๊ฒฝ์šฐ๋Š” ์•„๋ž˜์™€ ๊ฐ™์ด ๋–ด๋‹ค ์ผ๋‹จ ํ•ด๊ฒฐ์„ ํ•˜๊ณ  ์‹ถ์—ˆ๊ธฐ ๋–„๋ฌธ์— Diagnostics๋ฅผ ํด๋ฆญํ•ด๋ดค๋‹ค HumanReadableNSError: Unable to boot device due to insufficient system resources. Please see Simula..

Computer Science 2021.06.04

[ZARA] 2021 SS ์ž๋ผ ์‹ ์ƒ ํ•˜์šธ โœจ

#ZARA #์ž๋ผ #SS์‹ ์ƒ #์ž๋ผํ•˜์šธ ZARA๋Š” ๋‚ด ์ตœ์•  ๋ธŒ๋žœ๋“œ ์ค‘ ํ•˜๋‚˜๋‹ค ๋‚ด๊ฐ€ ์˜ท์„ ๋ณผ ๋• ์œ ๋‹ˆํฌํ•จ, ์ƒ‰๊ฐ, ํ€„๋ฆฌํ‹ฐ, ํ• ์ด 4๊ฐ€์ง€๋ฅผ ์ค‘์‹ฌ์œผ๋กœ ๋ณธ๋‹น 2์ฃผ์ „์— ๋‹ค๋…€์˜จ ์˜๋“ฑํฌ ํƒ€์ž„์Šคํ€˜์–ด์— ์œ„์น˜ํ•œ ZARA๋‹ค ์ด๊ณณ ์ž๋ผ๋Š” ๋‹ค๋ฅธ ๋ฐ์— ์žˆ๋Š” ์ž๋ผ์— ๋น„ํ•ด ๋งค์žฅ์ด ์ข€ ์ž‘์€ ํŽธ์ธ๋“ฏ..ใ…œ ์ž…๊ตฌ์— ๋™‡ ํ•˜๊ณ  ์„œ์žˆ๋Š” ํผ๋ ์ƒ‰ ๋งˆ์ด๊ฐ€ ๋„˜๋‚˜ ์ด๋ป์„œ ํ™€๋ฆฐ ๋“ฏ ๋“ค์–ด๊ฐ€๋”ฐ,,,๐Ÿ˜ ํŒŒ๋ž€ ๋งˆ์ด๋ฅผ ๊ธฐ์œ ๋งˆ์Œ์œผ๋กœ ๊ฑธ์น˜๊ณ  ๊ฑฐ์šธ์„ ๋ดค๋Š”๋Ž…,, ์›ฌ ์–ด๊นจ๊นกํŒจ๊ฐ€? ใ…‹ใ…‹ใ…‹ใ…‹ ์ด ์˜ท์˜ ์ฃผ์ธ์€ ๋‚ด๊ฐ€ ์•„๋‹Œ๊ฐ€๋ณด๋‹ค,,ํ•˜๊ณ  ๋‚ด๋ ค๋†“์•˜๋‹ค ใ…Ž ์˜ท์žฅ์— ๋„ํ†ฐํ•˜๊ณ  ์œ ๋‹ˆํฌํ•œ ๋งˆ์ด๊ฐ€ ์—†์–ด์„œ ํ•˜๋‚˜ ์žฅ๋งŒํ•˜๊ณ  ์‹ถ์—ˆ๋Š”๋ฐ ์ด๋ฒˆ์—๋„ ์‹คํŒจ~ ์™ผ์ชฝ ๋„“์€ ์นด๋ผ ๋ธ”๋ผ์šฐ์Šค๋„ ์ด๋ปค๋‹ค ๋‚˜๋Š” ์นด๋ผ๋Ÿฌ๋ฒ„๋ผ ์ด๋ฏธ ์ง‘์— ์นด๋ผ ๋„’์€ ๋ธ”๋ผ์šฐ์Šค๋“ค์ด ๋„˜์นœ๋‹ค ใ…Žใ……ใ…Ž ์ € ์•„์ด๋„ ์ง‘์— ์žˆ๋Š” ์• ๋“ค๊ณผ ๋น„์Šทํ•œ๊ฑฐ ๊ฐ™์œผ๋‹ˆ ํŒจ์“ฐ! ๋‹ค..

[Machine Learning] LightGBM์ด๋ž€? โœ” ์„ค๋ช… ๋ฐ ์žฅ๋‹จ์ 

๐Ÿ“Œ Remind LightGBM์— ๋“ค์–ด๊ฐ€๊ธฐ์ „์— ๋ณต์Šต ๊ฒธ reminding์„ ํ•ด๋ณด์ž. Light GBM์˜ GBM์€ Gradient Boosting Model๋กœ, tree๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ํ•˜๋Š” ํ•™์Šต ์•Œ๊ณ ๋ฆฌ์ฆ˜์ด๋‹ค. ์ด GBM์˜ ํ•™์Šต๋ฐฉ์‹์„ ์‰ฝ๊ฒŒ๋งํ•˜๋ฉด, ํ‹€๋ฆฐ๋ถ€๋ถ„์— ๊ฐ€์ค‘์น˜๋ฅผ ๋”ํ•˜๋ฉด์„œ ์ง„ํ–‰ํ•œ๋‹ค๊ณ  ํ•  ์ˆ˜ ์žˆ๋‹ค. Gradient Boosting์—์„œ Boosting์€ ์—ฌ๋Ÿฌ๊ฐœ์˜ tree๋ฅผ ๋งŒ๋“ค๋˜, ๊ธฐ์กด์— ์žˆ๋Š” ๋ชจ๋ธ(tree)๋ฅผ ์กฐ๊ธˆ์”ฉ ๋ฐœ์ „์‹œ์ผœ์„œ ๋งˆ์ง€๋ง‰์— ์ด๋ฅผ ํ•ฉํ•˜๋Š” ๊ฐœ๋…์œผ๋กœ, Random Forest์˜ Bagging๊ธฐ๋ฒ•๊ณผ ๋‹ค๋ฅธ ๋ฐฉ๋ฒ•์ด๋‹ค. Boostingํ•˜๋Š” ๋ฐฉ์‹์—๋„ ํฌ๊ฒŒ 2๊ฐ€์ง€๊ฐ€ ์žˆ๋‹ค. 1. AdaBoost์™€ ๊ฐ™์ด ์ค‘์š”ํ•œ ๋ฐ์ดํ„ฐ(์ผ๋ฐ˜์ ์œผ๋กœ ๋ชจ๋ธ์ด ํ‹€๋ฆฐ ๋ฐ์ดํ„ฐ)์— ๋Œ€ํ•ด weight๋ฅผ ์ฃผ๋Š” ๋ฐฉ์‹ 2. GBDT์™€ ๊ฐ™์ด loss fun..

[Machine Learning] ๋จธ์‹ ๋Ÿฌ๋‹, ๋ชจ๋ธ์˜ ํŽธํ–ฅ(bias)๊ณผ ๋ถ„์‚ฐ(variance) : trade-off ๊ด€๊ณ„

๋จธ์‹ ๋Ÿฌ๋‹์—์„œ ํŽธํ–ฅ๊ณผ ๋ถ„์‚ฐ์€ ์–ธ์ œ ์“ฐ์ด๋Š” ์šฉ์–ด์ธ๊ฐ€? Supervised Learning(์ง€๋„ํ•™์Šต)์— ๋Œ€ํ•ด์„œ ๊ฐ„๋‹จํžˆ ์„ค๋ช…ํ•ด๋ณด์ž๋ฉด ์‚ฌ๋žŒ์ด ์ •ํ•ด์ค€ ์ •๋‹ต์ด ์žˆ๊ณ , ์šฐ๋ฆฌ์˜ ๋ชจ๋ธ์€ ๊ทธ ์ •๋‹ต์„ ์ž˜ ๋งž์ถ”๋Š” ๋ฐฉํ–ฅ์œผ๋กœ ํ•™์Šต(training)์„ ํ•œ๋‹ค. ์ด๋•Œ, ํ•™์Šต์„ ํ•˜๋ฉด์„œ ๋ชจ๋ธ์ด ๋‚ด๋†“๋Š” ์˜ˆ์ธก๊ฐ’๋“ค์˜ ๊ฒฝํ–ฅ์„ ํ‘œํ˜„ํ•˜๊ธฐ์œ„ํ•ด ํŽธํ–ฅ๊ณผ ๋ถ„์‚ฐ์ด๋ผ๋Š” ์šฉ์–ด๋ฅผ ์‚ฌ์šฉํ•œ๋‹ค. ์‰ฝ๊ฒŒ ๋งํ•˜์ž๋ฉด, ๋‹ค์Œ๊ณผ ๊ฐ™๋‹ค A. ์˜ˆ์ธก๊ฐ’๊ณผ ์ •๋‹ต ๊ฐ„์˜ ๊ด€๊ณ„๋ฅผ "ํŽธํ–ฅ"์œผ๋กœ ํ‘œํ˜„ (bias : model์˜ output๊ณผ ์‹ค์ œ๊ฐ’ ์‚ฌ์ด์˜ ์ œ๊ณฑ error, ์ •ํ™•๋„์™€ ๋น„์Šทํ•œ ๊ฐœ๋…) B. ์˜ˆ์ธก๊ฐ’๋ผ๋ฆฌ์˜ ๊ด€๊ณ„๋ฅผ "๋ถ„์‚ฐ"์œผ๋กœ ํ‘œํ˜„ (variance : model์ด ๊ฐ๊ธฐ ๋‹ค๋ฅธ train set์— ๋Œ€ํ•˜์—ฌ ์„ฑ๋Šฅ์˜ ๋ณ€ํ™”์ •๋„๊ฐ€ ๊ธ‰ํ•˜๊ฒŒ ๋ณ€ํ•˜๋Š”์ง€, ์•ˆ์ •์ ์œผ๋กœ ๋ณ€ํ•˜๋Š”์ง€๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ์ฒ™๋„) [๋”ฅ๋Ÿฌ๋‹] Bia..

[๊ฐœ๋ฐœ์šฉ์–ด] pilot ์ด๋ž€?

Pilot ์›์‹œ ํ”„๋กœ๊ทธ๋žจ์ด๋‚˜ ์‹œํ—˜ ํ”„๋กœ๊ทธ๋žจ ๋“ฑ์„ ์‹œํ—˜ํ•˜๋Š” ์ผ ์ฆ‰, ํ”„๋กœ๊ทธ๋žจ์„ ์‹ค์ œ๋กœ ์šด์šฉํ•˜๊ธฐ ์ „์— ์˜ค๋ฅ˜, ๋˜๋Š” ๋ถ€์กฑํ•œ ์ ์„ ์ฐพ๊ธฐ ์œ„ํ•˜์—ฌ ์‹ค์ œ ์ƒํ™ฉ๊ณผ ์œ ์‚ฌํ•œ ์กฐ๊ฑด์—์„œ ์‹œํ—˜๊ฐ€๋™ํ•˜๋Š” ํ–‰์œ„ ๊ทธ๋ ‡๊ธฐ์— ์ƒˆ๋กœ์šด ์„œ๋น„์Šค ์ถœ์‹œ ์ „์— ๋งŽ์ด ์‚ฌ์šฉ๋จ ๋น„์Šทํ•˜๊ฒŒ ์‹œ๋ฒ”ํ…Œ์ŠคํŠธ ํ†ตํ•ฉํ…Œ์ŠคํŠธ ๋‹จ๊ณ„์˜ SW ๊ฒฐํ•จ์ธก์ •ํ…Œ์ŠคํŠธ ํ’ˆ์งˆ ๊ฒ€์ฆ ๋ผ๊ณ  ๋ณผ ์ˆ˜ ์žˆ๋‹ค reference : m.blog.naver.com/PostView.nhn?blogId=musalyh&logNo=220990847736&proxyReferer=https:%2F%2Fwww.google.com%2F

[๊ณ ์–‘ ์นดํŽ˜๋ฆฟ์ง€] ๊ณ ์–‘์‹œ ๋•์–‘๊ตฌ ์„ธ๋ จ๋œ ๋ถ„์œ„๊ธฐ, ์นดํŽ˜๋ฆฟ์ง€ RITZY โœจ

์ €๋ฒˆ์— ๊ณ ์–‘์‹œ ๋นต๋‹ค๋ฐฉ ์นดํŽ˜์— ๋“ค๋ฆฌ๋Š” ๊ธธ์— ๋ณด์•˜๋˜ ์นดํŽ˜ ๋ฆฟ์ง€(RITZY)์— ๋ฐฉ๋ฌธํ–ˆ๋‹ค #์นดํŽ˜๋ฆฟ์ง€ #๊ณ ์–‘์‹œ ์นดํŽ˜ #๋•์–‘๊ตฌ ์นดํŽ˜๋ฆฟ์ง€ #RITZY ๐Ÿ”ป๊ณ ์–‘์‹œ ๋นต๋‹ค๋ฐฉ์€ ์š”๊ธฐ..! ๐Ÿ”ป [๊ณ ์–‘์‹œ ๋นต๋‹ค๋ฐฉ] ๋•์–‘๊ตฌ ๋ฒ ์ด์ปค๋ฆฌ ์นดํŽ˜ ๋นต๋‹ค๋ฐฉ ๐Ÿžโ˜• 2021.03.21 ์ฃผ๋ง์— ๊ณ ์–‘์‹œ๋ฅผ ๋ฐฉ๋ฌธํ–ˆ๋‹ค ๊ฒฝ๊ธฐ๋„์—๋Š” ๋Œ€ํ˜• ๋ฒ ์ด์ปค๋ฆฌ๋‚˜ ์นดํŽ˜๊ฐ€ ๋งŽ์€๋ฐ, ๊ทธ ์ค‘ ํ•œ ๊ณณ์ธ "๋นต๋‹ค๋ฐฉ"์„ ๊ฐ€๋ณด๊ธฐ๋กœ ํ•˜์˜€๋‹น ์˜ˆ์ „์— ์ง€๋‚˜๊ฐ€๋‹ค๊ฐ€ ์™ธ๊ด€์ด ์ด๋ป์„œ ๊ฐ€๋ณด๊ณ  ์‹ถ์—ˆ๋Š”๋ฐ ๊ฐ€๋ณด๊ฒŒ ๋˜์–ด ์‹ ๋‚ฌ mac-user-guide.tistory.com "์นดํŽ˜๋ฆฟ์ง€" ๊ฒฝ๊ธฐ๋„ ๊ณ ์–‘์‹œ ๋•์–‘๊ตฌ ํฅ๋„๋กœ 425-21 ๋งค์ผ: 11:00 - 22:00 ๋‹จ์ฒด์„, ์ฃผ์ฐจ, ํฌ์žฅ, ๋ฌด์„  ์ธํ„ฐ๋„ท ๋‚จ/๋…€ ํ™”์žฅ์‹ค ๊ตฌ๋ถ„, ์• ๊ฒฌ๋™๋ฐ˜ ๊ฐ€๋Šฅ ์นดํŽ˜ ๋งํฌ : http://03196765..

728x90
๋ฐ˜์‘ํ˜•