jupyter notebook reports an error using conda virtual environment
introduce
First use Anaconda to create a virtual environment named pt37, and then want to open jupyter in this virtual environment.
Follow other online tutorials and use conda install nb_conda and python -m ipykernel install --name {your virtual environment name, such as QQ} -- display name {the name you want to display} did not find the crea ...
Posted by mlavwilson on Fri, 26 Nov 2021 06:50:05 -0800
[quantitative finance] use DCF valuation model to detect stock value
1, Foreword
When carrying out fundamental analysis on a listed company, we can usually analyze and interpret its financial data and evaluate its internal value through various channels such as research on listed companies. Our commonly used financial evaluation indicators may includ ...
Posted by mdaoust on Thu, 04 Nov 2021 22:39:27 -0700
Population analysis cases
demand
Source data acquisition – password: 6qpt
Import the file and view the original dataCombine population data with state abbreviation dataDelete the duplicate abstraction column in the merged dataView columns with missing dataFind out which states / regions make the value of state NaN and perform the de duplication ope ...
Posted by razz on Sun, 24 Oct 2021 07:02:25 -0700
excel linear regression and jupyter programming
1, Using excel to do linear regression
1. Startup steps
Find data analysis in the data column of excel, and then start linear regression. If there is no "data analysis" tab, you can select "add in" in the "file" tab and select "go" as follows: Check the required tool
2. Data analysis
After impor ...
Posted by ronniebrown on Fri, 01 Oct 2021 11:02:52 -0700
JD sliding verification code cracking of selenium and PIL
Single layer graph slide verification code of selenium and PIL
How to crack the slide verification code
preparation in advance
Code operation
How to crack the slide verification code
There are various mechanisms of anti climbing on the market, among which the sliding verification code is divided into two-layer graph ...
Posted by Kev on Sun, 10 May 2020 01:54:26 -0700
Machine learning Chapter 4 training model
Reference: author's Jupyter NotebookChapter 2 – End-to-end Machine Learning project
Generate picture and savefrom __future__ import division, print_function, unicode_literals
import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt
import os
np.random.seed(42)
mpl.rc('axes', labelsize=14)
mpl.rc('xtick', labelsize=12)
mpl.r ...
Posted by Scriptor on Fri, 27 Mar 2020 03:26:21 -0700
Naive Bayesian understanding and code reproduction of statistical learning methods
Naive Bayes
The joint probability P(A,B) = P(B|A)*P(A) = P(A|B)*P(B) combines the two equations on the right to get the following formula:
P (a| b) indicates the probability of a in the case of B. P(A|B) = [P(B|A)*P(A)] / P(B)
Let's have A visual understanding of this formula. As shown in the figure ...
Posted by PHP_apprentice on Sun, 15 Mar 2020 22:13:16 -0700
NO.89 - Applying Xgboost to Predict Insurance Compensation
Article Directory
1 Data analysis
1.1 First look at what the data looks like
1.2 Continuous and categorical variables
1.3 Number of attributes in categorical variables
1.4 Compensation value
1.5 Continuous Variable Characteristics
1.6 Correlation between features
2 Xgboost
2.1 Data Preprocessing
2.2 ...
Posted by rimelta on Wed, 11 Mar 2020 21:00:47 -0700
"Python drawing sharp tool": Matplotlib tutorial
Article directory
1. Preface
2. Introduction to Matplotlib
3. installation
4. Drawing basis
4.1 plot() function
4.1.1 Chinese display
4.1.2 text display
5. Drawing of common charts
5.1 histogram
5.1.1 simple example
5.1.2 function definition
5.1.3 histogram of normal distribution
5.2 pie chart ...
Posted by BLaZuRE on Thu, 05 Mar 2020 19:40:13 -0800
Python infrastructure
When building a house, the choice of wood is a problem.
A carpenter's goal is essentially to carry a good cutting tool. When he has time, he sharpens his equipment.
{-:} - Miyamoto Musashi (wulunshu)
This article is excerpted from Chapter 2 of Python big data analysis (version 2)
For new Python users, ...
Posted by jmurch on Wed, 26 Feb 2020 19:11:26 -0800