question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[feature request] custom transformation of observation space

See original GitHub issue

Hello,

I often need to manually transform the observation space shape and associated observations in order to match custom policies I’m using. Would it be interesting to add a pre-processing mechanism that would:

def transform(obs):
    return np.reshape(obs, ...)

I guess there would be at least 2 options to expose a custom transformer: add it as a parameter to the algorithm, or register it (2nd option preferred I think).

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
antoine-galataudcommented, Dec 6, 2018

@hill-a thanks. I was about to write my own 😃

1reaction
hill-acommented, Dec 6, 2018

I’m not sure I understand what you mean.

If you want to change the observation shape from the environment, you can use a custom environment wrapper that can transform your observation before it is used by the model.

If you want to change the way the batch shapes are handled, I wouldn’t mind an example, as I’m not sure how this could be used.

Or do you mean something else?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Featurization with automated machine learning - Azure ...
Learn the data featurization settings in Azure Machine Learning and how to customize those features for your automated ML experiments.
Read more >
About the Feature Requests category - please read before ...
To make a feature request, start a new topic with the request as the topic's title. Please take a minute to search for...
Read more >
Transform Data - Amazon SageMaker - AWS Documentation
Custom transform doesn't support columns with spaces or special characters ... Many analyses, such as forecasting algorithms, require the observations to be ...
Read more >
Semantic Sensor Network Ontology - W3C
The main feature of an ontology module under the second category is ... require the use of some custom datatype whose value space...
Read more >
LiveData overview - Android Developers
The following sample code illustrates how to start observing a LiveData object: ... Even though you can use LiveData transformations and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found