从动态无序集中预测模式的概率
假设用户可以输入三个不同元素之一:{A, B, C}
当用户继续输入这些值时,是否有办法预测下一个值的概率,接下来哪两个值,以及接下来哪三个值?
如果是这样,您能给我参考一个我可以阅读的算法吗?或者一些代码示例?
Let's say a user can input one of three distinct elements: {A, B, C}
As the user continues to put in these values, is there a way to predict probabilities of which value would be next, which next two values, and which next three?
If so, can you please reference me to an algorithm that I can read up on? Or some code samples?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
阅读 n-gram。您可以使用它们来确定给定最近输入的字符的下一个字符的概率。
Read up on n-grams. You can use them to determine the probability of the next character(s) given the recent characters entered.