Skip to content

Commit aa88c04

Browse files
Update README.md
1 parent e6caa2c commit aa88c04

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,14 @@ Then, two closest sentences to the 0-numbered sentence were found as a result.
5858
Full code is available here: [Processing_Sentences.py](https://github.com/sichkar-valentyn/Machine_Learning_in_Python/tree/master/Codes/Processing_Sentences.py)
5959

6060
### <a name="Approximation of functions via linear equations">Approximation of functions via linear equations</a>
61-
Implementing the task for approximation of function with linear equations. Using first degree polynomial, second degree polynomial and third degree polynomial. Solving equations with matrix method via 'numpy.linalg.solve(a, b)' function.
61+
Implementing the task for approximation of function with linear equations. Using first degree polynomial, second degree polynomial and third degree polynomial. Solving equations with matrix method via **'numpy.linalg.solve(a, b)'** function.
6262

6363
Initial function is as following:
6464
<br/>**f(x) = sin(x / 5) * exp(x / 10) + 5 * exp(-x / 2)**
6565

6666
Points for first degree polynomials are: **1, 15**
6767
<br/>Points for second degree polynomials are: **1, 8, 15**
6868
<br/>Points for third degree polynomials are: **1, 4, 10, 15**
69-
7069
<br/><br/>Part of the code is shown below with a lot of comments:
7170

7271
```py
@@ -90,7 +89,7 @@ w = np.linalg.solve(a, b) # [ 3.43914511 -0.18692825]
9089

9190
Results are plot in order to understand the quality of approximation in eche case. Figure is shown below
9291

93-
![RGB_channels](images/RGB_channels.png)
92+
![Approximation_of_function](https://github.com/sichkar-valentyn/Machine_Learning_in_Python/tree/master/images/Approximation_of_function.png)
9493

9594
Full code is available here: [Function_approximation.py](https://github.com/sichkar-valentyn/Machine_Learning_in_Python/tree/master/Codes/Function_approximation.py)
9695

0 commit comments

Comments
 (0)