ViewTube

ViewTube
Sign inSign upSubscriptions
Filters

Upload date

Type

Duration

Sort by

Features

Reset

40 results

Python Libraries
scipy.interpolate.make_interp_spline: modern 1-D splines

scipy.interpolate.make_interp_spline: modern 1-D splines Returns a callable BSpline. k=3 is cubic. Extrapolation is a choice.

0:28
scipy.interpolate.make_interp_spline: modern 1-D splines

7 views

2w ago

Python Libraries
scipy.integrate.quad: integrate a Python function

scipy.integrate.quad: integrate a Python function Returns integral and error estimate. Singularities need points= or weight=.

0:27
scipy.integrate.quad: integrate a Python function

8 views

2w ago

Python Libraries
scipy.linalg.solve: Ax=b with SciPy's solvers

scipy.linalg.solve: Ax=b with SciPy's solvers Prefer solve over inv. assume_a= when you know structure. scipy.linalg.solve — one ...

0:28
scipy.linalg.solve: Ax=b with SciPy's solvers

7 views

2w ago

Python Libraries
scipy.optimize.minimize: find a minimum with a method you choose

scipy.optimize.minimize: find a minimum with a method you choose Pass fun, x0, method=. jac= helps. Check success before ...

0:41
scipy.optimize.minimize: find a minimum with a method you choose

40 views

2w ago

Python Libraries
scipy.stats.ttest_ind: two-sample t-test without Excel

scipy.stats.ttest_ind: two-sample t-test without Excel equal_var=False is Welch. p-value is not effect size. scipy.stats.ttest_ind ...

0:32
scipy.stats.ttest_ind: two-sample t-test without Excel

5 views

2w ago

Python Libraries
scipy.linalg.lstsq: least squares when A is rectangular

scipy.linalg.lstsq: least squares when A is rectangular Under/over-determined systems. Residuals tell you fit quality.

0:33
scipy.linalg.lstsq: least squares when A is rectangular

4 views

2w ago

Python Libraries
scipy.fft.fft: discrete Fourier transform

scipy.fft.fft: discrete Fourier transform Complex output. fftfreq labels bins. rfft for real input. scipy.fft.fft — one API, about 75 seconds.

0:28
scipy.fft.fft: discrete Fourier transform

4 views

13d ago

Python Libraries
scipy.special.expit: stable sigmoid

scipy.special.expit: stable sigmoid Prefer expit over hand-rolled 1/(1+exp(-x)). logit is the inverse. scipy.special.expit — one API, ...

0:27
scipy.special.expit: stable sigmoid

4 views

13d ago

Python Libraries
scipy.spatial.ConvexHull: convex envelope of points

scipy.spatial.ConvexHull: convex envelope of points vertices and simplices. Degenerate inputs raise QhullError. scipy.spatial.

0:27
scipy.spatial.ConvexHull: convex envelope of points

2 views

13d ago

Python Libraries
scipy.signal.butter: design a Butterworth filter

scipy.signal.butter: design a Butterworth filter Returns ba or sos. Prefer sos for stability. Wn is normalized to Nyquist unless fs=.

0:31
scipy.signal.butter: design a Butterworth filter

6 views

13d ago

Python Libraries
scipy.stats.bootstrap: confidence intervals without a formula

scipy.stats.bootstrap: confidence intervals without a formula Pass data and statistic. method= and confidence_level= matter.

0:25
scipy.stats.bootstrap: confidence intervals without a formula

26 views

13d ago

Python Libraries
scipy.stats.pearsonr: linear correlation and its p-value

scipy.stats.pearsonr: linear correlation and its p-value r near 0 is not "independent". Outliers own Pearson. Spearman for ranks.

0:30
scipy.stats.pearsonr: linear correlation and its p-value

3 views

2w ago

Python Libraries
scipy.io.loadmat: read MATLAB .mat into Python

scipy.io.loadmat: read MATLAB .mat into Python Returns a dict. squeeze_me and struct_as_record shape the pain.

0:26
scipy.io.loadmat: read MATLAB .mat into Python

13 views

12d ago

Python Libraries
scipy.signal.sosfiltfilt: zero-phase filter forward and back

scipy.signal.sosfiltfilt: zero-phase filter forward and back No phase distortion. Not for realtime. Pair with butter(sos).

0:27
scipy.signal.sosfiltfilt: zero-phase filter forward and back

25 views

13d ago

Python Libraries
scipy.optimize.curve_fit: fit a parametric curve to data

scipy.optimize.curve_fit: fit a parametric curve to data Returns popt and pcov. Bounds= stop wild parameters. Scale your x.

0:36
scipy.optimize.curve_fit: fit a parametric curve to data

10 views

2w ago

Python Libraries
scipy.stats.norm: pdf, cdf, ppf for the Gaussian

scipy.stats.norm: pdf, cdf, ppf for the Gaussian loc and scale are mean and std. ppf is the inverse cdf. scipy.stats.norm — one API, ...

0:31
scipy.stats.norm: pdf, cdf, ppf for the Gaussian

5 views

2w ago

Python Libraries
scipy.stats.spearmanr: rank correlation when shapes are weird

scipy.stats.spearmanr: rank correlation when shapes are weird Monotonic, not linear. Ties matter. Still not causation.

0:29
scipy.stats.spearmanr: rank correlation when shapes are weird

0 views

2w ago

Python Libraries
scipy.signal.find_peaks: pick peaks with prominence

scipy.signal.find_peaks: pick peaks with prominence height, distance, prominence beat a raw argmax loop.

0:24
scipy.signal.find_peaks: pick peaks with prominence

12 views

13d ago

Python Libraries
scipy.sparse.csr_matrix: store mostly-zeros without melting RAM

scipy.sparse.csr_matrix: store mostly-zeros without melting RAM CSR loves row slices and matvecs. Build with coo then convert.

0:29
scipy.sparse.csr_matrix: store mostly-zeros without melting RAM

4 views

13d ago

Python Libraries
scipy.optimize.root: solve f(x)=0 in N dimensions

scipy.optimize.root: solve f(x)=0 in N dimensions method= hybr or lm. Need a residual vector. Check success. scipy.optimize.root ...

0:27
scipy.optimize.root: solve f(x)=0 in N dimensions

11 views

13d ago