{"id":1040,"date":"2021-04-29T12:23:26","date_gmt":"2021-04-29T11:23:26","guid":{"rendered":"http:\/\/cafe2sach.com\/?p=1040"},"modified":"2021-04-29T12:37:17","modified_gmt":"2021-04-29T11:37:17","slug":"hoc-may-co-giam-sat","status":"publish","type":"post","link":"https:\/\/cafe2sach.com\/index.php\/2021\/04\/29\/hoc-may-co-giam-sat\/","title":{"rendered":"H\u1ecdc m\u00e1y c\u00f3 gi\u00e1m s\u00e1t"},"content":{"rendered":"\n<p>Ba nh\u00e1nh m\u00e1y h\u1ecdc ch\u00ednh bao g\u1ed3m: H\u1ecdc gi\u00e1m s\u00e1t (supervise learning), H\u1ecdc kh\u00f4ng gi\u00e1m s\u00e1t (Unsupervise learning) v\u00e0 H\u1ecdc c\u0169ng c\u1ed1 (Reinforcement learning).<\/p>\n\n\n\n<p>Trong b\u00e0i vi\u1ebft n\u00e0y ch\u00fang ta s\u1ebd c\u00f9ng t\u00ecm hi\u1ec3u v\u1ec1 h\u1ecdc m\u00e1y c\u00f3 gi\u00e1m s\u00e1t (supervise learning) <div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">N\u1ed9i dung ch&iacute;nh<\/p><ul class=\"toc_list\"><li><a href=\"#Dinh_nghia_hoc_may_giam_sat\"><span class=\"toc_number toc_depth_1\">1<\/span>  \u0110\u1ecbnh ngh\u0129a h\u1ecdc m\u00e1y gi\u00e1m s\u00e1t <\/a><\/li><li><a href=\"#Vi_du_ve_hoc_may_giam_sat\"><span class=\"toc_number toc_depth_1\">2<\/span>  V\u00ed d\u1ee5 v\u1ec1 h\u1ecdc m\u00e1y gi\u00e1m s\u00e1t <\/a><\/li><li><a href=\"#Phan_lop\"><span class=\"toc_number toc_depth_1\">3<\/span>  Ph\u00e2n l\u1edbp <\/a><\/li><li><a href=\"#Du_doan\"><span class=\"toc_number toc_depth_1\">4<\/span>  D\u1ef1 \u0111o\u00e1n <\/a><\/li><\/ul><\/div>\n<h1><span id=\"Dinh_nghia_hoc_may_giam_sat\"> \u0110\u1ecbnh ngh\u0129a h\u1ecdc m\u00e1y gi\u00e1m s\u00e1t <\/span><\/h1>: Nh\u1eefng v\u1ea5n \u0111\u1ec1 li\u00ean quan hay s\u1eed d\u1ee5ng ph\u01b0\u01a1ng ph\u00e1p h\u1ecdc gi\u00e1m s\u00e1t th\u01b0\u1eddng l\u00e0 nh\u1eefng v\u1ea5n \u0111\u1ec1 c\u00f3 t\u1eadp d\u1eef li\u1ec7u \u0111\u00e3 \u0111\u01b0\u1ee3c \u0111\u00e1nh nh\u00e3n (labelled)<\/p>\n\n\n\n<p>Th\u1ebf n\u00e0o l\u00e0 m\u1ed9t t\u1eadp d\u1eef li\u1ec7u \u0111\u01b0\u1ee3c \u0111\u00e1nh nh\u00e3n? <h1><span id=\"Vi_du_ve_hoc_may_giam_sat\"> V\u00ed d\u1ee5 v\u1ec1 h\u1ecdc m\u00e1y gi\u00e1m s\u00e1t <\/span><\/h1> M\u1ed9t t\u1eadp d\u1eef li\u1ec7u b\u1ea5t k\u1ef3 bao g\u1ed3m 2 ph\u1ea7n ch\u00ednh: \u0111\u1ea7u v\u00e0o (input) v\u00e0 \u0111\u1ea7u ra (output). D\u1ef1a tr\u00ean nh\u1eefng \u0111\u1eb7c t\u00ednh ri\u00eang bi\u1ec7t n\u00e0o \u0111\u00f3 c\u1ee7a \u0111\u1ea7u v\u00e0o, \u0111\u1ea7u ra s\u1ebd g\u00e1n m\u1ed9t nh\u00e3n qui \u01b0\u1edbc cho \u0111\u1ea7u v\u00e0o t\u01b0\u01a1ng \u1ee9ng. V\u00ed d\u1ee5: Ch\u00fang ta c\u00f3 m\u1ed9t t\u1eadp xe h\u01a1i, d\u1ef1a tr\u00ean \u0111\u1eb7c t\u00ednh v\u1ec1 h\u00e3ng s\u1ea3n xu\u1ea5t, ch\u00fang ta c\u00f3 th\u1ec3 \u0111\u00e1nh nh\u00e3n theo h\u00e3ng s\u1ea3n xu\u1ea5t cho nh\u1eefng chi\u1ebfc xe trong t\u1eadp xe h\u01a1i c\u1ee7a ch\u00fang ta nh\u01b0 xe Mecided, Huyndai, Honda,\u2026. Ch\u00fang ta c\u00f3 m\u1ed9t nh\u00f3m \u0111\u1ed9ng v\u1eadt l\u00e0 gia c\u1ea7m, d\u1ef1a v\u00e0o nh\u1eefng \u0111\u1eb7c \u0111i\u1ec3m sinh h\u1ecdc, ch\u00fang ta s\u1ebd c\u00f3 nh\u00e3n cho t\u1eebng lo\u00e0i nh\u01b0 v\u1ecbt, g\u00e0, ngan,\u2026<\/p>\n\n\n\n<p>Vi\u1ec7c \u2018h\u1ecdc\u2019 d\u1ef1a tr\u00ean nh\u1eefng t\u1eadp d\u1eef li\u1ec7u c\u00f3 nh\u00e3n l\u00e0 t\u00ecm ra m\u1ed1i li\u00ean h\u1ec7 gi\u1eefa \u0111\u1ea7u ra v\u00e0 \u0111\u1ea7u v\u00e0o, \u1edf g\u00f3c \u0111\u1ed9 to\u00e1n h\u1ecdc vi\u1ec7c n\u00e0y \u0111\u01b0\u1ee3c g\u1ecdi l\u00e0 t\u00ecm h\u00e0m x\u1ea5p x\u1ec9.<\/p>\n\n\n\n<p>V\u00ed d\u1ee5:<img decoding=\"async\" width=\"12\" height=\"18\" src=\"\"><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Input<\/td><td>1<\/td><td>2<\/td><td>3<\/td><td>4<\/td><\/tr><tr><td>Output<\/td><td>1<\/td><td>4<\/td><td>9<\/td><td>?<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Gi\u1ea3 s\u1eed b\u1ea1n \u0111\u01b0\u1ee3c y\u00eau c\u1ea7u t\u00ecm \u0111\u00e1p \u00e1n cho d\u1ea5u h\u1ecfi trong b\u1ea3ng tr\u00ean, c\u00e2u tr\u1ea3 l\u1eddi c\u1ee7a b\u1ea1n l\u00e0 g\u00ec? Trong qu\u00e1 tr\u00ecnh t\u01b0 duy \u0111\u1ec3 t\u00ecm ra \u0111\u00e1p \u00e1n, n\u00e3o c\u1ee7a b\u1ea1n \u0111ang th\u1ef1c hi\u1ec7n m\u1ed9t qu\u00e1 tr\u00ecnh \u201ch\u1ecdc\u201d, t\u1ee9c l\u00e0 t\u00ecm m\u1ed9t quy lu\u1eadt hay m\u1ed1i li\u00ean h\u1ec7 gi\u1eefa c\u00e1c gi\u00e1 tr\u1ecb c\u1ee7a \u0111\u1ea7u v\u00e0o v\u00e0 \u0111\u1ea7u ra, cu\u1ed1i c\u00f9ng \u0111\u01b0a ra k\u1ebft qu\u1ea3, sau khi qu\u00e1 tr\u00ecnh \u201ch\u1ecdc\u201d n\u00e0y k\u1ebft th\u00fac. \u0110\u00e1p \u00e1n v\u1edbi nh\u1eefng ng\u01b0\u1eddi \u0111\u00e3 h\u1ecdc ph\u00e9p to\u00e1n nh\u00e2n qu\u1ea3 l\u00e0 d\u1ec5 d\u00e0ng: 16. Tuy nhi\u00ean, t\u1ea1i sao b\u1ea1n l\u1ea1i \u0111\u01b0a ra con s\u1ed1 \u0111\u00f3 kh\u00f4ng ph\u1ea3i l\u00e0 m\u1ed9t gi\u00e1 tr\u1ecb n\u00e0o kh\u00e1c? B\u1ea1n ch\u1eafc ch\u1eafn ph\u1ea3i d\u1ef1a tr\u00ean m\u1ed9t c\u01a1 s\u1edf n\u00e0o \u0111\u00f3, hay kh\u00e1c h\u01a1n, m\u1ed9t h\u00e0m to\u00e1n h\u1ecdc n\u00e0o \u0111\u00f3. Khi b\u1ea1n nh\u1eadn ra \u0111\u01b0\u1ee3c h\u00e0m n\u00e0y, vi\u1ec7c \u0111\u01a1n gi\u1ea3n l\u00e0 ch\u1ec9 c\u1ea7n thay gi\u00e1 tr\u1ecb \u0111\u1ea7u v\u00e0o, c\u1ee5 th\u1ec3 l\u00e0 4, v\u00e0o ph\u00e9p to\u00e1n \u0111\u00f3 v\u00e0 nh\u1eadn \u0111\u01b0\u1ee3c \u0111\u00e1p \u00e1n l\u00e0 16. V\u1eady h\u00e0m hay l\u00e0 m\u1ed1i li\u00ean h\u1ec7 \u0111\u00f3 ch\u00ednh l\u00e0 <img decoding=\"async\" width=\"113\" height=\"30\" src=\"\">.<\/p>\n\n\n\n<p>Hoc gi\u00e1m s\u00e1t bao g\u1ed3m: Ph\u00e2n l\u1edbp (Classification) v\u00e0 D\u1ef1 \u0111o\u00e1n (Reggession) <h1><span id=\"Phan_lop\"> Ph\u00e2n l\u1edbp <\/span><\/h1> <\/p>\n\n\n\n<p> <h1><span id=\"Du_doan\"> D\u1ef1 \u0111o\u00e1n <\/span><\/h1> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ba nh\u00e1nh m\u00e1y h\u1ecdc ch\u00ednh bao g\u1ed3m: H\u1ecdc gi\u00e1m s\u00e1t (supervise learning), H\u1ecdc kh\u00f4ng gi\u00e1m s\u00e1t (Unsupervise learning) v\u00e0 H\u1ecdc [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":870,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[234,233],"tags":[],"class_list":["post-1040","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gan","category-tri-tue-nhan-tao"],"_links":{"self":[{"href":"https:\/\/cafe2sach.com\/index.php\/wp-json\/wp\/v2\/posts\/1040","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cafe2sach.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cafe2sach.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cafe2sach.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cafe2sach.com\/index.php\/wp-json\/wp\/v2\/comments?post=1040"}],"version-history":[{"count":3,"href":"https:\/\/cafe2sach.com\/index.php\/wp-json\/wp\/v2\/posts\/1040\/revisions"}],"predecessor-version":[{"id":1050,"href":"https:\/\/cafe2sach.com\/index.php\/wp-json\/wp\/v2\/posts\/1040\/revisions\/1050"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cafe2sach.com\/index.php\/wp-json\/wp\/v2\/media\/870"}],"wp:attachment":[{"href":"https:\/\/cafe2sach.com\/index.php\/wp-json\/wp\/v2\/media?parent=1040"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cafe2sach.com\/index.php\/wp-json\/wp\/v2\/categories?post=1040"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cafe2sach.com\/index.php\/wp-json\/wp\/v2\/tags?post=1040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}