深度学习数据自动编码器_如何学习数据科学编码
深度學(xué)習(xí)數(shù)據(jù)自動(dòng)編碼器
意見 (Opinion)
When I first wanted to learn programming, I coded along to a 4 hour long YouTube tutorial.
剛開始學(xué)習(xí)編程時(shí),我編寫了長達(dá)4個(gè)小時(shí)的YouTube教程。
“Great,” I thought after finishing the course. “I know how to code now!”
“ 好極了 ,”完成課程后我想。 “ 我現(xiàn)在知道如何編碼! ”
I was excited! I wanted to learn more.
我很興奮! 我想了解更多。
So I took another tutorial.
因此,我參加了另一個(gè)教程。
Then….. I took another.
然后.....我又拿了一個(gè)。
And yet another.
還有一個(gè)。
Sound familiar?
聽起來有點(diǎn)熟?
This went on for some time, until I finally gave up on trying to learn how to code.
這持續(xù)了一段時(shí)間,直到我最終放棄嘗試學(xué)習(xí)編碼的方法。
I was so used to structured classes, and there seemed to be no well-defined syllabus that would take me from “zero to hero” in coding.
我已經(jīng)習(xí)慣了結(jié)構(gòu)化的類,似乎沒有一個(gè)明確的提綱可以使我從“零到英雄”編碼 。
“Well, at least I tried. Now I know this isn’t for me,” I thought to myself.
“ 好吧,至少我嘗試過。 現(xiàn)在我知道這不適合我 ,”我對(duì)自己想。
Fast forward a year later, after talking to a few programmers and doing some reading of my own, I realized I was stuck in something called a tutorial trap.
一年后的今天,在與一些程序員交談并閱讀了一些自己的文章之后,我意識(shí)到自己陷入了一個(gè)教程陷阱。
什么是教程陷阱? (What Is The Tutorial Trap?)
The tutorial trap is really easy to fall into.
教程陷阱確實(shí)很容易陷入。
You want to learn to code. Someone out there promises to make you a programmer if you take their course.
您想學(xué)習(xí)編碼。 如果您上了這門課程,那么有人會(huì)許諾讓您成為一名程序員。
You take the course.
您參加課程。
You do this again and again, with new frameworks and languages.
您會(huì)使用新的框架和語言來一次又一次地執(zhí)行此操作。
This is a very tricky situation to be in, especially since you actually feel like you’re learning something during each tutorial.
這是一個(gè)非常棘手的情況,尤其是因?yàn)槟鷮?shí)際上覺得自己在每個(gè)教程中都在學(xué)習(xí)一些東西。
Unfortunately, you are unable to apply anything you have learnt. You can’t come up with your own piece of code to solve a problem, let alone create an entire project from scratch.
不幸的是,您無法應(yīng)用所學(xué)到的任何東西。 您無法提出自己的代碼來解決問題,更不用說從頭開始創(chuàng)建整個(gè)項(xiàng)目了。
If this is you, then its time to break out of the tutorial trap.
如果是您,那么是時(shí)候擺脫教程陷阱了。
突破教學(xué)陷阱 (Breaking Out of The Tutorial Trap)
Laurentiu Iordache on Laurentiu Iordache攝于UnsplashUnsplashIf you’re reading this article because you want a well-defined syllabus to become a programmer, you’re in the wrong place.
如果您要閱讀明確的課程大綱是因?yàn)橄M幸粋€(gè)定義明確的課程大綱成為程序員,那么您來錯(cuò)了地方。
Everybody’s path towards learning to code is different. I will simply point you in the right direction based on what worked for me.
每個(gè)人學(xué)習(xí)編碼的途徑都不同。 我只會(huì)根據(jù)對(duì)我有用的內(nèi)容,為您指明正確的方向。
To break out of the tutorial trap, you first need to stop taking tutorials.
要突破教程陷阱,您首先需要停止學(xué)習(xí)教程 。
If you have taken one or two online courses, you know the basic syntax and operators.
如果您參加了一到兩門在線課程,您將了解基本語法和運(yùn)算符。
- Variables 變數(shù)
- Functions 功能
- Control Flow 控制流
- Loops 循環(huán)
- Arrays 數(shù)組
Once you are familiar with the basics and how these work, move on!
一旦您熟悉了基礎(chǔ)知識(shí)以及它們?nèi)绾喂ぷ?#xff0c;就繼續(xù)吧!
All online courses will teach you the same thing, and taking more than one is just going to waste your time.
所有的在線課程都會(huì)教給您同樣的事情,而花很多時(shí)間都只會(huì)浪費(fèi)您的時(shí)間。
知道這一點(diǎn)后,繼續(xù)進(jìn)行一些小的編碼挑戰(zhàn)。 (After you know this, move on and start doing some small coding challenges.)
Photo by Jukan Tateisi on Unsplash Jukan Tateisi在Unsplash上拍攝的照片My personal favourite is a website called HackerRank. They have challenges with varying difficulty levels.
我個(gè)人最喜歡的是一個(gè)名為HackerRank的網(wǎng)站。 他們面臨的挑戰(zhàn)具有不同的難度級(jí)別。
This is a great way to get started with programming once you know the basics. It will help you familiarise yourself with the language.
一旦掌握了基礎(chǔ)知識(shí),這就是開始編程的好方法。 它將幫助您熟悉該語言。
These challenges might be a little intimidating at first, since it is your first time solving a problem without coding along.
這些挑戰(zhàn)乍一看可能有些嚇人,因?yàn)檫@是您第一次無需編碼即可解決問題。
If you get stuck along the way, looking at another person’s code will also really help you start thinking. (Don’t just copy paste their code, try to understand how they solve it.)
如果您一路陷入困境,那么查看他人的代碼也將真正幫助您開始思考。 ( 不要只是復(fù)制粘貼他們的代碼,而是嘗試了解他們?nèi)绾谓鉀Q它。)
As you look at other people’s code, you will notice that they are all different. There is always more than one way to look at a problem, and so many different approaches you can take.
當(dāng)您查看其他人的代碼時(shí),您會(huì)發(fā)現(xiàn)他們都是不同的。 解決問題總是有不止一種方法,因此可以采取許多不同的方法。
This will really change the way you think as a programmer, and improve your ability to code.
這將真正改變您作為程序員的思維方式,并提高您的編碼能力。
專案,專案,專案 (Projects, Projects, Projects)
Photo by Jo Szczepanska on Unsplash Jo Szczepanska在Unsplash上拍攝的照片Once you have developed some confidence in your ability to code without following a tutorial, you can start with projects!
一旦對(duì)無需進(jìn)行教程的編碼能力有了一定的信心,就可以從項(xiàng)目開始!
開始之前請(qǐng)牢記最終產(chǎn)品 (Have an end-product in mind before you start)
When I first started out in the data analytics field, I read the same piece of advice everywhere.
當(dāng)我第一次進(jìn)入數(shù)據(jù)分析領(lǐng)域時(shí),我到處都讀到同樣的建議。
Do projects!
做項(xiàng)目!
However, I had no idea what projects to do. Everytime I started something, it would go nowhere and I would never end up completing it.
但是,我不知道要做什么項(xiàng)目。 每當(dāng)我開始做某事時(shí),它就無濟(jì)于事,而且我永遠(yuǎn)也不會(huì)最終完成它。
This is because I had no solid goal in mind.
這是因?yàn)槲覜]有堅(jiān)定的目標(biāo)。
When creating a project, always have one solid end goal in mind. Also, make sure it is a project you are interested in doing. Otherwise you’ll never end up completing it.
創(chuàng)建項(xiàng)目時(shí),始終牢記一個(gè)堅(jiān)實(shí)的最終目標(biāo)。 另外,請(qǐng)確保這是您感興趣的項(xiàng)目。 否則,您將永遠(yuǎn)無法完成它。
這是一個(gè)例子: (Here’s an example:)
You want to analyze trends in the music industry over time.
您想分析音樂行業(yè)隨著時(shí)間的趨勢(shì)。
End goal: Finding patterns in music trends over time, with data such as artist name and genre.
最終目標(biāo):利用藝術(shù)家姓名和流派之類的數(shù)據(jù)來查找音樂趨勢(shì)隨時(shí)間變化的模式。
In order to do this, you will first need to collect the data.
為此,您首先需要收集數(shù)據(jù)。
This can be done with the help of a web scraper or an API. This will require quite a lot of coding, and is a great intermediate level coding project by itself.
這可以借助網(wǎng)絡(luò)抓取器或API來完成 。 這將需要大量的編碼,并且本身就是一個(gè)很好的中級(jí)編碼項(xiàng)目。
Then, you will need to clean the data. This is a simple task, but can be very time consuming because of just how messy the data can be.
然后,您將需要清除數(shù)據(jù)。 這是一個(gè)簡單的任務(wù),但由于數(shù)據(jù)可能非常混亂,因此可能非常耗時(shí)。
You don’t need to have high level programming skills to perform data analytic tasks. Most of what needs to be done is data manipulation, which doesn’t require much logic to do.
您無需具備高級(jí)編程技能即可執(zhí)行數(shù)據(jù)分析任務(wù)。 大部分需要做的是數(shù)據(jù)操作,不需要太多的邏輯即可完成。
Finally, you can perform the actual analysis. You will need to know how to use visualization libraries in order to do this, which are pretty easy to pick up on. Matplotlib and Seaborn are two popular Python visualization libraries.
最后,您可以執(zhí)行實(shí)際分析。 您將需要知道如何使用可視化庫來執(zhí)行此操作,這很容易上手。 Matplotlib和Seaborn是兩個(gè)流行的Python可視化庫。
而已! (That’s it!)
This is just a rough idea on the steps you should take to learn coding for data science.
這只是關(guān)于學(xué)習(xí)數(shù)據(jù)科學(xué)編碼應(yīng)采取的步驟的一個(gè)粗略想法。
I understand that data science is a field that attracts people from various different backgrounds. If you are from a non-technical background, the coding part may seem really intimidating at first.
我了解數(shù)據(jù)科學(xué)是一個(gè)吸引來自不同背景的人們的領(lǐng)域。 如果您來自非技術(shù)領(lǐng)域,那么編碼部分起初似乎確實(shí)令人生畏。
Everyone seems to be writing these really complex, large pieces of code that don’t make sense.
似乎每個(gè)人都在編寫這些毫無意義的大型代碼。
但是,您需要記住,每個(gè)人都從某個(gè)地方開始。 (However, you need to remember that everyone starts somewhere.)
Even the best programmer started out with “Hello World,” and you just need to be patient.
即使是最好的程序員,也都是從“ Hello World”開始的,您只需要耐心等待即可。
Give yourself some time to learn, and embrace the learning curve. Just like learning to swim, drive, or ride a bike, learning to code doesn’t happen overnight. It takes a lot of practice and staring at a computer screen to get there.
給自己一些時(shí)間來學(xué)習(xí),并擁抱學(xué)習(xí)曲線。 就像學(xué)習(xí)游泳,開車或騎自行車一樣,學(xué)習(xí)編碼并不是一overnight而就的。 這需要大量的練習(xí),并且盯著計(jì)算機(jī)屏幕才能到達(dá)那里。
I hope this article was helpful, thanks for reading!
希望本文對(duì)您有所幫助,感謝您的閱讀!
Making mistakes simply means you are learning faster — Weston H Agor
犯錯(cuò)誤只是意味著您學(xué)習(xí)得更快— Weston H Agor
翻譯自: https://towardsdatascience.com/how-to-learn-coding-for-data-science-28df2705dac9
深度學(xué)習(xí)數(shù)據(jù)自動(dòng)編碼器
總結(jié)
以上是生活随笔為你收集整理的深度学习数据自动编码器_如何学习数据科学编码的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 梦到上坟烧纸预示着什么
- 下一篇: 梦到外出打工好不好