Sigmoid & Hyperbolic Operations
The APOC library provides a set of functions useful for machine learning purposes.
These functions return a double value.
Functions for sigmoid and hyperbolic operations
| Qualified Name | Type | 
|---|---|
| 
 | Function Deprecated in Cypher 25 | 
| 
 | Function Deprecated in Cypher 25 | 
| 
 | Function | 
| 
 | Function | 
| 
 | Function | 
| 
 | Function | 
| 
 | Function Deprecated in Cypher 25 | 
| 
 | Function Deprecated in Cypher 25 | 
Examples
RETURN apoc.math.csch(1.5) AS output;| Output | 
|---|
| 0.47 | 
RETURN apoc.math.sech(1.5) AS output;| Output | 
|---|
| 0.43 | 
RETURN apoc.math.cosh(1.5) AS output;| Output | 
|---|
| 2.35 | 
RETURN apoc.math.sinh(1.5) AS output;| Output | 
|---|
| 2.13 | 
RETURN apoc.math.coth(3.5) AS output;| Output | 
|---|
| 1.00 | 
RETURN apoc.math.tanh(1.5) AS output;| Output | 
|---|
| 0.90 | 
RETURN apoc.math.sigmoidPrime(2.5) AS output;| Output | 
|---|
| 0.70 | 
RETURN apoc.math.sigmoidPrime(2.5) AS output;| Output | 
|---|
| 0.92 |