[pre-commit.ci] pre-commit autoupdate (#7387) · zinating/algorithms-python@0c7c5fa · GitHub
Skip to content

Commit 0c7c5fa

Browse files
pre-commit-ci[bot]github-actionscclauss
authored
[pre-commit.ci] pre-commit autoupdate (TheAlgorithms#7387)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/asottile/pyupgrade: v3.0.0 → v3.1.0](asottile/pyupgrade@v3.0.0...v3.1.0) - [github.com/codespell-project/codespell: v2.2.1 → v2.2.2](codespell-project/codespell@v2.2.1...v2.2.2) * updating DIRECTORY.md * Fix typo discovered by codespell * Fix typo discovered by codespell * Update .pre-commit-config.yaml * Update .pre-commit-config.yaml * Update .pre-commit-config.yaml Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Co-authored-by: Christian Clauss <cclauss@me.com>
1 parent a34b756 commit 0c7c5fa

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions

DIRECTORY.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,7 @@
642642
* [Tower Of Hanoi](other/tower_of_hanoi.py)
643643

644644
## Physics
645+
* [Casimir Effect](physics/casimir_effect.py)
645646
* [Horizontal Projectile Motion](physics/horizontal_projectile_motion.py)
646647
* [Lorentz Transformation Four Vector](physics/lorentz_transformation_four_vector.py)
647648
* [N Body Simulation](physics/n_body_simulation.py)
@@ -928,6 +929,7 @@
928929
* [Deutsch Jozsa](quantum/deutsch_jozsa.py)
929930
* [Half Adder](quantum/half_adder.py)
930931
* [Not Gate](quantum/not_gate.py)
932+
* [Q Full Adder](quantum/q_full_adder.py)
931933
* [Quantum Entanglement](quantum/quantum_entanglement.py)
932934
* [Ripple Adder Classic](quantum/ripple_adder_classic.py)
933935
* [Single Qubit Measure](quantum/single_qubit_measure.py)

machine_learning/local_weighted_learning/local_weighted_learning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This training phase is possible when data points are linear, but there again com
2929
So, here comes the role of non-parametric algorithm which doesn't compute predictions based on fixed set of params. Rather parameters $\theta$ are computed individually for each query point/data point x.
3030
<br />
3131
<br />
32-
While Computing $\theta$ , a higher "preferance" is given to points in the vicinity of x than points farther from x.
32+
While Computing $\theta$ , a higher preference is given to points in the vicinity of x than points farther from x.
3333

3434
Cost Function J($\theta$) = $\sum_{i=1}^m$ $w^i$ (($\theta$)$^T$ $x^i$ - $y^i$)$^2$
3535

maths/is_square_free.py

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)