Frecuencia de palabras| Recomendaciones | SciKitLearn | Machine Learning| Python | ¡Muy básico!
En este vídeo te mostramos cómo convertir las palabras (texto) a números, para poder obtener la puntuación (score) de cada palabra, de acuerdo al número de veces que aparecen en un texto o corpus. Utilizando CountVectorizer de ScikitLearn es muy sencillo, lo hacemos con palabra en Inglés y en Español. Esperamos que este vídeo sea de utilidad, no olvides dejarnos de dónde nos estás visitando, nos dará mucho gusto saludarte en la sección de comentarios. ✔Las líneas del código from sklearn.feature_extraction.text import CountVectorizer, TfidfTransformer data = ['I like the dog and dog and dog cat', 'I love the dog cat', 'I interested in a dog turtle'] ✔Scikit Learn | CountVectorizer https://scikit-learn.org/stable/modules/generated/sklearn.feature_extraction.text.CountVectorizer.html ✔ Descarga la librería para las stop words: https://pypi.org/project/stop-words/ ✔Stop words español: https://countwordsfree.com/stopwords/spanish ✔Stop words inglés: https://gist.github.com/sebleier/554280 ✔Nuestro blog http://cctmexico.blogspot.mx/p/python.html - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Otros vídeos que pueden ser de utilidad: ✔Vídeo redes neuronales (Predicción) https://www.youtube.com/watch?v=9J0Ab4pgvYc ✔Video para grabar los modelos https://www.youtube.com/watch?v=eWswOZbSoCA ✔Lista de reproducción de vídeos de Pandas https://www.youtube.com/watch?v=JJ7BMoQotEY&list=PLgHCrivozIb0ULMKfJVV-rFdRG2OeEgfq ✔Lista de reproducción de vídeos de Machine Learning (ScikitLearn) https://www.youtube.com/watch?v=b4zmSqB9npI&list=PLgHCrivozIb0HQ9oPRLVqw5scdIG-AxQL - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ✔Música Comic Hero - Silent Film Light by Kevin MacLeod is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/) Source: http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1100286 Artist: http://incompetech.com/ You're free to use this song and monetize your video, but you must include the following in your video description: Hep Cats by Kevin MacLeod is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/) Source: http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1500022 Artist: http://incompetech.com/ Eine Kleine Nachtmusik (by Mozart) Mozart 1812 Overture (by Tchaikosvky) Tchaikovsky Blue Danube (by Strauss) Strauss - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Sonidos: Bell Ring: https://freesound.org/people/pac007/sounds/331567/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.