Deep Learning for beginner
Project description
SenKuu —— Deep Learning for beginners
Welcome
基于 NumPy 的深度学习模型开发框架,通过搭积木的方式来组装神经网络模型。API 借鉴了 Keras 的设计。
Contact Me: senkuu @ 163.com
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
Architecture
Data Flow
Why this name, SenKuu?
Here is Senkuu, senkuu from 《Dr.Stone》
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
senkuu-0.1.0.tar.gz
(7.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
senkuu-0.1.0-py3-none-any.whl
(13.7 kB
view details)
File details
Details for the file senkuu-0.1.0.tar.gz.
File metadata
- Download URL: senkuu-0.1.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da12ffb1e87bb44a16e936a20f07b833d61a7573ddeec29392a8d9528714a067
|
|
| MD5 |
9301567338ffb93c6c59e3cc014a612b
|
|
| BLAKE2b-256 |
8a9167cfe79607dba13e60a4140d5a65c29053cf9a5151dd2d121cc2da3255aa
|
File details
Details for the file senkuu-0.1.0-py3-none-any.whl.
File metadata
- Download URL: senkuu-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
244b7c69278b7e97a0f582d87a2745dddc16cc628eef6d43ff9e9f1083fef332
|
|
| MD5 |
dd01e8a357d00a6180f3816671877495
|
|
| BLAKE2b-256 |
d2f2cf84bf17bfbcd2326e35aa703eb775eb2ed396e71d9bca9541c5a8e87412
|