Skip to main content

AFS

N|Solid

Build Status

AFS is a Python based library, that helps Deep / Machine Learning specialists to track their models during training without accessing server, and getting notifications full of their desired information via beloved Social Media platforms.

N|Solid

PROS

  • Built as lightweight as possible
  • Takes 14 arguments, therefore users can check almost everything while their model is training
  • Back-End is built on Flask framework, and open-sourced. You can contribute to implement more Social Media platforms' APIs.

TODO

  • Finish working on Back-End for Facebook Messenger.

Used Frameworks & Libraries

AFS is built totally on Python & Node.JS.

Installation

Python 3.6+ required to use.

Get the package from PyPi

$ pip install AFS

Usage

Import the AFS and reach 'teller' function. Define the AFS.teller function inside the training loop, and pass the arguments.

$ import AFS as afs
$ afs.teller(arg1, arg2)

Then, reach uID function, and pass the 'yes' string, that will basically create unique id for you, by which you'll then verify your session with the chatbot.

$ afs.uID("yes")

After the execution of the training loop, this line will print unique ID for you that is generated super randomly to minimize the similarities.

It'll look like this:

$ Your unique ID is ---  231409296064663:68137457840134:27374860406350

Copy the unique ID, and text the AFS bot the plain text to verify your session. And, it's all done.

Arguments

'teller' function takes maximum of 14 arguments. Default values are 0s.

$iteration argument is for counting iterations. type = number.

$distribution argument is basically a divider, for every how many iterations do you need to send the GET request. type = number.

$maxiter is a maximum of iterations, after which the model finishes training. type = number.

$epochdistribution is the same as 'distribution' argument, but for epochs. type = number.

$epoch counts epochs. type = number.

$testloss takes test loss as an information. type = number.

$valloss takes validation loss as an information. type = number.

JSON Instance

The API sends the JSON array, that is basically stringified version of combination of dictionaries.

Implementations

The Flask server is deployed on Heroku, and implemented only in Facebook Messenger for now. Next Social Media Platforms:

License

BSD 3-Clause Licence

[PlGa]: https://github.com/RahulHP/dillinger/blob/master/plugins/googleanalytics/README.md

Metadata

Release files for afs 5.0

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

Source distribution (sdist)

Source distribution for afs 5.0
File Size Uploaded
afs-5.0.tar.gz 4.9 kB Details

Release files / afs-5.0.tar.gz

Download URL afs-5.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
cfe116f6db02154f44c0a1f6fae6ddb9decbddb13647237f7b80069bc2173952
BLAKE2b-256 checksum
How to use checksums
8c9b3dc30c6cbd3443e14ed0cb626d7f9222895bbadf7d4e95fca2e9a8ec720b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

Release history Release notifications | RSS feed

This release

5.0 This release

1 release file

4.0

1 release file

3.0

1 release file

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