乐高ev3 读取外部数据_数据就是新乐高
樂(lè)高ev3 讀取外部數(shù)據(jù)
When I was a kid, I used to love playing with Lego. My brother and I built almost all kinds of stuff with Lego — animals, cars, houses, and even spaceships. As time went on, our creations became more ambitious and realistic. There were also times when we could each have insisted that our Lego was our own, till we realized that pooling resources would eventually help us went further. We were growing up too, and as our playing became more sophisticated, we learned how to make better models.
小時(shí)候,我曾經(jīng)喜歡和樂(lè)高玩。 我的兄弟和我用樂(lè)高積木建造了幾乎所有東西-動(dòng)物,汽車,房屋,甚至宇宙飛船。 隨著時(shí)間的流逝,我們的創(chuàng)作變得更加雄心勃勃和更加現(xiàn)實(shí)。 有時(shí)我們每個(gè)人都可以堅(jiān)持認(rèn)為樂(lè)高是我們自己的,直到我們意識(shí)到匯集資源最終將幫助我們走得更遠(yuǎn)。 我們也在成長(zhǎng),隨著我們的演奏變得越來(lái)越復(fù)雜,我們學(xué)會(huì)了如何制作更好的模型。
As an aspiring data scientist, I realized that working with data is surprisingly a lot like my childhood Lego memories. In this article, I want to share some of the memories I’ve had that show how playing with Lego and working with data are closer than you think.
作為一個(gè)有抱負(fù)的數(shù)據(jù)科學(xué)家,我意識(shí)到處理數(shù)據(jù)非常像我童年時(shí)期的樂(lè)高記憶。 在本文中,我想分享一些我曾經(jīng)經(jīng)歷過(guò)的記憶,這些記憶表明與Lego玩游戲和處理數(shù)據(jù)的關(guān)系比您想象的要近。
探索是該過(guò)程中最有趣的部分。 (Exploration is the most fun part of the process.)
Photo by Rick Mason on Unsplash Rick Mason在Unsplash上拍攝的照片When I was a kid, I liked to put all my Lego bricks together in a giant tub because a lot of fun in building something was searching through a sea of bricks and trying out new patterns that I didn’t think about before.
當(dāng)我還是個(gè)孩子的時(shí)候,我喜歡將所有樂(lè)高積木放在一個(gè)巨大的浴缸中,因?yàn)榻ㄔ鞏|西的樂(lè)趣來(lái)自于在積木中尋找并嘗試了以前從未想到的新模式。
Anyone who deals with data knows that as much as 80% of the process is cleaning up the data and doing exploratory analysis. Personally, that’s what I love about working with data — that’s where I let my creativity and imagination run wild. Jumping straight into the dataset and exploring various visualizations and correlations, in search of patterns, brings me back to a childhood spent digging through a pile of Lego.
任何處理數(shù)據(jù)的人都知道,多達(dá)80%的過(guò)程正在清理數(shù)據(jù)并進(jìn)行探索性分析。 就個(gè)人而言,這就是我喜歡使用數(shù)據(jù)的原因,這是我讓自己的創(chuàng)造力和想象力瘋狂的地方。 直接進(jìn)入數(shù)據(jù)集并探索各種可視化效果和相關(guān)性,以尋找模式,這使我回到了童年時(shí)花大量時(shí)間在挖掘一堆樂(lè)高玩具上的經(jīng)歷。
要構(gòu)建有用的東西,您需要大量資源。 (To build something useful you need lots of resources.)
Photo by Ryan Quintal on Unsplash Ryan Quintal在Unsplash上拍攝的照片If you don’t have enough Lego bricks, chances are the things you’re building aren’t realistic. The model is crude, the colors don’t match, and there are gaps. The same goes for machine learning models. If you don’t have enough data, your models are poor, and you will encounter lots of errors.
如果您沒(méi)有足夠的樂(lè)高積木,那么您正在建造的東西可能就不現(xiàn)實(shí)了。 模型很粗糙,顏色不匹配,并且有空隙。 機(jī)器學(xué)習(xí)模型也是如此。 如果沒(méi)有足夠的數(shù)據(jù),則模型會(huì)很差,并且會(huì)遇到很多錯(cuò)誤。
However, sometimes, I might not have the right pieces to build a model exactly the way I wanted it, so I had to search for alternatives or reconsider how to build my Lego model. Hence, I learned a new way of using what I had. Similarly, as long as you are creative about where you look, there are always insights to be gained from even the most limited data.
但是,有時(shí)候,我可能沒(méi)有合適的工具來(lái)按照我想要的方式完全構(gòu)建模型,因此我不得不尋找替代方案或重新考慮如何構(gòu)建Lego模型。 因此,我學(xué)到了一種使用現(xiàn)有物品的新方法。 同樣,只要您對(duì)自己的外觀具有創(chuàng)造力,即使是最有限的數(shù)據(jù)也總會(huì)獲得洞察力。
高質(zhì)量的模型需要多種資源。 (A good quality model needs a diversity of resources.)
Photo by Glen Carrie on Unsplash Glen Carrie在Unsplash上拍攝的照片To build a good quality Lego model, you also need a diversity of bricks. Models built with only the basic 2x4 bricks are rough and inaccurate. This is where it was so useful to get Lego from friends and family. As our family and friends gave us more Lego bricks, we got more diverse bricks that helped us create more accurate models.
要構(gòu)建高質(zhì)量的Lego模型,您還需要各種各樣的積木。 僅使用基本2x4磚塊構(gòu)建的模型是粗糙且不準(zhǔn)確的。 在這里,從朋友和家人那里獲得樂(lè)高玩具非常有用。 隨著我們的家人和朋友給我們提供了更多的樂(lè)高積木,我們獲得了更多種類的積木,這有助于我們創(chuàng)建更準(zhǔn)確的模型。
This may also be a harsh childhood truth, that the children with the most Lego, the best pieces, and the most time to play create the best models. The same harsh truth applies to any machine learning projects. Projects with the biggest data volumes, the most diverse data, and the best teams to use the data would create the most accurate models.
這也可能是一個(gè)殘酷的童年真理,那就是樂(lè)高,最好的作品和最長(zhǎng)時(shí)間玩耍的孩子會(huì)創(chuàng)造出最好的模特。 同樣的苛刻真理適用于任何機(jī)器學(xué)習(xí)項(xiàng)目。 數(shù)據(jù)量最大,數(shù)據(jù)種類最多,使用數(shù)據(jù)的團(tuán)隊(duì)最好的項(xiàng)目將創(chuàng)建最準(zhǔn)確的模型。
兩者都需要反復(fù)思考。 (Both require iterative thinking.)
Photo by Kelly Sikkema on Unsplash Kelly Sikkema在Unsplash上的照片The beauty of Lego is that you’re not limited to what’s on the box. Rebuilding something and refining it each time requires iterative thinking. When it comes to working with data, there are also plenty of opportunities to iterate.
樂(lè)高的魅力在于,您不僅限于盒子上的東西。 每次重建和完善它們都需要反復(fù)思考。 在處理數(shù)據(jù)時(shí),還存在很多迭代的機(jī)會(huì)。
When I get a “decent enough” solution, whether it’s a dashboard or a Python script, I still find time to break it, repair it, and keep improving. It may seem to get the job done at first, but I’m likely to be able to redesign it into something more effective and scalable.
當(dāng)我得到一個(gè)“足夠體面”的解決方案時(shí),無(wú)論是儀表板還是Python腳本,我仍然有時(shí)間打破它,對(duì)其進(jìn)行修復(fù)并不斷改進(jìn)。 它似乎一開始就可以完成工作,但我很可能能夠?qū)⑵渲匦略O(shè)計(jì)為更有效和可擴(kuò)展的功能。
隨著您構(gòu)建更多產(chǎn)品,您會(huì)變得更好。 (You get better as you build more.)
Photo by Caleb Woods on Unsplash Caleb Woods在Unsplash上拍攝的照片Young children make rough Lego models, the colors don’t match and the shapes are wrong. On the other hand, older children build models with careful color and shape planning.
年幼的孩子會(huì)制作粗糙的Lego模型,顏色不匹配,形狀錯(cuò)誤。 另一方面,年齡較大的孩子在構(gòu)建模型時(shí)要仔細(xì)計(jì)劃顏色和形狀。
The same also happens with data and algorithms. As you get to know your data and algorithms, you get to understand their limitations and strive to build something better. And as the amount of data is growing, you may need to fix and adjust your models to get better and better. In other words, the same learning curve applies to Lego building and machine learning modeling.
數(shù)據(jù)和算法也是如此。 當(dāng)您了解數(shù)據(jù)和算法時(shí),您將了解它們的局限性并努力構(gòu)建更好的東西。 并且,隨著數(shù)據(jù)量的增長(zhǎng),您可能需要修復(fù)和調(diào)整模型以變得越來(lái)越好。 換句話說(shuō),相同的學(xué)習(xí)曲線適用于樂(lè)高積木和機(jī)器學(xué)習(xí)建模。
設(shè)計(jì)很重要。 (Design is important.)
Photo by Kristine Tumanyan on Unsplash Kristine Tumanyan在Unsplash上拍攝的照片The name Lego is derived from the Danish phrase ‘leg godt’, which means “play well.” Before I start building something with Lego, I will first decide if it’s something I want to display, or something I want to play with. For display-only models, I could get away with a simpler architecture, but if it was something I wanted to play with, I knew I had to make it extra robust. After all, it would be very disappointing if the wings of my spaceship fell off while I was swooshing it around the room.
樂(lè)高這個(gè)名字源自丹麥語(yǔ)“ leg godt” ,意思是“打得好”。 在開始使用Lego構(gòu)建東西之前,我將首先決定是要顯示還是要玩的東西。 對(duì)于僅用于顯示的模型,我可以采用更簡(jiǎn)單的體系結(jié)構(gòu),但是如果要使用它,我知道必須使其更加堅(jiān)固。 畢竟,當(dāng)我在房間周圍晃動(dòng)時(shí),如果我的飛船的機(jī)翼掉下來(lái),那將是非常令人失望的。
When it comes to making a dashboard, Python script, or even a report, I often start by asking myself if this is something people will actually use (i.e. play with), or if it’s something they want to see once and never again. From there, I plan and build accordingly.
在制作儀表板,Python腳本甚至報(bào)告時(shí),我通常會(huì)先問(wèn)自己這是否是人們真正會(huì)使用(即玩弄)的東西,還是他們想一次又一次地看到的東西。 從那里,我計(jì)劃并進(jìn)行相應(yīng)的構(gòu)建。
Photo by Ola Syrocka on Unsplash Ola Syrocka在Unsplash上拍攝的照片Lego has taught me a lot about data and building models. Just like Lego:
樂(lè)高教給我很多有關(guān)數(shù)據(jù)和構(gòu)建模型的知識(shí)。 就像樂(lè)高:
“To build something useful you need lots of resources, diversity, and the knowledge to build the right models in the right way.”
“要構(gòu)建有用的東西,您需要大量資源,多樣性和知識(shí),以正確的方式構(gòu)建正確的模型。”
謝謝閱讀 (Thanks for Reading)
Follow me on Medium for more
在更多內(nèi)容中關(guān)注我
Let’s connect on LinkedIn
讓我們?cè)贚inkedIn上建立聯(lián)系
If you enjoyed this, you might also like:
如果喜歡這個(gè),您可能還會(huì)喜歡:
翻譯自: https://towardsdatascience.com/data-is-the-new-lego-bc634cc8a795
樂(lè)高ev3 讀取外部數(shù)據(jù)
總結(jié)
以上是生活随笔為你收集整理的乐高ev3 读取外部数据_数据就是新乐高的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: data studio_面向营销人员的D
- 下一篇: java 分裂数字_分裂的补充:超越数字