functioneer 0.4.1__tar.gz → 0.4.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.
- {functioneer-0.4.1/src/functioneer.egg-info → functioneer-0.4.2}/PKG-INFO +15 -15
- {functioneer-0.4.1 → functioneer-0.4.2}/README.md +14 -14
- {functioneer-0.4.1 → functioneer-0.4.2}/pyproject.toml +1 -1
- {functioneer-0.4.1 → functioneer-0.4.2}/src/functioneer/__init__.py +1 -1
- {functioneer-0.4.1 → functioneer-0.4.2/src/functioneer.egg-info}/PKG-INFO +15 -15
- {functioneer-0.4.1 → functioneer-0.4.2}/LICENSE +0 -0
- {functioneer-0.4.1 → functioneer-0.4.2}/setup.cfg +0 -0
- {functioneer-0.4.1 → functioneer-0.4.2}/src/functioneer/analysis.py +0 -0
- {functioneer-0.4.1 → functioneer-0.4.2}/src/functioneer/parameter.py +0 -0
- {functioneer-0.4.1 → functioneer-0.4.2}/src/functioneer/steps.py +0 -0
- {functioneer-0.4.1 → functioneer-0.4.2}/src/functioneer/util.py +0 -0
- {functioneer-0.4.1 → functioneer-0.4.2}/src/functioneer.egg-info/SOURCES.txt +0 -0
- {functioneer-0.4.1 → functioneer-0.4.2}/src/functioneer.egg-info/dependency_links.txt +0 -0
- {functioneer-0.4.1 → functioneer-0.4.2}/src/functioneer.egg-info/requires.txt +0 -0
- {functioneer-0.4.1 → functioneer-0.4.2}/src/functioneer.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: functioneer
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.2
|
|
4
4
|
Summary: Effortlessly explore function behavior with the ultimate batch runner.
|
|
5
5
|
Author-email: Quinn Marsh <quinnmarsh@hotmail.com>
|
|
6
6
|
Maintainer-email: Quinn Marsh <quinnmarsh@hotmail.com>
|
|
@@ -41,7 +41,7 @@ Functioneer is the ultimate batch runner. Prepare to be an analysis ninja, effor
|
|
|
41
41
|
|
|
42
42
|
## Quick Start
|
|
43
43
|
|
|
44
|
-
**Full set of examples**: [Examples.ipynb (
|
|
44
|
+
**Full set of examples**: [Examples.ipynb (nbviewer.org)](https://nbviewer.org/github/qthedoc/functioneer/blob/main/examples/Examples.ipynb)*\
|
|
45
45
|
*This is currently the main form of documentation.
|
|
46
46
|
|
|
47
47
|
### Installation
|
|
@@ -67,12 +67,12 @@ def rosenbrock(x, y, a, b):
|
|
|
67
67
|
Note: forks for `x` and `y` create a 'grid' of values\
|
|
68
68
|
Note: Parameter IDs MUST match your function's args, function evals inside functioneer are fully keyword arg based.
|
|
69
69
|
```
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
results =
|
|
70
|
+
analysis = fn.AnalysisModule() # Create new analysis
|
|
71
|
+
analysis.add.define({'a': 1, 'b': 100}) # define a and b
|
|
72
|
+
analysis.add.fork('x', (0, 1, 2)) # Fork analysis, create branches for x=0, x=1, x=2
|
|
73
|
+
analysis.add.fork('y', (1, 10))
|
|
74
|
+
analysis.add.execute(func=rosenbrock) #
|
|
75
|
+
results = analysis.run()
|
|
76
76
|
print('Example 1 Output:')
|
|
77
77
|
print(results['df'][['a', 'b', 'x', 'y', 'rosenbrock']])
|
|
78
78
|
```
|
|
@@ -93,11 +93,11 @@ Example 1 Output:
|
|
|
93
93
|
|
|
94
94
|
Note: values for `x` and `y` before optimization are used as initial guesses
|
|
95
95
|
```
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
results =
|
|
96
|
+
analysis = fn.AnalysisModule({'x': 0, 'y': 0})
|
|
97
|
+
analysis.add.fork('a', (1, 2))
|
|
98
|
+
analysis.add.fork('b', (0, 100, 200))
|
|
99
|
+
analysis.add.optimize(func=rosenbrock, opt_param_ids=('x', 'y'))
|
|
100
|
+
results = analysis.run()
|
|
101
101
|
print('\nExample 2 Output:')
|
|
102
102
|
print(results['df'][['a', 'b', 'x', 'y', 'rosenbrock']])
|
|
103
103
|
```
|
|
@@ -113,9 +113,9 @@ Example 2 Output:
|
|
|
113
113
|
```
|
|
114
114
|
## Key Features
|
|
115
115
|
|
|
116
|
-
- **
|
|
116
|
+
- **Quickly test variations of a parameter with a single line of code:** Avoid writing deeply nested loops. Typically varying *n* parameters requires *n* nested loops... not anymore!
|
|
117
117
|
|
|
118
|
-
- **Quickly
|
|
118
|
+
- **Quickly setup optimization:** Most optimization libraries require your function to take in and spit out a list or array, BUT this makes it very annoying to remap your parameters to and from the array each time you simple want to add/rm/swap an optimization parameter!
|
|
119
119
|
|
|
120
120
|
- **Get results in a consistent easy to use format:** No more questions, the results are presented in a nice clean pandas data frame every time.
|
|
121
121
|
|
|
@@ -10,7 +10,7 @@ Functioneer is the ultimate batch runner. Prepare to be an analysis ninja, effor
|
|
|
10
10
|
|
|
11
11
|
## Quick Start
|
|
12
12
|
|
|
13
|
-
**Full set of examples**: [Examples.ipynb (
|
|
13
|
+
**Full set of examples**: [Examples.ipynb (nbviewer.org)](https://nbviewer.org/github/qthedoc/functioneer/blob/main/examples/Examples.ipynb)*\
|
|
14
14
|
*This is currently the main form of documentation.
|
|
15
15
|
|
|
16
16
|
### Installation
|
|
@@ -36,12 +36,12 @@ def rosenbrock(x, y, a, b):
|
|
|
36
36
|
Note: forks for `x` and `y` create a 'grid' of values\
|
|
37
37
|
Note: Parameter IDs MUST match your function's args, function evals inside functioneer are fully keyword arg based.
|
|
38
38
|
```
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
results =
|
|
39
|
+
analysis = fn.AnalysisModule() # Create new analysis
|
|
40
|
+
analysis.add.define({'a': 1, 'b': 100}) # define a and b
|
|
41
|
+
analysis.add.fork('x', (0, 1, 2)) # Fork analysis, create branches for x=0, x=1, x=2
|
|
42
|
+
analysis.add.fork('y', (1, 10))
|
|
43
|
+
analysis.add.execute(func=rosenbrock) #
|
|
44
|
+
results = analysis.run()
|
|
45
45
|
print('Example 1 Output:')
|
|
46
46
|
print(results['df'][['a', 'b', 'x', 'y', 'rosenbrock']])
|
|
47
47
|
```
|
|
@@ -62,11 +62,11 @@ Example 1 Output:
|
|
|
62
62
|
|
|
63
63
|
Note: values for `x` and `y` before optimization are used as initial guesses
|
|
64
64
|
```
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
results =
|
|
65
|
+
analysis = fn.AnalysisModule({'x': 0, 'y': 0})
|
|
66
|
+
analysis.add.fork('a', (1, 2))
|
|
67
|
+
analysis.add.fork('b', (0, 100, 200))
|
|
68
|
+
analysis.add.optimize(func=rosenbrock, opt_param_ids=('x', 'y'))
|
|
69
|
+
results = analysis.run()
|
|
70
70
|
print('\nExample 2 Output:')
|
|
71
71
|
print(results['df'][['a', 'b', 'x', 'y', 'rosenbrock']])
|
|
72
72
|
```
|
|
@@ -82,9 +82,9 @@ Example 2 Output:
|
|
|
82
82
|
```
|
|
83
83
|
## Key Features
|
|
84
84
|
|
|
85
|
-
- **
|
|
85
|
+
- **Quickly test variations of a parameter with a single line of code:** Avoid writing deeply nested loops. Typically varying *n* parameters requires *n* nested loops... not anymore!
|
|
86
86
|
|
|
87
|
-
- **Quickly
|
|
87
|
+
- **Quickly setup optimization:** Most optimization libraries require your function to take in and spit out a list or array, BUT this makes it very annoying to remap your parameters to and from the array each time you simple want to add/rm/swap an optimization parameter!
|
|
88
88
|
|
|
89
89
|
- **Get results in a consistent easy to use format:** No more questions, the results are presented in a nice clean pandas data frame every time.
|
|
90
90
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "functioneer"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.2"
|
|
8
8
|
authors = [{ name = "Quinn Marsh", email = "quinnmarsh@hotmail.com" }]
|
|
9
9
|
maintainers = [{ name = "Quinn Marsh", email = "quinnmarsh@hotmail.com" }]
|
|
10
10
|
description = "Effortlessly explore function behavior with the ultimate batch runner."
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: functioneer
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.2
|
|
4
4
|
Summary: Effortlessly explore function behavior with the ultimate batch runner.
|
|
5
5
|
Author-email: Quinn Marsh <quinnmarsh@hotmail.com>
|
|
6
6
|
Maintainer-email: Quinn Marsh <quinnmarsh@hotmail.com>
|
|
@@ -41,7 +41,7 @@ Functioneer is the ultimate batch runner. Prepare to be an analysis ninja, effor
|
|
|
41
41
|
|
|
42
42
|
## Quick Start
|
|
43
43
|
|
|
44
|
-
**Full set of examples**: [Examples.ipynb (
|
|
44
|
+
**Full set of examples**: [Examples.ipynb (nbviewer.org)](https://nbviewer.org/github/qthedoc/functioneer/blob/main/examples/Examples.ipynb)*\
|
|
45
45
|
*This is currently the main form of documentation.
|
|
46
46
|
|
|
47
47
|
### Installation
|
|
@@ -67,12 +67,12 @@ def rosenbrock(x, y, a, b):
|
|
|
67
67
|
Note: forks for `x` and `y` create a 'grid' of values\
|
|
68
68
|
Note: Parameter IDs MUST match your function's args, function evals inside functioneer are fully keyword arg based.
|
|
69
69
|
```
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
results =
|
|
70
|
+
analysis = fn.AnalysisModule() # Create new analysis
|
|
71
|
+
analysis.add.define({'a': 1, 'b': 100}) # define a and b
|
|
72
|
+
analysis.add.fork('x', (0, 1, 2)) # Fork analysis, create branches for x=0, x=1, x=2
|
|
73
|
+
analysis.add.fork('y', (1, 10))
|
|
74
|
+
analysis.add.execute(func=rosenbrock) #
|
|
75
|
+
results = analysis.run()
|
|
76
76
|
print('Example 1 Output:')
|
|
77
77
|
print(results['df'][['a', 'b', 'x', 'y', 'rosenbrock']])
|
|
78
78
|
```
|
|
@@ -93,11 +93,11 @@ Example 1 Output:
|
|
|
93
93
|
|
|
94
94
|
Note: values for `x` and `y` before optimization are used as initial guesses
|
|
95
95
|
```
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
results =
|
|
96
|
+
analysis = fn.AnalysisModule({'x': 0, 'y': 0})
|
|
97
|
+
analysis.add.fork('a', (1, 2))
|
|
98
|
+
analysis.add.fork('b', (0, 100, 200))
|
|
99
|
+
analysis.add.optimize(func=rosenbrock, opt_param_ids=('x', 'y'))
|
|
100
|
+
results = analysis.run()
|
|
101
101
|
print('\nExample 2 Output:')
|
|
102
102
|
print(results['df'][['a', 'b', 'x', 'y', 'rosenbrock']])
|
|
103
103
|
```
|
|
@@ -113,9 +113,9 @@ Example 2 Output:
|
|
|
113
113
|
```
|
|
114
114
|
## Key Features
|
|
115
115
|
|
|
116
|
-
- **
|
|
116
|
+
- **Quickly test variations of a parameter with a single line of code:** Avoid writing deeply nested loops. Typically varying *n* parameters requires *n* nested loops... not anymore!
|
|
117
117
|
|
|
118
|
-
- **Quickly
|
|
118
|
+
- **Quickly setup optimization:** Most optimization libraries require your function to take in and spit out a list or array, BUT this makes it very annoying to remap your parameters to and from the array each time you simple want to add/rm/swap an optimization parameter!
|
|
119
119
|
|
|
120
120
|
- **Get results in a consistent easy to use format:** No more questions, the results are presented in a nice clean pandas data frame every time.
|
|
121
121
|
|
|
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
|