python Practical Cases of File Operations

1. Write before Today, I've sorted out several Python cases about file operations, including reading and writing files with python, getting file names, getting file suffixes, and modifying file suffixes in bulk.Several methods of this collation are still from the point of view of use.For example, I ne ...

Added by rsmarsha on Wed, 17 Jun 2020 19:28:31 +0300

K-nearest neighbor algorithm implemented by numpy

K-nearest neighbor algorithm implemented by numpy K nearest neighbor (KNN) Forged data Data visualization KNN algorithm implementation test Decision boundary normalization Something about knn Iris dataset trial visualization Decision boundary (not normalized) k=20 Test result (not normalized) k= ...

Added by journy101 on Fri, 07 Feb 2020 11:49:26 +0200

Running Jupyter/JupyterHub/JupyterLab as a system service

Jupyter/JupyterHub/JupyterLab can run in many ways, including command line, system service, Docker instance, Kubernetes application, etc. Here is how to run it as a system service by using the< magic operator of IPython 6/Jupyter>,<Magic operators of IPython >Can provide better console operation (who uses who knows! If you need t ...

Added by pramodv on Wed, 08 Jan 2020 06:01:58 +0200

Emotional Analysis and Prediction of Naive Bayes-Douban Top250 Movie Review

Preface In this paper, naive Bayesian algorithm is used to realize emotional analysis and prediction of Douban Top250 film evaluation. Recently, the problem of dealing with positive and negative emotions in learning natural language is studied, but ...

Added by david4u on Mon, 16 Sep 2019 12:15:12 +0300

How to make matplotlib display Chinese smoothly in Ubuntu 16.04

How to make matplotlib display Chinese smoothly in Ubuntu 16.04 1. Identify the matplotlib you are using 2. Download simhei font for Ubuntu 16.04 3. Modify the matplotlibrc file 4. Delete ~/.cache/matplotlib/ 5. Close the python kernel, reopen and ...

Added by mynameisbob on Wed, 11 Sep 2019 09:08:10 +0300

Wu Enda Deep Learning Lesson 1, Second Week Homework 01

Opening off-topic remarks (skip) Hello word! This is my first time to use Markdown editor, and also my first time to write a blog. I am conscious of cultivating good summary habits for myself; second, because I can help others. If there are any mistakes, I hope to point them out. Thank you. The year o ...

Added by php.ajax.coder on Sun, 11 Aug 2019 14:48:38 +0300

Linear Regression of PyTorch

One of PyTorch's in-depth learning framework libraries is an open source in-depth learning platform from Facebook that provides a seamless link between research prototypes and production deployments. The purpose of this article is to introduce the basic part of PyTorch, to help beginners to realize the ...

Added by mikeym on Mon, 29 Jul 2019 09:34:19 +0300