我有点想做(实际上是重做)数学
我想重做我的数学,因为我真的觉得自己被剥夺了。我是印度计算机工程专业大四预科学生。我最终想成为一名数学上成熟的(是的,这就是我想要的表达方式!)程序员(机器学习,NLP)!真正的请求。
我期望的成熟度的例子可以通过以下例子清楚地看出: 有人让我写一个C程序来计算前100个奇自然数的平方和。当然,我的答案会是这样的:
for(i=0,sum=0;i<100;i++)
{
sum += square(2*i+1);
}
但是,我的一位“数学成熟”的朋友想出了这个(是的,这件事实际上被问到了!)
∑(2n+1)² = ∑ (4n² + 4n + 1)= ...SO ON.
想出了一个公式和公式。将 100
表示 n
&他用一条C线就完成了。
我无法想到这样的事,直到他想到了。所以,我想我已经让事情变得更简单了,让你明白我问这个问题的意图。
I want to redo my mathematics, since I honestly feel deprived. I'm a pre-final year Computer Engg (!) student in India. I eventually want to be a mathematically mature (yeah, that's how I wanna phrase it!) PROGRAMMER (in Machine Learning, NLP)! A Genuine request.
An example of kind of maturity I expect will be clear by following example:
Someone asks me to write a C program to calculate the sum of the squares of the first 100 odd natural numbers. Naturally my answer would go something like:
for(i=0,sum=0;i<100;i++)
{
sum += square(2*i+1);
}
BUT, one of my 'mathematically mature' friend came up with this (yeah this thing was actually asked!)
∑(2n+1)² = ∑ (4n² + 4n + 1)= ...SO ON.
Came up with a formula & put 100
for n
& he was done in a single C line.
I couldn't think of such a thing, until he did. So, I think I've made things a little simpler for you to get my intention of asking this question.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Project Euler 是计算机程序员了解更多数学知识的一种有趣方式。尝试用您选择的语言解决前几个问题。解决问题将解锁讨论,有时甚至会解锁解释数学背景的 PDF。
对于与机器学习和 NLP 特别相关的内容,您可能需要查看此问题的一些答案。
Project Euler is a fun way for computer programmers to find out more about maths. Try working through the first few problems in the language of your choice. Solving a problem will unlock discussion and sometimes a PDF explaining the mathematical background.
For stuff that's specifically relevant to machine learning and NLP, you might want to check out some of the answers to this question.
数学对于拥有良好的编程知识来说绝对是有用的。我不完全确定你的要求是什么?
Maths is definitely a useful thing to have a good working knowledge of for programming. I'm not entirely sure what your request is though?