Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

24 rename inputoutputml to featurestargets #38

Merged
merged 2 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions docs/documentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,11 @@ DataObjectsNames
:height: 24
:width: 24

Generates panels with list of names of data objects for all or selected data blocks. Data block names are: 'design_parameters','performance_attributes','inputML','outputML'.
Generates panels with list of names of data objects for all existing data blocks.


**Inputs**

- **datablock** *[List of (str)]* -- Name(s) of the datablock(s).
- **get_names** *(bool)* -- Set to True to run.

DataReal
Expand Down Expand Up @@ -266,8 +265,8 @@ Sets up an autoencoder model of the specified type with the given parameters.
**Inputs**

- **model_type** *(str)* -- Type of the autoencoder model. Options are: 'CAE' (conditional Autoencoder) and 'CVAE' (conditional Variational Autoencoder). Default: 'CAE'.
- **inputML** *[List of (str)]* -- List of variable names to be used as input to the model.
- **outputML** *[List of (str)]* -- List of variable names to be used as output from the model.
- **features** *[List of (str)]* -- List of variable names to be used as input to the model.
- **targets** *[List of (str)]* -- List of variable names to be used as output from the model.
- **latent_dim** *(int)* -- Dimension of the latent space.
- **hidden_layers** *[List of (int)]* -- Width of each hidden layer (list of int).
- **batch_size** *(int)* -- Size of the training batches
Expand Down
5 changes: 2 additions & 3 deletions src/aixd_ara/components/ara_DataObjectsNames/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,11 @@ def make_Panel(NickName, UserText, Pivot, Bounds):

errors = ""

if not datablock:
datablock = ["design_parameters", "performance_attributes", "inputML", "outputML"] # all datablock names
datablocks = ["design_parameters", "performance_attributes", "inputML", "outputML"] # all datablock names

if get_names:

for i, datablock_nickname in enumerate(datablock):
for i, datablock_nickname in enumerate(datablocks):
panel_title = datablock_nickname
response = get_dataobject_names_from_block(session_id(), datablock_nickname)
text_items = response["names"]
Expand Down
8 changes: 1 addition & 7 deletions src/aixd_ara/components/ara_DataObjectsNames/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,12 @@
"nickname": "DataObjectsNames",
"category": "ARA",
"subcategory": "1 Data",
"description": "Generates panels with list of names of data objects for all or selected data blocks. Data block names are: 'design_parameters','performance_attributes','inputML','outputML'. " ,
"description": "Generates panels with list of names of data objects for all existing data blocks." ,
"exposure": 4,
"ghpython": {
"isAdvancedMode": false,
"iconDisplay": 0,
"inputParameters": [
{
"name": "datablock",
"description": "Name(s) of the datablock(s).",
"typeHintID": "str",
"scriptParamAccess": 1
},
{
"name": "get_names",
"description": "Set to True to run.",
Expand Down
4 changes: 2 additions & 2 deletions src/aixd_ara/components/ara_ModelSetup/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

settings = {
"model_type": model_type,
"inputML": inputML,
"outputML": outputML,
"inputML": features,
"outputML": targets,
"latent_dim": latent_dim,
"hidden_layers": hidden_layers,
"batch_size": batch_size,
Expand Down
4 changes: 2 additions & 2 deletions src/aixd_ara/components/ara_ModelSetup/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
"scriptParamAccess": 0
},
{
"name": "inputML",
"name": "features",
"description": "List of variable names to be used as input to the model.",
"typeHintID": "str",
"scriptParamAccess": 1
},
{
"name": "outputML",
"name": "targets",
"description": "List of variable names to be used as output from the model.",
"typeHintID": "str",
"scriptParamAccess": 1
Expand Down
Binary file not shown.
Loading