The Wayback Machine - http://web.archive.org/web/20211026013410/https://github.com/topics/algorithms?l=python
Skip to content
#

algorithms

Algorithms are detailed sets of guidelines created for a computer program to complete tasks efficiently and thoroughly.

Here are 3,391 public repositories matching this topic...

poldap
poldap commented Aug 2, 2021

scipy.signal.bspline gives zero output for integer types. This also affects quadratic and cubic.

Reproducing code example:

An example of an incorrect result

>>> from scipy.signal import bspline, quadratic, cubic
>>> bspline(np.array([-3,-2,-1,0,1,2,3]), 6)
array([0, 0, 0, 0, 0, 0, 0])

What was expected

>>> bspline(np.array([-3,-2,-1,0,1,2,3]).astype(float), 6)
array
annoviko
annoviko commented Oct 23, 2020

Introduction
As a tester or developer, I want to have correct answer for Hepta FCPS sample so that I can use it in test scenarios to improve quality of the library.

Acceptance Criteria

  • Introduce Hepta.answer that will contain cluster labels for points from Hepta.data.
  • Add Hepta.answer to definitions.
Wikipedia
Wikipedia