Git Product home page Git Product logo

pyaogmaneo's Introduction

PyAOgmaNeo

Join the chat at https://gitter.im/ogmaneo/Lobby

Introduction

Welcome to the Ogma PyAOgmaNeo library, which contains Python bindings to the AOgmaNeo library.

Requirements

  • OpenMP (this will likely already be installed on your system)
  • pybind11 (will automatically install if not present)
  • cmake

Installation

You may install from pypi:

pip install pyaogmaneo

Or from this directory:

pip install .

This will download the AOgmaNeo library these bindings depend on automatically, and compile it.

Note that the branch of AOgmaNeo that will be used for building is based on the current branch of this repository (PyAOgmaNeo). The build system will automatically download the AOgmaNeo branch of the same name as that currently checked out in this repository (using a specific commit id).

If you would like to use an existing system install of AOgmaNeo, set the following environment variable:

export USE_SYSTEM_AOGMANEO

before installing.

Importing and Setup

The PyAOgmaNeo module can be imported using:

import pyaogmaneo

Refer to the examples for usage.

Contributions

Refer to the CONTRIBUTING.md file for information on making contributions to PyAOgmaNeo.

License and Copyright

Creative Commons License
The work in this repository is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. See the PYAOGMANEO_LICENSE.md and LICENSE.md file for further information.

Contact Ogma via [email protected] to discuss commercial use and licensing options.

PyAOgmaNeo Copyright (c) 2020-2024 Ogma Intelligent Systems Corp. All rights reserved.

pyaogmaneo's People

Contributors

222464 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

jacobeverist

pyaogmaneo's Issues

How to decode in CartPole Manual

Hello I am trying to use the decode function but I keep getting:
non-broadcastable output operand with shape (4,) doesn't match the broadcast shape (16,4)

The code that causes it is:
encoder = ScalerEncoder(1,20, 16)
csdr = encoder.encode(np.array([[0.1],[0.1],[0.0],[0.9]]))
decoded = encoder.decode(csdr)

I am confused as to how to make use of an encoder like this. Is there a way to convert from CSDR back to scalers?

Thanks!

Running in Colab

I attempted to run this in Colab and received the following error:

ERROR: Could not build wheels for pyaogmaneo which use PEP 517 and cannot be installed directly

I could not find a workaround. Is there one available?

Thanks!

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.