开源软件名称:senkuu
开源软件地址:https://gitee.com/techrc/senkuu
开源软件介绍:
SenKuu —— Deep Learning for beginnersWelcome基于 NumPy 的深度学习模型开发框架,通过搭积木的方式来组装神经网络模型。API 借鉴了 Keras 的设计。 Contact Me: senkuu @ 163.com License
LearnDL is distributed under the Apache license 2.0.
Getting started: 10 seconds to SenKuufrom senkuu.model import Modelfrom senkuu.structures.layers import Input, Densemodel = Model()model.add(Input(units=2)) # The first layer must be Input layermodel.add(Dense(units=3, activation='tanh'))model.add(Dense(units=1, activation='sigmoid'))model.set(loss='binary_crossentropy', optimizer='adam', metrics=['acc', 'precision', 'recall', 'f1'])model.train(train_x, train_y, epochs=100, validation=0.2)loss, score = model.test(test_x, test_y)print(loss, score)model.predict(new_x, onlyclass=True) InstallationThere are two ways to install Senkuu: - (Recommended) install SenKuu from PyPI:
- (Alternatively) install SenKuu from GitHub source:
$ git clone https://github.com/iqianshuai/senkuu.git Developed & Developing FunctionsArchitectureData FlowWhy this name, SenKuu? Here is Senkuu, senkuu from 《Dr.Stone》 |
请发表评论