arrc
Affective Research on Representations and Classifications (ARRC)
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
✓DOI references
Found 2 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.2%) to scientific vocabulary
Repository
Affective Research on Representations and Classifications (ARRC)
Basic Info
- Host: GitHub
- Owner: affectsai
- License: other
- Language: Python
- Default Branch: main
- Size: 0 Bytes
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
Affective Research on Representations and Classifications
Affective Research on Representations and Classifications (ARRC) is an open-source framework for AER model development. It is written using the multi-backend Keras 3.0 API with support for both Tensorflow and PyTorch backends. The core of ARRC is the ARRCModel class that encapsulates a user-defined feature extractor. ARRCModel provides an optional classification head, enabling it to be used for metric learning and classification problems alike. Loss functions can be applied to embedding output or classification output layers separately or as weighted losses applied to both simultaneously. The ARRC source code includes implementations of the feature extractors described in Section 7.2, and is compatible with any Keras, Tensorflow or PyTorch loss function. ARRC also provides several custom layers used for data augmentation during training. The available data augmentations include additive Gaussian noise, random time shift, and random amplitude scaling
Quick Index of this README: - Want to know if you can use it? Jump to Intended Use and License - Want to know how to use it? Jump to Quick Start - Want to help out? Jump to Contributing
Quick Start
Step 1: Installation
bash
pip install arrc
Intended Use and License
This library is intended for use by only by academic researchers to facilitate advancements in emotion research. It is not for commercial use under any circumstances.
This library is licensed under the CC BY-NC-SA 4.0 International License.
You are free to: * Share — copy and redistribute the material in any medium or format * Adapt — remix, transform, and build upon the material
Under the followiung terms: * Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. * NonCommercial — You may not use the material for commercial purposes * ShareALike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original. * No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Quick Start
```python import keras from arrc.models import ARRCModel
ecgdurationsec = 30 # Seconds ecgsamplerate = 256 # Hertz
Single - channel ECG Input
inputs = keras.Input(shape=(ecgdurationsec * ecgsamplerate, 1)) features = keras.layers.Conv1D ( filters =64, kernelsize =7, padding = "same" )(inputs) features = keras.layers.MaxPooling1D()(features) features = keras.layers.Conv1D(filters =128, kernelsize =3, padding = "same", activation = 'relu')(features) features = keras.layers.GlobalMaxPooling1D()(features)
model = ARRCModel.BuildARRCModel( inputs = inputs, embeddingoutputs = features, numclasses = 4, ) model.summary () ```
Contributing
We are happy to support you by accepting pull requests that make this library more broadly applicable, or by accepting issues to do the same. If you have an AER dataset you would like us to integrate, please open an issue for that as well, but we will be unable to process issues requesting integration with non-AER datasets at this time.
If you would like to get involved by maintaining dataset integrations in other areas of research, please get in touch and we'd be happy to have the help!
Owner
- Name: Affects AI LLC
- Login: affectsai
- Kind: organization
- Email: info@affects.ai
- Location: United States of America
- Website: https://affects.ai
- Repositories: 1
- Profile: https://github.com/affectsai
GitHub Events
Total
- Release event: 2
- Public event: 1
- Push event: 11
- Create event: 1
Last Year
- Release event: 2
- Public event: 1
- Push event: 11
- Create event: 1
Dependencies
- hatch >=1.14.0
- keras >=3.8.0
- tensorflow >=2.17.0
- umap-learn >=0.5.7