日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

乐高ev3 读取外部数据_数据就是新乐高

發(fā)布時間:2023/11/29 编程问答 36 豆豆
生活随笔 收集整理的這篇文章主要介紹了 乐高ev3 读取外部数据_数据就是新乐高 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

樂高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.

小時候,我曾經(jīng)喜歡和樂高玩。 我的兄弟和我用樂高積木建造了幾乎所有東西-動物,汽車,房屋,甚至宇宙飛船。 隨著時間的流逝,我們的創(chuàng)作變得更加雄心勃勃和更加現(xiàn)實(shí)。 有時我們每個人都可以堅持認(rèn)為樂高是我們自己的,直到我們意識到匯集資源最終將幫助我們走得更遠(yuǎn)。 我們也在成長,隨著我們的演奏變得越來越復(fù)雜,我們學(xué)會了如何制作更好的模型。

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.

作為一個有抱負(fù)的數(shù)據(jù)科學(xué)家,我意識到處理數(shù)據(jù)非常像我童年時期的樂高記憶。 在本文中,我想分享一些我曾經(jīng)經(jīng)歷過的記憶,這些記憶表明與Lego玩游戲和處理數(shù)據(jù)的關(guān)系比您想象的要近。

探索是該過程中最有趣的部分。 (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)我還是個孩子的時候,我喜歡將所有樂高積木放在一個巨大的浴缸中,因?yàn)榻ㄔ鞏|西的樂趣來自于在積木中尋找并嘗試了以前從未想到的新模式。

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%的過程正在清理數(shù)據(jù)并進(jìn)行探索性分析。 就個人而言,這就是我喜歡使用數(shù)據(jù)的原因,這是我讓自己的創(chuàng)造力和想象力瘋狂的地方。 直接進(jìn)入數(shù)據(jù)集并探索各種可視化效果和相關(guān)性,以尋找模式,這使我回到了童年時花大量時間在挖掘一堆樂高玩具上的經(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.

如果您沒有足夠的樂高積木,那么您正在建造的東西可能就不現(xiàn)實(shí)了。 模型很粗糙,顏色不匹配,并且有空隙。 機(jī)器學(xué)習(xí)模型也是如此。 如果沒有足夠的數(shù)據(jù),則模型會很差,并且會遇到很多錯誤。

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.

但是,有時候,我可能沒有合適的工具來按照我想要的方式完全構(gòu)建模型,因此我不得不尋找替代方案或重新考慮如何構(gòu)建Lego模型。 因此,我學(xué)到了一種使用現(xiàn)有物品的新方法。 同樣,只要您對自己的外觀具有創(chuàng)造力,即使是最有限的數(shù)據(jù)也總會獲得洞察力。

高質(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)確的。 在這里,從朋友和家人那里獲得樂高玩具非常有用。 隨著我們的家人和朋友給我們提供了更多的樂高積木,我們獲得了更多種類的積木,這有助于我們創(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.

這也可能是一個殘酷的童年真理,那就是樂高,最好的作品和最長時間玩耍的孩子會創(chuàng)造出最好的模特。 同樣的苛刻真理適用于任何機(jī)器學(xué)習(xí)項(xiàng)目。 數(shù)據(jù)量最大,數(shù)據(jù)種類最多,使用數(shù)據(jù)的團(tuán)隊最好的項(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.

樂高的魅力在于,您不僅限于盒子上的東西。 每次重建和完善它們都需要反復(fù)思考。 在處理數(shù)據(jù)時,還存在很多迭代的機(jī)會。

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)我得到一個“足夠體面”的解決方案時,無論是儀表板還是Python腳本,我仍然有時間打破它,對其進(jìn)行修復(fù)并不斷改進(jìn)。 它似乎一開始就可以完成工作,但我很可能能夠?qū)⑵渲匦略O(shè)計為更有效和可擴(kuò)展的功能。

隨著您構(gòu)建更多產(chǎn)品,您會變得更好。 (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.

年幼的孩子會制作粗糙的Lego模型,顏色不匹配,形狀錯誤。 另一方面,年齡較大的孩子在構(gòu)建模型時要仔細(xì)計劃顏色和形狀。

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ù)和算法時,您將了解它們的局限性并努力構(gòu)建更好的東西。 并且,隨著數(shù)據(jù)量的增長,您可能需要修復(fù)和調(diào)整模型以變得越來越好。 換句話說,相同的學(xué)習(xí)曲線適用于樂高積木和機(jī)器學(xué)習(xí)建模。

設(shè)計很重要。 (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.

樂高這個名字源自丹麥語“ leg godt” ,意思是“打得好”。 在開始使用Lego構(gòu)建東西之前,我將首先決定是要顯示還是要玩的東西。 對于僅用于顯示的模型,我可以采用更簡單的體系結(jié)構(gòu),但是如果要使用它,我知道必須使其更加堅固。 畢竟,當(dāng)我在房間周圍晃動時,如果我的飛船的機(jī)翼掉下來,那將是非常令人失望的。

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腳本甚至報告時,我通常會先問自己這是否是人們真正會使用(即玩弄)的東西,還是他們想一次又一次地看到的東西。 從那里,我計劃并進(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:

樂高教給我很多有關(guān)數(shù)據(jù)和構(gòu)建模型的知識。 就像樂高:

“To build something useful you need lots of resources, diversity, and the knowledge to build the right models in the right way.”

“要構(gòu)建有用的東西,您需要大量資源,多樣性和知識,以正確的方式構(gòu)建正確的模型。”

謝謝閱讀 (Thanks for Reading)

  • Follow me on Medium for more

    在更多內(nèi)容中關(guān)注我

  • Let’s connect on LinkedIn

    讓我們在LinkedIn上建立聯(lián)系

If you enjoyed this, you might also like:

如果喜歡這個,您可能還會喜歡:

翻譯自: https://towardsdatascience.com/data-is-the-new-lego-bc634cc8a795

樂高ev3 讀取外部數(shù)據(jù)

總結(jié)

以上是生活随笔為你收集整理的乐高ev3 读取外部数据_数据就是新乐高的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。