codecamp

AI人工智能 组合搜索

使用搜索算法的主要缺点是它们本质上是穷举的,这就是为什么它们会探索整个搜索空间来找到解决方案,这会导致资源浪费。如果这些算法需要搜索整个搜索空间来找到最终解决方案,那将更加麻烦。

为了消除这类问题,我们可以使用组合搜索,它使用启发式方法来探索搜索空间,并通过消除可能的错误移动来减小搜索空间的大小。因此,这种算法可以节省资源。这里讨论一些使用启发式方法搜索空间并节省资源的算法:极小极大算法

AI人工智能 搜索算法
AI人工智能 极小极大算法
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定
目录

AI人工智能监督学习(回归)

关闭

MIP.setData({ 'pageTheme' : getCookie('pageTheme') || {'day':true, 'night':false}, 'pageFontSize' : getCookie('pageFontSize') || 20 }); MIP.watch('pageTheme', function(newValue){ setCookie('pageTheme', JSON.stringify(newValue)) }); MIP.watch('pageFontSize', function(newValue){ setCookie('pageFontSize', newValue) }); function setCookie(name, value){ var days = 1; var exp = new Date(); exp.setTime(exp.getTime() + days*24*60*60*1000); document.cookie = name + '=' + value + ';expires=' + exp.toUTCString(); } function getCookie(name){ var reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)'); return document.cookie.match(reg) ? JSON.parse(document.cookie.match(reg)[2]) : null; }