Skip to main content

BlockLearning

파이썬·딥러닝 코드를 몰라도 브라우저 화면에서 층(블록)을 선으로 이어 모델을 만들고, 학습하고, 학습한 모델을 파일로 내보내는 도구입니다. 시계열(센서·심전도)·표 데이터와 흑백 이미지를 다룹니다.

  • 설치 없이 써 보기: https://jeon-stat.github.io/blocklearning/ (계산은 브라우저 안에서)
  • 이 패키지: 같은 화면을 내 PC에 띄우고, 학습은 PyTorch로 내 PC에서 합니다. NVIDIA 그래픽카드가 있으면 GPU로 학습합니다.

교육·실험용 도구입니다. 학습 결과를 의료 진단이나 제조 판정 같은 실제 결정에 그대로 쓰지 마세요.

설치

Python 3.10 이상이 필요합니다.

pip install blocklearning

NVIDIA GPU로 학습하려면 먼저 GPU용 PyTorch를 깔고 나서 위 명령을 실행하세요. pytorch.org에서 내 PC(운영체제·CUDA)에 맞는 pip install torch ... 명령을 골라 실행하면 됩니다. 그냥 pip install blocklearning만 하면 (Windows에서는) CPU용 PyTorch가 깔려 CPU로 학습합니다.

실행

blocklearning

브라우저에 http://127.0.0.1:8765/?token=…이 열립니다. 그 컴퓨터 안에서만 열리고(127.0.0.1), 데이터는 밖으로 나가지 않습니다. 주소의 token은 실행할 때마다 새로 만드는 접속 열쇠라 남에게 보여 주지 마세요. 끝내려면 명령창에서 Ctrl+C. 실행 파일이 회사 정책 등으로 막히면 python -m blocklearning.

GPU 서버에서: SSH로 접속한 서버에서 실행하면 명령창에 내 PC에서 할 일(ssh -L … 명령, VS Code면 주소 Ctrl+클릭)이 나옵니다. GPU가 여럿이면 학습 화면의 '장치'에서 번호를 고릅니다('자동'은 가장 덜 쓰는 GPU). 데이터는 화면의 [파일 고르기]·[폴더 고르기]로 내 PC에서 골라 서버로 올릴 수 있습니다. 저장·내보낸 파일은 서버에 저장되고 브라우저로도 내려받아집니다.

  • --port 8800: 다른 포트로
  • --no-browser: 브라우저를 자동으로 열지 않음

할 수 있는 것

① 과제 고르기 → ② 데이터 (CSV·이미지 폴더·예시 데이터) → ③ 블록으로 모델 → ④ 학습 → ⑤ 새 데이터로 예측. 분류·회귀·이상 탐지·시계열 예측·구간 분할·물체 찾기·여러 정답 동시에. 학습한 모델은 PyTorch 코드나 TorchScript 파일로 내보낼 수 있습니다.

소스·자세한 설명: https://github.com/jeon-stat/blocklearning · 라이선스: MIT (예시 데이터와 사전학습 가중치는 각자의 라이선스, 패키지 안 *.SOURCE.txt·LICENSE-mnv3s.txt)

Metadata

Release files for blocklearning 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for blocklearning 0.1.1
File Size Uploaded Provenance Actions
blocklearning-0.1.1.tar.gz 25.9 MB With provenance Details for blocklearning-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for blocklearning 0.1.1
File Interpreter ABI Platform Actions
blocklearning-0.1.1-py3-none-any.whl Python 3 none any Details for blocklearning-0.1.1-py3-none-any.whl

Total release size: 51.9 MB

Release files / blocklearning-0.1.1.tar.gz

Download URL blocklearning-0.1.1.tar.gz
Size 25.9 MB
Tags Source
SHA-256 checksum
How to use checksums
5d61ef98d82e89242d4bd2b7ca6e74b260cc6adf094a3917d63f51afca83d805
BLAKE2b-256 checksum
How to use checksums
1b7d51f12bf622d7f833dcf6ebec41c60f7a56ec17ead312579607984dc4db7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / blocklearning-0.1.1-py3-none-any.whl

Download URL blocklearning-0.1.1-py3-none-any.whl
Size 26.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d72ec4aeba36ea7e968bb876baa18b493673b1ddbe68f752ec1a430e7d3b096e
BLAKE2b-256 checksum
How to use checksums
11d60eed17b6058c5b0f6f042b33fa232a0b4c08f0bd11a0547b642615bc6e1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for blocklearning 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for blocklearning-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page