Skip to content

Commit 5e81b1b

Browse files
manvith2003kgrytegunjjoshi
authored
chore: add structured package data for math/base/special/expit
PR-URL: #8209 Ref: #7924 Co-authored-by: Athan Reines <[email protected]> Reviewed-by: Athan Reines <[email protected]> Co-authored-by: Gunj Joshi <[email protected]> Reviewed-by: Gunj Joshi <[email protected]>
1 parent 8eafaaa commit 5e81b1b

File tree

1 file changed

+80
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/expit

1 file changed

+80
-1
lines changed

lib/node_modules/@stdlib/math/base/special/expit/package.json

Lines changed: 80 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,84 @@
6464
"log-odds",
6565
"sigmoid",
6666
"special"
67-
]
67+
],
68+
"__stdlib__": {
69+
"scaffold": {
70+
"$schema": "math/[email protected]",
71+
"base_alias": "expit",
72+
"alias": "expit",
73+
"pkg_desc": "evaluate the standard logistic function for a double-precision floating-point number",
74+
"desc": "evaluates the standard logistic function for a double-precision floating-point number",
75+
"short_desc": "standard logistic function",
76+
"parameters": [
77+
{
78+
"name": "x",
79+
"desc": "input value",
80+
"type": {
81+
"javascript": "number",
82+
"jsdoc": "number",
83+
"c": "double",
84+
"dtype": "float64"
85+
},
86+
"domain": [
87+
{
88+
"min": "-infinity",
89+
"max": "infinity"
90+
}
91+
],
92+
"rand": {
93+
"prng": "random/base/uniform",
94+
"parameters": [
95+
-5,
96+
5
97+
]
98+
},
99+
"example_values": [
100+
-4.62,
101+
3.17,
102+
-2.41,
103+
1.28,
104+
-0.73,
105+
2.56,
106+
-3.09,
107+
0.41,
108+
4.12,
109+
-1.85,
110+
2.93,
111+
-4.37,
112+
1.67,
113+
-0.28,
114+
3.74,
115+
-2.96,
116+
0.83,
117+
-1.12,
118+
4.89,
119+
-3.51
120+
]
121+
}
122+
],
123+
"output_policy": "real_floating_point_and_generic",
124+
"returns": {
125+
"desc": "function value",
126+
"type": {
127+
"javascript": "number",
128+
"jsdoc": "number",
129+
"c": "double",
130+
"dtype": "float64"
131+
}
132+
},
133+
"keywords": [
134+
"logit",
135+
"inverse",
136+
"expit",
137+
"logistic",
138+
"proportion",
139+
"log-odds",
140+
"sigmoid"
141+
],
142+
"extra_keywords": [
143+
"math.exp"
144+
]
145+
}
146+
}
68147
}

0 commit comments

Comments
 (0)