Say you have one dataset as given below.
When you fit these data into your model, it will take an experience from your dataset and internally it will find some parameters like bias and weights. Now if you give some new data to your model, say if someone has experience 2.5, how much salary he/she will get. That time your model automatically finds the salary using the bias and weights.
Advantages of inner class:
Logical grouping of classes: ...READ MORE
join() method is used to concatenate or ...READ MORE
The main purpose of anonymous functions come ...READ MORE
The hash() method returns the hash value of an object if it ...READ MORE
When an error occurs, or exception as ...READ MORE
By specifying #!/usr/bin/python you specify exactly ...READ MORE
You can also use the random library's ...READ MORE
colors = ['red', 'green', ...READ MORE
Enumerate() method adds a counter to an ...READ MORE
The predict() function returns a plain numpy ...READ MORE
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.