[PYTHON] Used in machine learning EDA

It is a memo of the code used so far intersection

intersection


a=['A','B','c']
b=['B']
c=a.intersection(b)

A function that outputs the intersection of arrays a and b I used it to calculate the Jackard coefficient.

stopword

stopword


from nltk.corpus import stopwords
stop_words = stopwords.words('english')
print(stop_words)

Get the English stopword. Used in Tweet's emotion prediction. ** What is stopword ** Common words excluded in natural language processing


treemap

treemap


from ploty import graph_objs as go
import plotly.express as px

fig=px.treemap(list,value='common',title='Tree of XXX')

It is an area graph. It seems that it can be used in various ways with data visualization.


I will continue to write down what I researched while studying.

Recommended Posts

Used in machine learning EDA
[python] Frequently used techniques in machine learning
Full disclosure of methods used in machine learning
Summary of evaluation functions used in machine learning
Machine learning in Delemas (practice)
Machine learning
Automate routine tasks in machine learning
Classification and regression in machine learning
Python: Preprocessing in Machine Learning: Overview
Preprocessing in machine learning 2 Data acquisition
Random seed research in machine learning
Preprocessing in machine learning 4 Data conversion
Python: Preprocessing in machine learning: Data acquisition
[Memo] Machine learning
Machine learning classification
[Python] Saving learning results (models) in machine learning
Python: Preprocessing in machine learning: Data conversion
[Machine learning] List of frequently used packages
Preprocessing in machine learning 1 Data analysis process
Machine Learning sample
Data supply tricks using deques in machine learning
Get a glimpse of machine learning in Python
[For beginners] Introduction to vectorization in machine learning
Machine learning tutorial summary
About machine learning overfitting
I tried to organize the evaluation indexes used in machine learning (regression model)
Machine learning ⑤ AdaBoost Summary
Machine learning logistic regression
Machine learning support vector machine
List of main probability distributions used in machine learning and statistics and code in python
Studying Machine Learning ~ matplotlib ~
Machine learning linear regression
Machine learning course memo
Machine learning library dlib
Machine learning (TensorFlow) + Lotto 6
Somehow learn machine learning
Machine learning library Shogun
Machine learning rabbit challenge
A memorandum of method often used in machine learning using scikit-learn (for beginners)
Introduction to machine learning
Machine Learning: k-Nearest Neighbors
What is machine learning?
Tool MALSS (application) that supports machine learning in Python
Tool MALSS (basic) that supports machine learning in Python
About testing in the implementation of machine learning models
Coursera Machine Learning Challenges in Python: ex1 (Linear Regression)
Attempt to include machine learning model in python package
Cross-entropy to review in Coursera Machine Learning week 2 assignments
MALSS, a tool that supports machine learning in Python
Machine learning model considering maintainability
Machine language embedding in C language
Machine learning learned with Pokemon
Data set for machine learning
Japanese preprocessing for machine learning
How to build Anaconda virtual environment used in Azure Machine Learning and link with Jupyter
Machine learning with Jupyter Notebook in OCI Always Free environment (2019/12/17)
An introduction to machine learning
Machine learning / classification related techniques
Basics of Machine Learning (Notes)
The result of Java engineers learning machine learning in Python www
Machine learning beginners tried RBM