Fix DeprecationWarning in local_weighted_learning.py
diff --git a/machine_learning/local_weighted_learning/local_weighted_learning.py b/machine_learning/local_weighted_learning/local_weighted_learning.py
index 8dd0e55d41df..ada6f7cd2520 100644
--- a/machine_learning/local_weighted_learning/local_weighted_learning.py
+++ b/machine_learning/local_weighted_learning/local_weighted_learning.py
@@ -122,7 +122,7 @@ def local_weight_regression(
     """
     y_pred = np.zeros(len(x_train))  # Initialize array of predictions
     for i, item in enumerate(x_train):
-        y_pred[i] = item @ local_weight(item, x_train, y_train, tau)
+        y_pred[i] = np.dot(item, local_weight(item, x_train, y_train, tau))
 
     return y_pred
 

### Describe your change:

Recent build logs (e.g., [this one](https://github.com/TheAlgorithms/Python/actions/runs/6367653954/job/17286407238#step:6:750)) show that `machine_learning/local_weighted_learning/local_weighted_learning.py` produces a DeprecationWarning:
```
machine_learning/local_weighted_learning/local_weighted_learning.py::machine_learning.local_weighted_learning.local_weighted_learning.local_weight_regression
machine_learning/local_weighted_learning/local_weighted_learning.py::machine_learning.local_weighted_learning.local_weighted_learning.local_weight_regression
machine_learning/local_weighted_learning/local_weighted_learning.py::machine_learning.local_weighted_learning.local_weighted_learning.local_weight_regression
  /home/runner/work/Python/Python/machine_learning/local_weighted_learning/local_weighted_learning.py:125: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
    y_pred[i] = item @ local_weight(item, x_train, y_train, tau)
```
This warning occurs because the output of `@`, which is an `np.ndarray`, is being implicitly converted to a scalar. This PR replaces `@` with `np.dot()` to resolve this warning.

* [ ] Add an algorithm?
* [x] Fix a bug or typo in an existing algorithm?
* [ ] Documentation change?

### Checklist:
* [x] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md).
* [x] This pull request is all my own work -- I have not plagiarized.
* [x] I know that pull requests will not be merged if they fail the automated tests.
* [x] This PR only changes one algorithm file.  To ease review, please open separate PRs for separate algorithms.
* [ ] All new Python files are placed inside an existing directory.
* [ ] All filenames are in all lowercase characters with no spaces or dashes.
* [ ] All functions and variable names follow Python naming conventions.
* [ ] All function parameters and return values are annotated with Python [type hints](https://docs.python.org/3/library/typing.html).
* [ ] All functions have [doctests](https://docs.python.org/3/library/doctest.html) that pass the automated testing.
* [ ] All new algorithms include at least one URL that points to Wikipedia or another similar explanation.
* [ ] If this pull request resolves one or more open issues then the description above includes the issue number(s) with a [closing keyword](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue): "Fixes #ISSUE-NUMBER".
