TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

What is machine learning?

1 pointsby mardo5over 10 years ago
Hello,<p>In the wikipedia entry on Machine learning they mention the &#x27;explicitly programmed instructions&#x27; :<p>&quot;Machine learning is a scientific discipline that explores the construction and study of algorithms that can learn from data. Such algorithms operate by building a model based on inputs and using that to make predictions or decisions, rather than following only explicitly programmed instructions.&quot;<p>I&#x27;m really trying to understand what do these algorithms really are and what do they mean by &#x27;explicitly programmed instructions&#x27;.<p>How can you write for example a classifier using the &#x27;explicitly programmed instructions&#x27; and how do we compare it to a ML classifier ? Does the ML classifier use heuristics where the &#x27;explicitly programmed instructions&#x27; one will look for an optimal solution ? Aren&#x27;t the 2 just &#x27;explicitly programmed instructions&#x27; with different response time ?<p>I read some articles and did some MOOC on ML, what I&#x27;m looking for is what do we mean by ML. I&#x27;m not that interested in its applications.<p>I&#x27;d appreciate any answers, materials, ...<p>Thanks,

1 comment

stdbrouwover 10 years ago
Here&#x27;s a classifier that uses explicitly programmed instructions:<p><pre><code> def classify(word): return word[0] </code></pre> What you would do instead with supervised learning or other ML methods, is to give the algorithm some inputs and outputs, e.g. &quot;Hello =&gt; H&quot;, &quot;World =&gt; W&quot; and then let the algorithm come up with a model that will know that the answer to &quot;Sunshine&quot; is &quot;S&quot; without you having explicitly coded that.<p>Of course, in reality you wouldn&#x27;t use machine learning to alphabetize words. It&#x27;s most useful when explicit or exact classification &#x2F; modeling &#x2F; prediction is simply not possible, as e.g. with spam detection.