-
Notifications
You must be signed in to change notification settings - Fork 88
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
Add agent type #1142
base: master
Are you sure you want to change the base?
Add agent type #1142
Changes from all commits
0f907a9
eb9c208
1bc55c5
cf13e7b
70de59f
0be3b10
dd06b16
59774e6
e6d2740
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,15 @@ def __init__(self, requirements: PipelineComposerRequirements, | |
self.advisor = advisor or PipelineChangeAdvisor() | ||
self.graph_model_repository = graph_model_repository or self._init_default_graph_model_repo() | ||
|
||
def get_all_available_operations(self) -> List[str]: | ||
""" Returns all available models and data operations. """ | ||
available_operations = [] | ||
if self.advisor.models: | ||
available_operations += self.advisor.models | ||
if self.advisor.data_operations: | ||
available_operations += self.advisor.data_operations | ||
return available_operations | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Можешь рассказать, для чего этот метод потенциально нужен? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. там чтобы получать ембеддинги графов нужно либо иметь выбранный контекстнуальный агент как синглтон (чтобы он помнил все операции/модели в графах, что через него проходили), либо изначально подавать ему список всех доступных операций |
||
|
||
def _init_default_graph_model_repo(self): | ||
""" Initialize default graph model repository with operations from composer requirements """ | ||
repo = PipelineOperationRepository(operations_by_keys={'primary': self.requirements.primary, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Base framework | ||
thegolem==0.3.3 | ||
thegolem==0.4.0 | ||
|
||
# Data | ||
numpy>=1.16.0, !=1.24.0 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Может быть все-таки добавить что-то типа: "...Both these params are a part of experimental functionality for adaptive evolution. Adaptive evolution uses multi-armed bandits to choose most promising mutation at each iteration...."?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
как скажете