amplify-bbopt 0.2.0__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/PKG-INFO +3 -3
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/README.md +1 -2
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt/__version__.py +1 -1
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt/logger.py +2 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt/plot.py +4 -3
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt.egg-info/PKG-INFO +3 -3
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt.egg-info/requires.txt +1 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/pyproject.toml +1 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/LICENSE.txt +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt/__init__.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt/bb_func.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt/constraint.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt/data_gen.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt/data_list.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt/history.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt/misc.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt/model.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt/objective_example.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt/optimizer.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt/poly.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt/solution_type.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt/trainer.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt/variable.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt/variables.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt.egg-info/SOURCES.txt +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt.egg-info/dependency_links.txt +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/amplify_bbopt.egg-info/top_level.txt +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/setup.cfg +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/setup.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/test/test_bbfunc.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/test/test_constraint.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/test/test_data_gen.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/test/test_data_list.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/test/test_misc.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/test/test_model.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/test/test_objective_example.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/test/test_optimizer.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/test/test_poly.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/test/test_solution_type.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/test/test_trainer.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/test/test_variable.py +0 -0
- {amplify_bbopt-0.2.0 → amplify_bbopt-0.2.2}/test/test_variables.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: amplify-bbopt
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: An Amplify-based library to facilitate black-box optimization
|
|
5
5
|
Author-email: Fixstars Amplify Corporation <y_matsuda@fixstars.com>
|
|
6
6
|
Maintainer-email: Yoshiki Matsuda <y_matsuda@fixstars.com>, Yuki Minamoto <yuki.minamoto@fixstars.com>
|
|
@@ -52,6 +52,7 @@ Requires-Dist: numpy
|
|
|
52
52
|
Requires-Dist: pandas
|
|
53
53
|
Requires-Dist: torch
|
|
54
54
|
Requires-Dist: plotly
|
|
55
|
+
Requires-Dist: nbformat>=4.2.0
|
|
55
56
|
|
|
56
57
|
# Amplify-BBOpt
|
|
57
58
|
|
|
@@ -60,8 +61,7 @@ Amplify-BBOpt is a Python package to facilitate the execution of black-box optim
|
|
|
60
61
|
- Documentation:
|
|
61
62
|
https://amplify.fixstars.com/docs/amplify-bbopt/v0/
|
|
62
63
|
- Contributing (bug reports, improvements):
|
|
63
|
-
https://amplify.fixstars.com/en/contact
|
|
64
|
-
https://github.com/fixstars/amplify-bbopt/issues
|
|
64
|
+
https://amplify.fixstars.com/en/contact
|
|
65
65
|
|
|
66
66
|
Amplify-BBOpt is built around the [Amplify SDK](https://amplify.fixstars.com/en/docs/amplify/). Annealing-based black-box optimization methods, FMQA and kernel-QA, are available in conjunction with quantum annealing machines and Ising machines (hence using Amplify SDK). Important features include (but not limited to):
|
|
67
67
|
|
|
@@ -5,8 +5,7 @@ Amplify-BBOpt is a Python package to facilitate the execution of black-box optim
|
|
|
5
5
|
- Documentation:
|
|
6
6
|
https://amplify.fixstars.com/docs/amplify-bbopt/v0/
|
|
7
7
|
- Contributing (bug reports, improvements):
|
|
8
|
-
https://amplify.fixstars.com/en/contact
|
|
9
|
-
https://github.com/fixstars/amplify-bbopt/issues
|
|
8
|
+
https://amplify.fixstars.com/en/contact
|
|
10
9
|
|
|
11
10
|
Amplify-BBOpt is built around the [Amplify SDK](https://amplify.fixstars.com/en/docs/amplify/). Annealing-based black-box optimization methods, FMQA and kernel-QA, are available in conjunction with quantum annealing machines and Ising machines (hence using Amplify SDK). Important features include (but not limited to):
|
|
12
11
|
|
|
@@ -42,9 +42,9 @@ def plot_history(history: History, log_scale: bool = False) -> go.Figure:
|
|
|
42
42
|
|
|
43
43
|
# Plot corresponding to the data obtained purely from annealing.
|
|
44
44
|
if DEDUP in history_df:
|
|
45
|
-
plot_idx = np.where(1 - history_df[DEDUP][num_initial_data:])[0]
|
|
45
|
+
plot_idx = np.where(1 - history_df[DEDUP].iloc[num_initial_data:])[0]
|
|
46
46
|
x = plot_idx + 1
|
|
47
|
-
y = [history_df[OBJ_TOT][i] for i in plot_idx + num_initial_data]
|
|
47
|
+
y = [history_df[OBJ_TOT].iloc[i] for i in plot_idx + num_initial_data]
|
|
48
48
|
|
|
49
49
|
fig.add_trace(
|
|
50
50
|
go.Scatter(
|
|
@@ -62,7 +62,8 @@ def plot_history(history: History, log_scale: bool = False) -> go.Figure:
|
|
|
62
62
|
fig.add_trace(
|
|
63
63
|
go.Scatter(
|
|
64
64
|
x=list(range(-num_initial_data + 1, len(history_df) - num_initial_data + 1)),
|
|
65
|
-
y=[history_df[OBJ_TOT].iloc[0]]
|
|
65
|
+
y=[history_df[OBJ_TOT].iloc[0]]
|
|
66
|
+
+ [min(history_df[OBJ_TOT].iloc[: i + 1]) for i in range(1, len(history_df))],
|
|
66
67
|
mode="lines+markers",
|
|
67
68
|
name="best objective",
|
|
68
69
|
line={"color": "#E4001B", "width": 4},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: amplify-bbopt
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: An Amplify-based library to facilitate black-box optimization
|
|
5
5
|
Author-email: Fixstars Amplify Corporation <y_matsuda@fixstars.com>
|
|
6
6
|
Maintainer-email: Yoshiki Matsuda <y_matsuda@fixstars.com>, Yuki Minamoto <yuki.minamoto@fixstars.com>
|
|
@@ -52,6 +52,7 @@ Requires-Dist: numpy
|
|
|
52
52
|
Requires-Dist: pandas
|
|
53
53
|
Requires-Dist: torch
|
|
54
54
|
Requires-Dist: plotly
|
|
55
|
+
Requires-Dist: nbformat>=4.2.0
|
|
55
56
|
|
|
56
57
|
# Amplify-BBOpt
|
|
57
58
|
|
|
@@ -60,8 +61,7 @@ Amplify-BBOpt is a Python package to facilitate the execution of black-box optim
|
|
|
60
61
|
- Documentation:
|
|
61
62
|
https://amplify.fixstars.com/docs/amplify-bbopt/v0/
|
|
62
63
|
- Contributing (bug reports, improvements):
|
|
63
|
-
https://amplify.fixstars.com/en/contact
|
|
64
|
-
https://github.com/fixstars/amplify-bbopt/issues
|
|
64
|
+
https://amplify.fixstars.com/en/contact
|
|
65
65
|
|
|
66
66
|
Amplify-BBOpt is built around the [Amplify SDK](https://amplify.fixstars.com/en/docs/amplify/). Annealing-based black-box optimization methods, FMQA and kernel-QA, are available in conjunction with quantum annealing machines and Ising machines (hence using Amplify SDK). Important features include (but not limited to):
|
|
67
67
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|