- Regression Intro - Practical Machine Learning Tutorial with Python p.2

Regression Intro - Practical Machine Learning Tutorial with Python p.2

To begin, what is regression in terms of us using it with machine learning? The goal is to take continuous data, find the equation that best fits the data, and be able forecast out a specific value. With simple linear regression, you are just simply doing this by creating a best fit line.

From h...
To begin, what is regression in terms of us using it with machine learning? The goal is to take continuous data, find the equation that best fits the data, and be able forecast out a specific value. With simple linear regression, you are just simply doing this by creating a best fit line.

From here, we can use the equation of that line to forecast out into the future, where the 'date' is the x-axis, what the price will be.

A popular use with regression is to predict stock prices. This is done because we are considering the fluidity of price over time, and attempting to forecast the next fluid price in the future using a continuous dataset.

Regression is a form of supervised machine learning, which is where the scientist teaches the machine by showing it features and then showing it was the correct answer is, over and over, to teach the machine. Once the machine is taught, the scientist will usually "test" the machine on some unseen data, where the scientist still knows what the correct answer is, but the machine doesn't. The machine's answers are compared to the known answers, and the machine's accuracy can be measured. If the accuracy is high enough, the scientist may consider actually employing the algorithm in the real world.

https://pythonprogramming.net
https://twitter.com/sentdex
https://www.facebook.com/pythonprogramming.net/
https://plus.google.com/+sentdex

#machine learning #python #tutorial #artificial intelligence #scikit-learn #theano #tensorflow #regression #linear regression #linear regression code #supervised machine learning
sentdex: "as you might remember from school"me thinking :  im in 6th class not even finished school! - Regression Intro - Practical Machine Learning Tutorial with Python p.2

sentdex: "as you might remember from school"me thinking : im in 6th class not even finished school!

Regression Intro - Practical Machine Learning Tutorial with Python p.2
2016年04月11日
00:01:01 - 00:10:58
.c5fed8, Oct  3 2017, 18:11:49) [MSC v.1900 64 bit (AMD64)] on win32Type "copyright", "credits" or "license()" for more information.>>>=== RESTART: C:/Users/Userr/AppData/Local/Programs/Python/Python36/test.py ===Traceback (most recent call last):File "C:/Users/Userr/AppData/Local/Programs/Python/Python36/test.py", line 1, in <module>import pandas as pdModuleNotFoundError: No module named 'pandas'>>> - Regression Intro - Practical Machine Learning Tutorial with Python p.2

.c5fed8, Oct 3 2017, 18:11:49) [MSC v.1900 64 bit (AMD64)] on win32Type "copyright", "credits" or "license()" for more information.>>>=== RESTART: C:/Users/Userr/AppData/Local/Programs/Python/Python36/test.py ===Traceback (most recent call last):File "C:/Users/Userr/AppData/Local/Programs/Python/Python36/test.py", line 1, in <module>import pandas as pdModuleNotFoundError: No module named 'pandas'>>>

Regression Intro - Practical Machine Learning Tutorial with Python p.2
2016年04月11日
00:03:02 - 00:10:58
followed along at  (as quandl.com didnt give me a code just showed a table to typed everything you did). Ran it and got the following:Traceback (most recent call last):File "C:/Users/T/AppData/Local/Programs/Python/Python36-32/video regression intro and data.py", line 1, in <module>import pandas as pdModuleNotFoundError: No module named 'pandas' - Regression Intro - Practical Machine Learning Tutorial with Python p.2

followed along at (as quandl.com didnt give me a code just showed a table to typed everything you did). Ran it and got the following:Traceback (most recent call last):File "C:/Users/T/AppData/Local/Programs/Python/Python36-32/video regression intro and data.py", line 1, in <module>import pandas as pdModuleNotFoundError: No module named 'pandas'

Regression Intro - Practical Machine Learning Tutorial with Python p.2
2016年04月11日
00:03:23 - 00:10:58
and what did he press at  so that the python shell opens up? - Regression Intro - Practical Machine Learning Tutorial with Python p.2

and what did he press at so that the python shell opens up?

Regression Intro - Practical Machine Learning Tutorial with Python p.2
2016年04月11日
00:03:28 - 00:10:58
If you know how to use every little data provided, you can make better and more accurate predictions right? - Regression Intro - Practical Machine Learning Tutorial with Python p.2

If you know how to use every little data provided, you can make better and more accurate predictions right?

Regression Intro - Practical Machine Learning Tutorial with Python p.2
2016年04月11日
00:03:59 - 00:10:58
O.H.L.C.A. Prices, volume, and the averages - Regression Intro - Practical Machine Learning Tutorial with Python p.2

O.H.L.C.A. Prices, volume, and the averages

Regression Intro - Practical Machine Learning Tutorial with Python p.2
2016年04月11日
00:04:28 - 00:10:58
Why is the Split Ratio 1.0 when the Price is roughly twice the Adj. Price? - Regression Intro - Practical Machine Learning Tutorial with Python p.2

Why is the Split Ratio 1.0 when the Price is roughly twice the Adj. Price?

Regression Intro - Practical Machine Learning Tutorial with Python p.2
2016年04月11日
00:04:43 - 00:10:58
@ you said with deep learning you can discover the relationships between attributes but not with regression. Why? Regression is all about assessing the strength between relationships no? - Regression Intro - Practical Machine Learning Tutorial with Python p.2

@ you said with deep learning you can discover the relationships between attributes but not with regression. Why? Regression is all about assessing the strength between relationships no?

Regression Intro - Practical Machine Learning Tutorial with Python p.2
2016年04月11日
00:05:00 - 00:10:58
: In creating features, shouldn't High-Low percentage be 'High - Low' instead of 'High - Close'. Just an observation. - Regression Intro - Practical Machine Learning Tutorial with Python p.2

: In creating features, shouldn't High-Low percentage be 'High - Low' instead of 'High - Close'. Just an observation.

Regression Intro - Practical Machine Learning Tutorial with Python p.2
2016年04月11日
00:07:32 - 00:10:58
don't you think that in   HLP should be ( High - Low )/ low not as you wrote(High-CLOSE)/CLOSE - Regression Intro - Practical Machine Learning Tutorial with Python p.2

don't you think that in HLP should be ( High - Low )/ low not as you wrote(High-CLOSE)/CLOSE

Regression Intro - Practical Machine Learning Tutorial with Python p.2
2016年04月11日
00:08:12 - 00:10:58
) to what is shown at  in this video.  Huh. - Regression Intro - Practical Machine Learning Tutorial with Python p.2

) to what is shown at in this video. Huh.

Regression Intro - Practical Machine Learning Tutorial with Python p.2
2016年04月11日
00:10:20 - 00:10:58
sentdex

sentdex

🎉 1,100,000 人達成! 🎉

【予測】200万人まであと2520日(2029年8月31日)

チャンネル登録 RSS
Python Programming tutorials, going further than just the basics. Learn about machine learning, finance, data analysis, robotics, web development, game development and more.

I have ~1000 videos, all of which do not fit on the front page. Try searching on the channel page, or via https://pythonpr...
Python Programming tutorials, going further than just the basics. Learn about machine learning, finance, data analysis, robotics, web development, game development and more.

I have ~1000 videos, all of which do not fit on the front page. Try searching on the channel page, or via https://pythonprogramming.net. If you cannot find something, just ask!

Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Paypal donations: [email protected]

Timetable

動画タイムテーブル

動画数:54件

at  what's the difference between "prev_obs.reshape(-1,4,1)[0]" and "prev_obs.reshape(-1,4)" ?if there is none, why do the first one? is that a habit from something else? - Testing Network - Training a neural network to play a game with TensorFlow and Open AI p.4

at what's the difference between "prev_obs.reshape(-1,4,1)[0]" and "prev_obs.reshape(-1,4)" ?if there is none, why do the first one? is that a habit from something else?

Testing Network - Training a neural network to play a game with TensorFlow and Open AI p.4
2017年03月13日
00:03:40 - 00:16:16
at  Lord Sentdex said that we take the 0th element of the list because we are only predicting on one frame.Anyone knows how to make predictions based on multiple frames ? - Testing Network - Training a neural network to play a game with TensorFlow and Open AI p.4

at Lord Sentdex said that we take the 0th element of the list because we are only predicting on one frame.Anyone knows how to make predictions based on multiple frames ?

Testing Network - Training a neural network to play a game with TensorFlow and Open AI p.4
2017年03月13日
00:04:00 - 00:16:16
Hey Sentdex, what do you mean by 'headless' at ? What type of example is headless and what type isn't? - Testing Network - Training a neural network to play a game with TensorFlow and Open AI p.4

Hey Sentdex, what do you mean by 'headless' at ? What type of example is headless and what type isn't?

Testing Network - Training a neural network to play a game with TensorFlow and Open AI p.4
2017年03月13日
00:04:50 - 00:16:16
lol, @ "Harrison, always messing with future Harrison". - Training Model - Training a neural network to play a game with TensorFlow and Open AI p.3

lol, @ "Harrison, always messing with future Harrison".

Training Model - Training a neural network to play a game with TensorFlow and Open AI p.3
2017年03月13日
00:13:30 - 00:14:38
someone gets a score of over 9000! - Intro - Training a neural network to play a game with TensorFlow and Open AI

someone gets a score of over 9000!

Intro - Training a neural network to play a game with TensorFlow and Open AI
2017年03月13日
00:02:20 - 00:12:32
The links you mentioned at  are missing - Intro - Training a neural network to play a game with TensorFlow and Open AI

The links you mentioned at are missing

Intro - Training a neural network to play a game with TensorFlow and Open AI
2017年03月13日
00:05:00 - 00:12:32
/x pass dtype wherever u r making np.array()2. if u r getting like target_1/y use tf.compat.v1.reset_default_graph() just after the wherever u have imported tensorflow.Some points which I faced and their solution:1. if u r working on newer numpy, always pass dtype = object in the parameter of np.array()2. I am using tensorflow 2.xx    tflearn 0.05(something like this).3. If u have version compatibility issues with tf2.0.0   I made a virtual env using conda then used pip to install latest of everything. - Training - Using Convolutional Neural Network to Identify Dogs vs Cats p. 3

/x pass dtype wherever u r making np.array()2. if u r getting like target_1/y use tf.compat.v1.reset_default_graph() just after the wherever u have imported tensorflow.Some points which I faced and their solution:1. if u r working on newer numpy, always pass dtype = object in the parameter of np.array()2. I am using tensorflow 2.xx tflearn 0.05(something like this).3. If u have version compatibility issues with tf2.0.0 I made a virtual env using conda then used pip to install latest of everything.

Training - Using Convolutional Neural Network to Identify Dogs vs Cats p. 3
2017年02月23日
00:00:00 - 00:19:02
[<?, ?it/s] ".I don't know how to fix it can you please help me to solve this error and thank you in advance - Building the Network - Using Convolutional Neural Network to Identify Dogs vs Cats p. 2

[<?, ?it/s] ".I don't know how to fix it can you please help me to solve this error and thank you in advance

Building the Network - Using Convolutional Neural Network to Identify Dogs vs Cats p. 2
2017年02月23日
00:00:00 - 00:09:05
[<?, ?it/s] and there seems to be nothing happening. Could you please help me on this. - Building the Network - Using Convolutional Neural Network to Identify Dogs vs Cats p. 2

[<?, ?it/s] and there seems to be nothing happening. Could you please help me on this.

Building the Network - Using Convolutional Neural Network to Identify Dogs vs Cats p. 2
2017年02月23日
00:00:00 - 00:09:05
[<00:00, 804.72it/s] - Building the Network - Using Convolutional Neural Network to Identify Dogs vs Cats p. 2

[<00:00, 804.72it/s]

Building the Network - Using Convolutional Neural Network to Identify Dogs vs Cats p. 2
2017年02月23日
00:00:31 - 00:09:05
tqdm is available on kaggle kernel. ( in video) - Intro and preprocessing - Using Convolutional Neural Network to Identify Dogs vs Cats p. 1

tqdm is available on kaggle kernel. ( in video)

Intro and preprocessing - Using Convolutional Neural Network to Identify Dogs vs Cats p. 1
2017年02月23日
00:08:28 - 00:12:51
pciBusID: .0totalMemory: 4.00GiB freeMemory: 3.29GiB - Installing CPU and GPU TensorFlow on Windows

pciBusID: .0totalMemory: 4.00GiB freeMemory: 3.29GiB

Installing CPU and GPU TensorFlow on Windows
2016年12月12日
00:01:00 - 00:18:16
gpuz says you were using about 11GB of memory. What's up with that? Do you have like 2 6GB cards in SLI?edit: Oh shit. Nevermind. Just watched your gear video. Titan X 12GB - Installing CPU and GPU TensorFlow on Windows

gpuz says you were using about 11GB of memory. What's up with that? Do you have like 2 6GB cards in SLI?edit: Oh shit. Nevermind. Just watched your gear video. Titan X 12GB

Installing CPU and GPU TensorFlow on Windows
2016年12月12日
00:17:06 - 00:18:16
Why is the data being reshaped at ? - TFLearn - Deep Learning with Neural Networks and TensorFlow p. 14

Why is the data being reshaped at ?

TFLearn - Deep Learning with Neural Networks and TensorFlow p. 14
2016年10月05日
00:11:00 - 00:27:42
Aren't you supposed to shift down by 2 then? - Convolutional Neural Networks Basics - Deep Learning withTensorFlow 12

Aren't you supposed to shift down by 2 then?

Convolutional Neural Networks Basics - Deep Learning withTensorFlow 12
2016年09月19日
00:04:27 - 00:09:11
That's how Microsoft logo was designed - Convolutional Neural Networks Basics - Deep Learning withTensorFlow 12

That's how Microsoft logo was designed

Convolutional Neural Networks Basics - Deep Learning withTensorFlow 12
2016年09月19日
00:04:38 - 00:09:11
ValueError: Input graph and Layer graph are not the same: Tensor("split_", shape=(?, 28), dtype=float32) is not from the passed-in graph. - RNN Example in Tensorflow - Deep Learning with Neural Networks 11

ValueError: Input graph and Layer graph are not the same: Tensor("split_", shape=(?, 28), dtype=float32) is not from the passed-in graph.

RNN Example in Tensorflow - Deep Learning with Neural Networks 11
2016年09月14日
00:02:00 - 00:14:20
] at ? - RNN Example in Tensorflow - Deep Learning with Neural Networks 11

] at ?

RNN Example in Tensorflow - Deep Learning with Neural Networks 11
2016年09月14日
00:08:51 - 00:14:20