## Tuesday, June 23, 2020

### THOUGHT AND CHARACTER

• A man is literally what he thinks, his character being the complete sum of all his thoughts.
• Every act of man springs from the hidden seeds of thought, and could not have appeared without them.

## Human-AI Interaction Design Guidelines

```
INITIALLY
01 Make clear what the system can do.

Help the user understand what the AI system is capable of doing.

02 Make clear how well the system can do what it can do.

Help the user understand how often the AI system may make mistakes.

```

## Wednesday, February 5, 2020

### Machine Learning workflow

Machine Learning Workflow consists of 3 components

• Explore and process data
• Modeling
• Deployment

## Wednesday, January 29, 2020

### Error functions

• In most learning networks, error is calculated as the difference between the actual output and the predicted output.
• The error function is which tells us how far are we from the solution.
• The function that is used to compute this error is known as loss function.
• Different loss functions will give different errors for the same prediction and thus would have a considerable effort on the performance of the model.

### Canny edge detector

The Canny edge detector is an edge detection operator that uses a multi-stage algorithm to detect a wide range of edges in images. It was developed by John F. Canny in 1986. Canny also produced a computational theory of edge detection explaining why the technique works.

### Grayscale to RGB conversion

we will convert an color image into a grayscale image. There are two methods to convert it. Both has their own merits and demerits. The methods are:
• Average method
• Weighted method or luminosity method
• using skimage

## Average method

Average method is the most simple one. You just have to take the average of three colors. Since its an RGB image, so it means that you have add r with g with b and then divide it by 3 to get your desired grayscale image.
Its done in this way.
Grayscale = (R + G + B / 3)

### pyplot

`matplotlib.pyplot`
Provides a MATLAB-like plotting framework.
`pylab` combines pyplot with numpy into a single namespace. This is convenient for interactive work, but for programming it is recommended that the namespaces be kept separate, e.g.:
```import numpy as np
import matplotlib.pyplot as plt

x = np.arange(0, 5, 0.1);
y = np.sin(x)
plt.plot(x, y)
```