Python Neural Networks - Tensorflow 2.0 Tutorial - Text Classification P1

preview_player
Показать описание
This python neural network tutorial introduces the idea of text classification using a neural network and tensorflow 2.0. We will create a fairly simple model that is capable of classifying movie reviews as either positive or negative!

◾◾◾◾◾
💻 Enroll in The Fundamentals of Programming w/ Python

◾◾◾◾◾◾

⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡

Tags:
- Tech With Tim
- Python Neural Networks
- Neural Network Turtorials
- Text Classification Neural Network
- Text Classification tensorflow
- Python Tutorials
Рекомендации по теме
Комментарии
Автор

Sorry for the abrupt ending... Next video will be out tmrw and cover the architecture of the network and talk about what the heck an embedding layer is?! Hope you all enjoy :)

TechWithTim
Автор

Haha anyone else had a voice in their head screaming "OMG imdb is going to be undefined" the whole time until Tim finds out? :D Perfect lessons otherwise though! Love it!

vitnovak
Автор

Great work, Tim. Loving your tutorial videos.

If anyone hits this error "TypeError: unhashable type: 'list'" just change this line:

return " ".join([reverse_word_index.get(i, "?") for i in text])

to this:

return " ".join(list(reverse_word_index.get(i, "?") for i in text))

stewmcdonald
Автор

always instantly adding your videos to my playlist so I can come home and start coding!

BlueFlash
Автор

To get version of any package in python
import package_name
package_name. ___version___ # use print if you are not in shell

keerthivarmanprakash
Автор

please continue with you're opengl seres

paul
Автор

Nice!
But how I can use my own data from CSV file? Thanks

ohrimenko.tarasqt
Автор

Tim, as always, thank you for doing these videos. Keeup up the great work.


Quick question about importing. I have seen you do this many times but did not quite understand it. Why do you import a package or a module, and then you import something specific from that module right after it?


For instance, in this video you imported tensorflow then followed it by importing keras from tensorflow. Wouldn't the first line import keras as well? I mean I would understand it if the second line was something like from tensorflow import keras as ks.

delbandtaha
Автор

If anyone having the error "ValueError: Object arrays cannot be loaded when allow_pickle=False", here is the solution

paradoxnafi
Автор

I really like your tutorials, but I am taking too much time to convert the version 2.0.0-alpha you used to actual 2.0.0. I think many things have changes in this video since then. Maybe it is worth considering an update =D

thiagocavila
Автор

Why isn't numpy stable yet? I really wish Python had a stable ecosystem for data science, like R.

Автор

Imagine if we were using yt comments instead of movie reviews!

hackercop
Автор

in the 4th part when you bumped up the num_words to 88000 you say it would increase our vocab but according to your explanation here there will be lesser words as there will be lesser words that are frequent 88000 times

preverse
Автор

Could someone explain me what this line does ? I'm not very familair with Python "word_index = {k:(v+3) for k, v in word_index.items()}"
Thanks

gregouz
Автор

hello, thanks for your video, I have a question and I hope you answer it, if we did a text classification where can we add word to classify it . this step to test our model accuracy . what I mean is after text classification step i need to add some words and the model will classify them

farahalaa
Автор

Love your videos. But word_index is indeed type dict. tuple has no method items.

falconlin
Автор

Why did we use the "softmax" activation function for an output between 0 and 1 in the previous fashion items recognition neural net, but then used "sigmoid" for the same (output between 0 and 1) effect this time???

malek
Автор

Why do you use Sublime rather then Pycharm or Jupyters Notebook?

darkphoenix
Автор

What does the line {k:(v+3) for ...} do?

Raven-bixn
Автор

Where exactly is 1 -> Start added to the review so that the reverse output starts with Start. Same question for Unknown. We only define it at the beginning but why does it appear in a review?

DanielWeikert