Giter VIP home page Giter VIP logo

akountable's Introduction

aKountable

aKountable

Safe, accountable AI in the Blockchain!
by saferAI

Installation

pip install aKountable

Usage

First, say STOP! to people cheating on AI audits.

Start getting Tierion credentials for free. You will need a username, password and api keys. This is what we use to talk with the Blockchain.

Create a Keras model and an aKountable object

model = Sequential()
model.add(Dense(512, activation='relu', input_shape=(784,)))
model.add(Dropout(0.2))
model.add(Dense(512, activation='relu'))
model.add(Dropout(0.2))
model.add(Dense(10, activation='softmax'))

aK = aKountable(model, username, password, api_key)
aK.model.summary()
aK.model.compile(loss='categorical_crossentropy',
                 optimizer=RMSprop(),
                 metrics=['accuracy'])

Train your model to solve hard AI problems

history = aK.model.fit(x_train, y_train,
                       batch_size=batch_size,
                       epochs=epochs,
                       verbose=1,
                       validation_data=(x_test, y_test))

Stamp your model using the Blockchain and get a receipt

aK.stamp()
aK.receipt()

Be aKountable!

aK.validate()

If successful, get yourself saferAI aKountable badge! See full example [here]('https://github.com/safer41/aKountable/tree/master/examples/Hello\ World\ Peace!.ipynb').

Documentation

CisD

ToDO

  • Add functionality to save aKountable receipt together with Keras model
  • Use logging instead of print.
  • Extend aKountable. For all AI, Machine Learning and Neural Network library, add model description AND model weights to a hash and use an API that can talk with the Blockchain.
  • aKountable as a Service: aKaaS
  • Work with regulators to make bring aKountable and safer AI to everyone.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.