资源算法aorun

aorun

2019-10-09 | |  238 |   0 |   0

Getting started

Here is a simple regression example:

from aorun.models import Modelfrom aorun.layers import Dense, Activation

model = Model()
model.add(Dense(10, input_dim=3))
model.add(Activation('relu'))
model.add(Dense(1))

model.fit(X_train, y_train, loss='mse', optimizer='adam')

y_pred = model.predict(X_test)

Install

First of all, it's import to mention that this project is develop with Python 3.5+ in mind. I do not recommend using Aorun with older versions.

As prerequisite, you have to install the latest stable version of PyTorch

Then you can install aorun as any other python package, with pip:

$ pip install aorun

Why Aorun?

Aorun is a Dinosaur. Dinosaurs are cool.


上一篇:torch-sampling

下一篇:mlogger

用户评价
全部评价

热门资源

  • DuReader_QANet_BiDAF

    Machine Reading Comprehension on DuReader Usin...

  • ETD_cataloguing_a...

    ETD catalouging project using allennlp

  • allennlp_extras

    allennlp_extras Some utilities build on top of...

  • allennlp-dureader

    An Apache 2.0 NLP research library, built on Py...

  • honk-honk-motherf...

    honk-honk-motherfucker