Keras

維基百科,自由的百科全書
跳至導覽 跳至搜尋
Keras
File:Keras logo.svg
原作者弗朗索瓦·肖萊(François Chollet)
開發者多人
首次發布2015年3月27日,​11年前​(2015-03-27
目前版本
    Module:EditAtWikidata第29行Lua錯誤:attempt to index field 'wikibase' (a nil value)
    原始碼庫
    • {{URL|example.com|可选的显示文本}}
    Module:EditAtWikidata第29行Lua錯誤:attempt to index field 'wikibase' (a nil value)
    程式語言Python
    引擎
      Module:EditAtWikidata第29行Lua錯誤:attempt to index field 'wikibase' (a nil value)
      平台跨平臺
      類型類神經網路
      許可協定Apache 2.0
      網站keras.io

      Keras是一個用Python編寫的開源類神經網路庫,從2021年8月的版本2.6開始,它是在TensorFlow 2上建立的高層API[1];在版本2.4及以前能夠在TensorFlowMicrosoft Cognitive ToolkitTheanoPlaidML英語PlaidML多個後端之上執行[2]。Keras旨在快速實現深度神經網路,專注於使用者友好、模組化和可延伸性,是ONEIROS(開放式神經電子智慧機器人作業系統)專案研究工作的部分產物[3],主要作者和維護者是Google工程師弗朗索瓦·肖萊。肖萊也是XCeption深度神經網路模型的作者[4]

      2017年,Google的TensorFlow團隊決定在TensorFlow核心庫中支援Keras[5]。 Chollet解釋道,Keras被認為是一個介面,而非獨立的機器學習框架。它提供了更進階別、更直觀的抽象集,無論使用何種計算後端,使用者都可以輕鬆地開發深度學習模型[6]微軟也向Keras添加了CNTK後端,自CNTK v2.0開始[7][8]

      特色[編輯]

      Keras包含許多常用神經網路構建塊的實現,例如層、目標啟用功能最佳化器和一系列工具,可以更輕鬆地處理圖像和文字資料。其代碼代管在GitHub上,社群支援論壇包括GitHub的問題頁面和Slack通道。

      除標準神經網路外,Keras還支援卷積神經網路迴圈神經網路。其他常見的實用公共層支援有Dropout、批次歸一化和池化層等。[9]

      Keras允許使用者在智慧型手機(iOSAndroid)、網頁或Java虛擬機器上製作深度模型[10],還允許在圖形處理器張量處理器的叢集上使用深度學習模型的分散式訓練[11]

      使用[編輯]

      截至2017年11月,Keras聲稱擁有20多萬使用者[10]。在KD Nuggets 2018年軟體調查中,Keras的參照次數排名第十,使用率為22%[12]

      參見[編輯]

      參考資料[編輯]

      1. ^ Release and compatibility. [2022-09-08]. (原始內容存檔於2022-12-20). 
      2. ^ Keras 2.4.0. [2022-08-31]. (原始內容存檔於2022-11-29). As previously announced, we have discontinued multi-backend Keras to refocus exclusively on the TensorFlow implementation of Keras. 
      3. ^ Keras Documentation. keras.io. [2016-09-18]. (原始內容存檔於2020-01-17). 
      4. ^ Chollet, François. Xception: Deep Learning with Depthwise Separable Convolutions. 2016. arXiv:1610.02357可免費查閱. 
      5. ^ Module: tf.keras  |  TensorFlow. TensorFlow. [2018-11-14]. (原始內容存檔於2020-05-05) (English). 
      6. ^ Chollet GitHub Comment. [2019-03-27]. (原始內容存檔於2017-03-11). 
      7. ^ CNTK Keras GitHub Issue. [2019-03-27]. (原始內容存檔於2020-02-02). 
      8. ^ alexeyo. CNTK_2_0_Release_Notes. docs.microsoft.com. [2017-06-14]. (原始內容存檔於2020-02-02) (en-us). 
      9. ^ Core - Keras Documentation. keras.io. [2018-11-14]. (原始內容存檔於2020-05-08) (English). 
      10. ^ 10.0 10.1 Why use Keras?. keras.io. [2018-02-23]. (原始內容存檔於2019-09-28). 
      11. ^ Using TPUs  |  TensorFlow. TensorFlow. [2018-11-14]. (原始內容存檔於2019-06-04) (English). 
      12. ^ Piatetsky, Gregory. Python eats away at R: Top Software for Analytics, Data Science, Machine Learning in 2018: Trends and Analysis. KDnuggets. KDnuggets. [2018-05-30]. (原始內容存檔於2020-02-02). 

      延伸閱讀[編輯]

      外部連結[編輯]