Skip to content

add support for categorical parameters#449

Closed
JasonKChow wants to merge 1 commit into
facebookresearch:mainfrom
JasonKChow:export-D65779384
Closed

add support for categorical parameters#449
JasonKChow wants to merge 1 commit into
facebookresearch:mainfrom
JasonKChow:export-D65779384

Conversation

@JasonKChow
Copy link
Copy Markdown
Contributor

Summary:
Added support for categorical parameters. This required changing some server functions to be able to take and give strings as a part of the responses.

Externally, categorical parameters are strings. Internally, categorical parameters are represented as index parameters (0, nChoices -1) while they are passed to models as one_hot vectored parameters. The index intermediate could be useful in the future for alternative ways to model categorical parameters.

Differential Revision: D65779384

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 13, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D65779384

JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Nov 20, 2024
Summary:

Added support for categorical parameters. This required changing some server functions to be able to take and give strings as a part of the responses.

Externally, categorical parameters are strings. Internally, categorical parameters are represented as index parameters (0, nChoices -1) while they are passed to models as one_hot vectored parameters. The index intermediate could be useful in the future for alternative ways to model categorical parameters.

Differential Revision: D65779384
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D65779384

JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Apr 29, 2025
Summary:

Added support for categorical parameters. This required changing some server functions to be able to take and give strings as a part of the responses.

For the server:  categorical parameters are strings. For the models, categorical parameters are represented as an discrete index. 

There's no model that can handle categorical parameters yet.

Differential Revision: D65779384
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D65779384

JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Apr 29, 2025
Summary:

Added support for categorical parameters. This required changing some server functions to be able to take and give strings as a part of the responses.

For the server:  categorical parameters are strings. For the models, categorical parameters are represented as an discrete index. 

There's no model that can handle categorical parameters yet.

Differential Revision: D65779384
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D65779384

Summary:

Added support for categorical parameters. This required changing some server functions to be able to take and give strings as a part of the responses.

For the server:  categorical parameters are strings. For the models, categorical parameters are represented as an discrete index. 

There's no model that can handle categorical parameters yet.

Differential Revision: D65779384
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D65779384

JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Apr 29, 2025
Summary:

Added support for categorical parameters. This required changing some server functions to be able to take and give strings as a part of the responses.

For the server:  categorical parameters are strings. For the models: categorical parameters are represented as a discrete index. 

There's no model that can handle categorical parameters yet.

Differential Revision: D65779384
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Apr 29, 2025
Summary:

Added support for categorical parameters. This required changing some server functions to be able to take and give strings as a part of the responses.

For the server:  categorical parameters are strings. For the models: categorical parameters are represented as a discrete index. 

There's no model that can handle categorical parameters yet.

Differential Revision: D65779384
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Apr 29, 2025
Summary:

Added support for categorical parameters. This required changing some server functions to be able to take and give strings as a part of the responses.

For the server:  categorical parameters are strings. For the models: categorical parameters are represented as a discrete index. 

There's no model that can handle categorical parameters yet.

Differential Revision: D65779384
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Apr 29, 2025
Summary:

Added support for categorical parameters. This required changing some server functions to be able to take and give strings as a part of the responses.

For the server:  categorical parameters are strings. For the models: categorical parameters are represented as a discrete index. 

There's no model that can handle categorical parameters yet.

Differential Revision: D65779384
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Apr 29, 2025
Summary:

Added support for categorical parameters. This required changing some server functions to be able to take and give strings as a part of the responses.

For the server:  categorical parameters are strings. For the models: categorical parameters are represented as a discrete index. 

There's no model that can handle categorical parameters yet.

Differential Revision: D65779384
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Apr 29, 2025
Summary:

Added support for categorical parameters. This required changing some server functions to be able to take and give strings as a part of the responses.

For the server:  categorical parameters are strings. For the models: categorical parameters are represented as a discrete index. 

There's no model that can handle categorical parameters yet.

Differential Revision: D65779384
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Apr 29, 2025
Summary:

Added support for categorical parameters. This required changing some server functions to be able to take and give strings as a part of the responses.

For the server:  categorical parameters are strings. For the models: categorical parameters are represented as a discrete index. 

There's no model that can handle categorical parameters yet.

Differential Revision: D65779384
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 62f2439.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants