<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[elite666的专栏]]></title><description><![CDATA[算是给自己参考用的吧]]></description><link>https://blog.csdn.net/elite666</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; elite666]]></copyright><item><title><![CDATA[安卓手机termux安装ubuntu被kill进程解决]]></title><link>https://blog.csdn.net/elite666/article/details/152007471</link><guid>https://blog.csdn.net/elite666/article/details/152007471</guid><author>elite666</author><pubDate>Tue, 23 Sep 2025 19:46:58 +0800</pubDate><description><![CDATA[最近用小米12sultra安装了termux，并proot安装了ubuntu，发现总是被杀进程。3.adb连接手机，并输入如下命令，将最大子进程数改为65536。1.手机开启开发者模式。2.电脑安装adb工具。]]></description><category></category></item><item><title><![CDATA[python虚拟环境打包]]></title><link>https://blog.csdn.net/elite666/article/details/130635155</link><guid>https://blog.csdn.net/elite666/article/details/130635155</guid><author>elite666</author><pubDate>Fri, 12 May 2023 09:29:20 +0800</pubDate><description><![CDATA[先说遇到的坑，在windows环境下用virtualenv创建的虚拟环境在打包时总会报错sites.py下的一个函数找不到。隐式引入问题，使用 auto-py-to-exe 打包工具的高级中把一个个报错的模块都加进去就可以成功打包了。解决方法就是删除该虚拟环境，用python -m venv重新创建虚拟环境，可以解决该问题。]]></description><category></category></item><item><title><![CDATA[code server 安装 golang 环境]]></title><link>https://blog.csdn.net/elite666/article/details/116864138</link><guid>https://blog.csdn.net/elite666/article/details/116864138</guid><author>elite666</author><pubDate>Sat, 15 May 2021 21:46:25 +0800</pubDate><description><![CDATA[vim ~/.profile 添加环境变量
在最后添加如下
export GOROOT=/usr/local/go # Golong 安装目录 export GOPATH=/home/coder/project/goproject # 将来的工作目录 export PATH=$PATH:$GOROOT/bin:$GOPATH/bin # 将 $GOROOT 和 $GOPATH 加入到 PATH中，方便使用 export GO111MODULE=on export GOPROXY=https://gopro.]]></description><category></category></item><item><title><![CDATA[树莓派docker安装MySQL]]></title><link>https://blog.csdn.net/elite666/article/details/115798248</link><guid>https://blog.csdn.net/elite666/article/details/115798248</guid><author>elite666</author><pubDate>Sat, 17 Apr 2021 17:08:00 +0800</pubDate><description><![CDATA[树莓派docker安装MySQL镜像下载镜像启动创建远程连接用户进入容器root 身份登录创建远程登录用户和权限设置
镜像下载
docker pull --platform=arm64 mysql/mysql-server

镜像启动
docker run -p 3306:3306 --name mysql01 \
-v /home/xxx/work/mysql_home/conf:/etc/mysql \
-v /home/xxx/work/mysql_home/logs:/var/log/mysql \]]></description><category></category></item><item><title><![CDATA[django 中实现GROUP_CONCAT方法，分组聚合]]></title><link>https://blog.csdn.net/elite666/article/details/109522720</link><guid>https://blog.csdn.net/elite666/article/details/109522720</guid><author>elite666</author><pubDate>Thu, 05 Nov 2020 23:13:53 +0800</pubDate><description><![CDATA[from django.db.models import Aggregate, CharField

class GroupConcat(Aggregate):
    function = 'GROUP_CONCAT'
    template = '%(function)s(%(distinct)s%(expressions)s%(ordering)s%(separator)s)'

    def __init__(self, expression, distinct=False, order...]]></description><category></category></item><item><title><![CDATA[安卓手机做jupyter notebook服务器，iPad上可访问]]></title><link>https://blog.csdn.net/elite666/article/details/90217388</link><guid>https://blog.csdn.net/elite666/article/details/90217388</guid><author>elite666</author><pubDate>Tue, 14 May 2019 23:32:05 +0800</pubDate><description><![CDATA[1、安卓手机安装termux，主要参考教程：

termux安装jupyter


apt install clang python python-dev fftw libzmq libzmq-dev freetype freetype-dev libpng libpng-dev pkg-config
pip install jupyter
jupyter notebook --ip=0.0.0....]]></description><category></category></item><item><title><![CDATA[Centos7安装RabbitMQ的方法并激活远程管理界面]]></title><link>https://blog.csdn.net/elite666/article/details/84593273</link><guid>https://blog.csdn.net/elite666/article/details/84593273</guid><author>elite666</author><pubDate>Wed, 28 Nov 2018 21:49:45 +0800</pubDate><description><![CDATA[一、下载最新版RabbitMQ的RPM包
下载地址
二、修改yum源，用于安装Erlang新版本
参考博客
在修改完成后，可以直接通过yum install 安装下载好的rabbitmq的RPM包
并参考博客中进行相关配置和管理员添加。
三、激活rabbitmq的网页版管理界面
命令：rabbitmq-plugins enable rabbitmq_management
这样可以就可以通过http...]]></description><category></category></item><item><title><![CDATA[RabbitMQ使用简要说明]]></title><link>https://blog.csdn.net/elite666/article/details/84537706</link><guid>https://blog.csdn.net/elite666/article/details/84537706</guid><author>elite666</author><pubDate>Mon, 26 Nov 2018 13:23:35 +0800</pubDate><description><![CDATA[1、队列（Queues）是你的消息（messages）的终点，可以理解成装消息的容器。队列是由消费者（Consumer）通过程序建立的
2、交换机（Exchange）可以理解成具有路由表的路由程序。
3、绑定（Binding）就是一个类似这样的规则：将交换机“desert（沙漠）”当中具有路由键“阿里巴巴”的消息送到队列“hideout（山洞）”里面去。
绑定是一个基于路由键将交换机和队列连接起来...]]></description><category></category></item><item><title><![CDATA[理解交叉熵和最大似然估计的关系]]></title><link>https://blog.csdn.net/elite666/article/details/83850786</link><guid>https://blog.csdn.net/elite666/article/details/83850786</guid><author>elite666</author><pubDate>Thu, 08 Nov 2018 07:23:54 +0800</pubDate><description><![CDATA[理解交叉熵作为神经网络的损失函数的意义：
交叉熵刻画的是实际输出（概率）与期望输出（概率）的距离，也就是交叉熵的值越小，两个概率分布就越接近，即拟合的更好。
cross entropy= H§+DKL(p||q)
当p分布是已知，则熵是常量；于是交叉熵和KL散度则是等价的。
最小化KL散度和模型采用最大似然估计进行参数估计又是一致的。（可以从公式推导上证明）
这也是很多模型又采用最大似然估计作为损...]]></description><category></category></item><item><title><![CDATA[pip3升级失败，pip3自动被卸载后如何恢复]]></title><link>https://blog.csdn.net/elite666/article/details/83541602</link><guid>https://blog.csdn.net/elite666/article/details/83541602</guid><author>elite666</author><pubDate>Tue, 30 Oct 2018 14:42:29 +0800</pubDate><description><![CDATA[To install pip, securely download get-pip.py. [1]:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
Then run the following:
python3 get-pip.py

]]></description><category></category></item><item><title><![CDATA[基于Sklearn原生Kmeans算法的自动化聚类]]></title><link>https://blog.csdn.net/elite666/article/details/83514056</link><guid>https://blog.csdn.net/elite666/article/details/83514056</guid><author>elite666</author><pubDate>Mon, 29 Oct 2018 21:56:17 +0800</pubDate><description><![CDATA[from sklearn.cluster import KMeans
import numpy as np
import matplotlib.pyplot as plt
from pandas import Series
import random
from sklearn.metrics import silhouette_samples, silhouette_score
import ti...]]></description><category></category></item><item><title><![CDATA[socketserver实现多线程算法请求服务器]]></title><link>https://blog.csdn.net/elite666/article/details/82890307</link><guid>https://blog.csdn.net/elite666/article/details/82890307</guid><author>elite666</author><pubDate>Fri, 28 Sep 2018 21:24:58 +0800</pubDate><description><![CDATA[需要实现客户端发来的算法执行请求，写了一个多线程的响应框架，能够实现响应多个IP的请求，并且不受客户端断开的影响。
服务器端
import socketserver
import json
class Algrithom(object):
    def __init__(self,name):
        self.name = name

    def calc_sub(self,*ar...]]></description><category></category></item><item><title><![CDATA[sqlalchemy默认的字符集是latin-1，转成utf-8]]></title><link>https://blog.csdn.net/elite666/article/details/82834048</link><guid>https://blog.csdn.net/elite666/article/details/82834048</guid><author>elite666</author><pubDate>Tue, 25 Sep 2018 06:59:21 +0800</pubDate><description><![CDATA[尝试了创建engine时设置charset=utf8，这样起作用的前提是在创建database时需要CHARSET=UTF8
步骤1
CREATE DATABASE test CHARSET=UTF8;
步骤2
engine = create_engine(“mysql+pymysql://root:abc@192.168.1.3/test?charset=utf8”,encoding=‘utf-...]]></description><category></category></item><item><title><![CDATA[ORM外键关联查询1对多（一个用户有两个地址）]]></title><link>https://blog.csdn.net/elite666/article/details/82833088</link><guid>https://blog.csdn.net/elite666/article/details/82833088</guid><author>elite666</author><pubDate>Mon, 24 Sep 2018 22:36:59 +0800</pubDate><description><![CDATA[本程序主要是参考金角大王博客
做了一个ORM可增可查的外键关联查询实验
#-*- coding:utf-8 -*-
from sqlalchemy import Integer, ForeignKey, String, Column
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import ...]]></description><category></category></item><item><title><![CDATA[Spark_rdd_and_map_reduce基本操作]]></title><link>https://blog.csdn.net/elite666/article/details/81914597</link><guid>https://blog.csdn.net/elite666/article/details/81914597</guid><author>elite666</author><pubDate>Tue, 21 Aug 2018 21:07:15 +0800</pubDate><description><![CDATA[from __future__ import print_function, division
from pyspark import SparkConf, SparkContext
from pyspark.sql import SparkSession
spark = SparkSession.builder.master(&quot;local&quot;) \
   .appName(&quot;test&quot;) \
  ...]]></description><category></category></item><item><title><![CDATA[windows连接本地centos虚拟机的Pyspark的Jupyter开发环境]]></title><link>https://blog.csdn.net/elite666/article/details/81871823</link><guid>https://blog.csdn.net/elite666/article/details/81871823</guid><author>elite666</author><pubDate>Mon, 20 Aug 2018 15:22:59 +0800</pubDate><description><![CDATA[1首先安装Scala和spark，参考教程： 
https://blog.csdn.net/pucao_cug/article/details/72377219 
2安装Python3和Jupyter，参考教程： 
https://blog.csdn.net/max_cola/article/details/78902597 
3 centos下使Jupyter同时支持Python2和3 
htt...]]></description><category></category></item><item><title><![CDATA[Spark集群安装与启动]]></title><link>https://blog.csdn.net/elite666/article/details/81835025</link><guid>https://blog.csdn.net/elite666/article/details/81835025</guid><author>elite666</author><pubDate>Sun, 19 Aug 2018 08:51:41 +0800</pubDate><description><![CDATA[整个安装过程参考博文： 
https://blog.csdn.net/JavaMoo/article/details/77175579 
遇到的问题JAVA_HOME is not set ，参考博文： 
https://blog.csdn.net/u014052851/article/details/76549451

（一）启动Hadoop 
hadoop启动：只需要再hserver1(nam...]]></description><category></category></item><item><title><![CDATA[centos7安装Hadoop集群成功]]></title><link>https://blog.csdn.net/elite666/article/details/81813859</link><guid>https://blog.csdn.net/elite666/article/details/81813859</guid><author>elite666</author><pubDate>Sat, 18 Aug 2018 22:36:30 +0800</pubDate><description><![CDATA[安装centos7 最小安装后通过将网络/etc/sysconfig/network-scripts/ifcfg-ens33中的随机启动改为yes，获取网络后开始yum install一系列包后，主要按照博文 
https://blog.csdn.net/pucao_cug/article/details/71698903 
成功安装了Hadoop集群 
 
...]]></description><category></category></item><item><title><![CDATA[使用scipy.interpolate将非等间距采集的值插值成等间距的值]]></title><link>https://blog.csdn.net/elite666/article/details/81750442</link><guid>https://blog.csdn.net/elite666/article/details/81750442</guid><author>elite666</author><pubDate>Thu, 16 Aug 2018 23:03:57 +0800</pubDate><description><![CDATA[import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from scipy import interpolate

#读数据
df=pd.read_excel(&quot;D:/Data/data_grundfox_r.xlsx&quot; )

#绘制原始数据曲线

plt.figure(figsize=(10,5), dpi=...]]></description><category></category></item><item><title><![CDATA[装饰器使用案例]]></title><link>https://blog.csdn.net/elite666/article/details/81334074</link><guid>https://blog.csdn.net/elite666/article/details/81334074</guid><author>elite666</author><pubDate>Wed, 01 Aug 2018 17:00:58 +0800</pubDate><description><![CDATA[import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import math
import datetime
from pandas import DataFrame,Series
from copy import deepcopy
import seaborn
def timer(func):
    &quot;&quot;&quot;...]]></description><category></category></item></channel></rss>