You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/python/ml-regression.md
+155-2Lines changed: 155 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,91 @@
1
-
# Regression
1
+
---
2
+
jupyter:
3
+
jupytext:
4
+
notebook_metadata_filter: all
5
+
text_representation:
6
+
extension: .md
7
+
format_name: markdown
8
+
format_version: '1.1'
9
+
jupytext_version: 1.1.1
10
+
kernelspec:
11
+
display_name: Python 3
12
+
language: python
13
+
name: python3
14
+
language_info:
15
+
codemirror_mode:
16
+
name: ipython
17
+
version: 3
18
+
file_extension: .py
19
+
mimetype: text/x-python
20
+
name: python
21
+
nbconvert_exporter: python
22
+
pygments_lexer: ipython3
23
+
version: 3.7.6
24
+
plotly:
25
+
description: Visualize regression in scikit-learn with Plotly
26
+
display_as: ai_ml
27
+
language: python
28
+
layout: base
29
+
name: ML Regression
30
+
order: 2
31
+
page_type: example_index
32
+
permalink: python/ml-regression/
33
+
thumbnail: thumbnail/knn-classification.png
34
+
---
2
35
36
+
## Basic linear regression
3
37
4
-
### Visualizing kNN Regression
38
+
This example shows how to train a simple linear regression from `sklearn` to predicts the tips servers will receive based on the value of the total bill (dataset is included in `px.data`).
0 commit comments