mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00:00
Get rid of the Union (#6246)
* Get rid of the Union * updating DIRECTORY.md * Get rid of the Union * Remove the redundant pre-commit runs. Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
parent
ba129de7f3
commit
dad789d903
6
.github/workflows/pre-commit.yml
vendored
6
.github/workflows/pre-commit.yml
vendored
|
@ -1,6 +1,10 @@
|
|||
name: pre-commit
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
pre-commit:
|
||||
|
|
|
@ -444,6 +444,7 @@
|
|||
* [Scoring Functions](machine_learning/scoring_functions.py)
|
||||
* [Sequential Minimum Optimization](machine_learning/sequential_minimum_optimization.py)
|
||||
* [Similarity Search](machine_learning/similarity_search.py)
|
||||
* [Support Vector Machines](machine_learning/support_vector_machines.py)
|
||||
* [Word Frequency Functions](machine_learning/word_frequency_functions.py)
|
||||
|
||||
## Maths
|
||||
|
|
|
@ -44,9 +44,8 @@ Find the sum of FITs for the BOPs.
|
|||
from __future__ import annotations
|
||||
|
||||
from collections.abc import Callable
|
||||
from typing import Union
|
||||
|
||||
Matrix = list[list[Union[float, int]]]
|
||||
Matrix = list[list[float | int]]
|
||||
|
||||
|
||||
def solve(matrix: Matrix, vector: Matrix) -> Matrix:
|
||||
|
|
Loading…
Reference in New Issue
Block a user