编程中的预测逻辑?

发布于 2024-07-20 02:34:23 字数 187 浏览 9 评论 0原文

我在想,在可能遥远的未来,许多人会认为我们不会那么依赖物理输入(即键盘),因为读取脑电波的技术(在某种程度上已经存在)将会可用。 有点吓到我了……总之,当我在做白日梦时,我想到了这样的想法:如果程序员可以在代码中实现逻辑来准确预测用户的意图,然后无需执行预期的操作,那会怎样?用于人际互动。 我并不是在寻找任何具体的东西,我只是有点好奇任何人的想法是什么。

I was thinking about how in the probably distant future many people think that we wont rely on physical input (i.e. keyboard) as much because the technology that reads brain waves (which already exists to some extent) will be available. Kinda scares me....anyway, I while I was daydreaming about this, the idea came to me that: what if a programmer could implement logic in their code to accurately predict the users intentions and then carry out the intended operation with no need for human interaction. I am not looking for anything specific, I'm just a little curious as to what anyone's thoughts are.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

笔芯 2024-07-27 02:34:23

当前完成的许多“预测”逻辑是通过统计技术完成的。

例如,在某些应用程序中,经常使用的菜单项可以突出显示,而较少使用的功能将被隐藏,直到用户明确要求查看所有可用功能。

然而,这并不意味着他们可以读懂你的想法。

为了使统计模型发挥作用,它们需要有某种训练期。 这也是有效的,因为我们倾向于按模式执行操作。 例如,如果您在过去 10 天中有 10 天都这样做,那么您明天早上起床、刷牙和喝咖啡的可能性就很大。

以下是一些您可能感兴趣的主题:

未来是否有办法预测一个人未来的想法? 可能吧。 但会有一些困难,因为人类并不总是可预测的。 这就是为什么不需要太多思考的重复性任务可以由机器人自动化,而需要认知思维的任务(例如编程)却无法被机器取代。

这就提出了另一个想法——如果有一个程序可以准确预测程序员想要写什么? 那么还需要程序员吗? 此外,这不是意味着程序实际上能够思考吗?

Many of the "predictive" logic which is done currently is through statistical techniques.

For example, in some applications, frequently used menu items can be prominently displayed while less-used features will be hidden until the user explicitly asks to view all available features.

However, this does not mean that they can read your mind.

In order for statistical models to work, they need to have some kind of training period. This also works because we tend to perform actions in patterns. For example, the chances that you'll wake up in the morning, brush your teeth and have coffee tomorrow is going to be very likely if you've performed that for 10 days out of the past 10 days.

Here's some topics which may be of interest:

Would there be ways in the future to predict ones' thoughts in the future? Possibly. But there is going to be some difficulty because humans aren't always predictable. That's why repetitive tasks that don't require much thought can be automated by robots, while tasks which require cognitive thought such as programming can't be replaced by machines.

That brings up another thought -- what if there was a program which could accurately predict what a programmer wanted to write? Would there then be a need for programmers? Furthermore, wouldn't that mean that a program was actually able to think?

彡翼 2024-07-27 02:34:23

在更实际的方面,我的第一个想法是观察用户行为的程序,并通过网络连接来共享和聚合这些知识,例如

“中止、重试还是取消?
(十分之九的用户选择中止 - 按 Enter 键执行相同操作)”

“预测”是一个词吗?

On the more practical side, my first thought was programs that observe the user's behaviour, and connect via the net to share and aggregate that knowledge, e.g.

"Abort, retry or cancel?
(9 out of 10 users choose Abort - press Enter to do the same)"

Is "predictional" a word?

面如桃花 2024-07-27 02:34:23

如果计算机也能回滚你的记忆,那么它似乎每次都能正确预测!

(参见回溯)

If only the computer could also roll your memories back, it would appear to predict correctly every single time!

(see Backtracking)

醉生梦死 2024-07-27 02:34:23

我认为在这样的系统发挥作用之前需要大量的培训。 人工任务的推测执行并不容易。

I would think that a lot of training would be required before such a system could work. Speculative execution of human tasks is not easy.

粉红×色少女 2024-07-27 02:34:23

看一下 DWIM 的定义(照我的意思做)。

Take a look at the definition of DWIM (Do What I Mean).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文