Skip to main content

Deep Learning for beginner

Project description

SenKuu —— Deep Learning for beginners

head

LatestVersion

Welcome

基于 NumPy 的深度学习模型开发框架,通过搭积木的方式来组装神经网络模型。API 借鉴了 Keras 的设计。

Contact Me: senkuu @ 163.com

License

license

LearnDL is distributed under the Apache license 2.0.

Getting started: 10 seconds to SenKuu

from senkuu.model import Model
from senkuu.structures.layers import Input, Dense

model = Model()
model.add(Input(units=2))  # The first layer must be Input layer
model.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)

Installation

There are two ways to install Senkuu:

  • (Recommended) install SenKuu from PyPI:
$ pip install senkuu
  • (Alternatively) install SenKuu from GitHub source:
$ git clone https://github.com/iqianshuai/senkuu.git

Developed & Developing Functions

functions

Architecture

architecture

Data Flow

data flow

Why this name, SenKuu?

senkuu
Here is Senkuu, senkuu from 《Dr.Stone》

Project details


Release history Release notifications

This version

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for senkuu, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size senkuu-0.1.0-py3-none-any.whl (13.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size senkuu-0.1.0.tar.gz (7.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page