<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[zpeien]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/qq_44920726</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; qq_44920726]]></copyright><item><title><![CDATA[设计模式之--------工厂方法和抽象工厂方法]]></title><link>https://blog.csdn.net/qq_44920726/article/details/127168988</link><guid>https://blog.csdn.net/qq_44920726/article/details/127168988</guid><author>qq_44920726</author><pubDate>Wed, 05 Oct 2022 08:46:00 +0800</pubDate><description><![CDATA[为创建一组相关或者是相互依赖的对象提供一个接口，而不需要指定它们具体类。优点：一个显著的优点是分离接口与实现，客户端使用抽象工厂来创建需要的对象，而客户端根本就不知道具体的实现是谁，客户端只是面向产品的接口编程而已，使其从具体的产品实现中解偶，同时基于接口与实现的分离，使抽象该工厂方法模式在切换产品类时更加灵活、容易缺点：一是类文件的爆炸式增加二是不太容易扩展新的产品类，因为每当我们增加一个产品类时，就需要修改抽象工厂，那么所有的具体工厂类均会被修改。]]></description><category></category></item><item><title><![CDATA[设置模式之-------原型模型]]></title><link>https://blog.csdn.net/qq_44920726/article/details/127168967</link><guid>https://blog.csdn.net/qq_44920726/article/details/127168967</guid><author>qq_44920726</author><pubDate>Wed, 05 Oct 2022 08:41:39 +0800</pubDate><description><![CDATA[用原型实例指定创建对象的种类，并通过拷贝这些原型创建新的对象。]]></description><category></category></item><item><title><![CDATA[设计模式解析---------------单例模式]]></title><link>https://blog.csdn.net/qq_44920726/article/details/125671456</link><guid>https://blog.csdn.net/qq_44920726/article/details/125671456</guid><author>qq_44920726</author><pubDate>Tue, 04 Oct 2022 20:20:12 +0800</pubDate><description><![CDATA[确保某一个类只有一个实例，而且自行实例化并向整个系统提供这个实例。]]></description><category></category></item><item><title><![CDATA[android修改弹窗样式的几种方式]]></title><link>https://blog.csdn.net/qq_44920726/article/details/127139870</link><guid>https://blog.csdn.net/qq_44920726/article/details/127139870</guid><author>qq_44920726</author><pubDate>Sun, 02 Oct 2022 09:08:43 +0800</pubDate><description><![CDATA[不知道大家有没有发现，上面的弹窗跟前面几个不一样的，它是动态加载的，里面的内容可以根据需求动态增加，这种动态变化的，如果我要修改苹果、香蕉这些文字的颜色是白色时，前面的几种方式中，第一种是很难进行修改的，这个是动态变化的也不是直接在xml 上写死能解决的。当然这篇文章的主要目的并不是让你弄成一个好看的弹窗，这个我也不会，还是回归主题，我们如何修改弹窗的样式，用这种方法呢，也能争对性的修改弹窗的样式，只要你知道样式的内容代表什么，那么都能进行简单的修改。毕竟编程的思维是相通的。也就是上面我写的这行代码。]]></description><category></category></item><item><title><![CDATA[Fragment切换的方式介绍和一些问题的解决]]></title><link>https://blog.csdn.net/qq_44920726/article/details/126677674</link><guid>https://blog.csdn.net/qq_44920726/article/details/126677674</guid><author>qq_44920726</author><pubDate>Sat, 03 Sep 2022 18:32:58 +0800</pubDate><description><![CDATA[Fragment 切换 1. FragmentManager：用来管理Activity中的fragment,app包中使用getFragmentManager()   v4包中getSupportFragmentManager
 2. FragmentTransaction:  事务,用来添加，移除，替换fragment。
 3. FragmentTransaction transaction = fm.benginTransatcion();//开启一个事务
 4. transaction.add() :]]></description><category></category></item><item><title><![CDATA[View 的四种 OnClick 方式]]></title><link>https://blog.csdn.net/qq_44920726/article/details/126456368</link><guid>https://blog.csdn.net/qq_44920726/article/details/126456368</guid><author>qq_44920726</author><pubDate>Mon, 22 Aug 2022 20:51:19 +0800</pubDate><description><![CDATA[Button的点击事件，ImageView的点击事件,TextView的点击事件，View的点击事件，OnClick(),Button的OnClick(),ImageView的 OnClick()， TextView的 OnClick()，全面分析onClick]]></description><category></category></item><item><title><![CDATA[设计模式解析---------迪米特原则]]></title><link>https://blog.csdn.net/qq_44920726/article/details/125655486</link><guid>https://blog.csdn.net/qq_44920726/article/details/125655486</guid><author>qq_44920726</author><pubDate>Thu, 07 Jul 2022 12:20:24 +0800</pubDate><description><![CDATA[下面通过租房的案例进行解析 迪米特原则。在北上广的朋友们都知道，租房时，绝大多数都会通过中介进行找房，我们设定的情况是：租客只给出房间的面积和租金，其他一概不管，中介将符合我们要求的房子推荐给我就可以了，下面给用代码来演示一下：


 





上面的代码中，Tenant 不仅依赖 Mediator 类 ，还和 Room 类进行频繁的交互，租客类要求是通过中介找到一间合适自己的房间，如果把这些检测条件都放在了 Tenant 类中，则会削弱中介的功能，而且导致 Tenant 类和 Room 类的耦合性较高。]]></description><category></category></item><item><title><![CDATA[安装Android Studio和第一个程序Hello]]></title><link>https://blog.csdn.net/qq_44920726/article/details/124703988</link><guid>https://blog.csdn.net/qq_44920726/article/details/124703988</guid><author>qq_44920726</author><pubDate>Wed, 11 May 2022 13:33:21 +0800</pubDate><description><![CDATA[软件下载地址：Download Android Studio and SDK tools | Android Developers

安装的过程如下图的顺序。

点击 next



默认，点击next



按照自己的需求选择安装路径，然后next



点击 install



然后是漫长的安装时间，可以泡个茶，喝杯水再回来。





经过漫长的安装时间后，软件安装好了，就可以运行软件了，点击finish



选择按下图所示后，点击 ok





点击cancel



点...]]></description><category></category></item><item><title><![CDATA[使用BP神经网络对鸢尾花数据集分类]]></title><link>https://blog.csdn.net/qq_44920726/article/details/123910265</link><guid>https://blog.csdn.net/qq_44920726/article/details/123910265</guid><author>qq_44920726</author><pubDate>Mon, 04 Apr 2022 10:00:00 +0800</pubDate><description><![CDATA[使用BP神经网络对鸢尾花数据集分类


from sklearn.datasets import load_iris
from pandas import DataFrame
import pandas as pd

x_data = load_iris().data  # 返回iris数据集所有输入特征
y_data = load_iris().target  # 返回iris数据集所有标签
print("x_data from datasets:", x_data)
print("y_data from]]></description><category></category></item><item><title><![CDATA[振动信号的拟合实验报告]]></title><link>https://blog.csdn.net/qq_44920726/article/details/123909805</link><guid>https://blog.csdn.net/qq_44920726/article/details/123909805</guid><author>qq_44920726</author><pubDate>Sun, 03 Apr 2022 10:00:00 +0800</pubDate><description><![CDATA[题目：利用python/matlab，读入vibrationsignal.dat，数据有8列，第一列为测量时间，第8列为振动信号，请写出振动信号与时间的回归关系。

操作步骤与提示：


振动信号一般格式为y=sin(x)；
	振动信号的频率可以通过FFT求出，来验证模型。



import numpy as np
import numpy.fft as nf
import matplotlib.pyplot as plt
from sklearn.linear_model import LinearRe]]></description><category></category></item><item><title><![CDATA[波士顿房价预测实验报告]]></title><link>https://blog.csdn.net/qq_44920726/article/details/123909468</link><guid>https://blog.csdn.net/qq_44920726/article/details/123909468</guid><author>qq_44920726</author><pubDate>Sat, 02 Apr 2022 10:00:00 +0800</pubDate><description><![CDATA[实验题目：请建立一个预测房屋价值的模型，给出线性回归的指标MSE，RMSE，MAE、R2，画出数据图。备注：考虑房间数特征和所有特征（选做）

操作步骤与提示：


波士顿房产数据集：使用sklearn.datasets.load_boston即可加载相关数据；
	'RM'是该地区中每个房屋的平均房间数量。



import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from sklearn import dataset]]></description><category></category></item><item><title><![CDATA[Ubuntu运行中文识别CHINESE]]></title><link>https://blog.csdn.net/qq_44920726/article/details/123740954</link><guid>https://blog.csdn.net/qq_44920726/article/details/123740954</guid><author>qq_44920726</author><pubDate>Fri, 01 Apr 2022 10:00:00 +0800</pubDate><description><![CDATA[一、下载ＣHINESE-OCR

该项目github地址：GitHub - xiaofengShi/CHINESE-OCR: [python3.6] 运用tf实现自然场景文字检测,keras/pytorch实现ctpn+crnn+ctc实现不定长场景文字OCR识别

或者gitee地址：

CHINESE-OCR: [python3.6] 运用tf实现自然场景文字检测,keras/pytorch实现ctpn+crnn+ctc实现不定长场景文字OCR识别

二、配置环境

1、需要安装几个库


sudo .]]></description><category></category></item><item><title><![CDATA[人工智能识别手写数学公式]]></title><link>https://blog.csdn.net/qq_44920726/article/details/123740713</link><guid>https://blog.csdn.net/qq_44920726/article/details/123740713</guid><author>qq_44920726</author><pubDate>Thu, 31 Mar 2022 10:00:00 +0800</pubDate><description><![CDATA[一、Mathematical-Handwriting-recognition

项目地址：https://gitee.com/Resonancq/Mathematical-Handwriting-recognitionhttps://github.com/Emmarex/Mathematical-Handwriting-recognition

直接下载这个项目的压缩包，解压后目录如下：



由于这个项目的运行环境跟我原来安装的环境符合，所以我就没有进行环境的安装．

这个项目的安装环境也很简单，在终端.]]></description><category></category></item><item><title><![CDATA[手指和手势识别算法原理和解析]]></title><link>https://blog.csdn.net/qq_44920726/article/details/123739889</link><guid>https://blog.csdn.net/qq_44920726/article/details/123739889</guid><author>qq_44920726</author><pubDate>Wed, 30 Mar 2022 10:00:00 +0800</pubDate><description><![CDATA[1、问题陈述



我们将从视频序列中识别手势。为了从实时视频序列中识别这些手势，我们首先需要单独取出手部区域，以去除视频序列中所有不需要的部分。在分割手部区域之后，我们对视频序列中显示的手指进行计数，以基于手指计数来指示机器人。因此，可以使用2个简单的步骤解决整个问题

１．从视频序列中找到并分割手部区域。
	２．从视频序列中分割的手区域计算手指的数量。


2、分割手区域

手势识别的第一步显然是通过消除视频序列中所有其他不需要的部分来找到手部区域。起初这似乎令人恐惧。但是不用担心。使......]]></description><category></category></item><item><title><![CDATA[python使用pyinstaller打包程序]]></title><link>https://blog.csdn.net/qq_44920726/article/details/123739102</link><guid>https://blog.csdn.net/qq_44920726/article/details/123739102</guid><author>qq_44920726</author><pubDate>Tue, 29 Mar 2022 10:00:00 +0800</pubDate><description><![CDATA[一、使用虚拟环境

使用pyinstaller 打包程序，如果直接在原来的环境中打包，出来的软件包会出现没有调用的库，增大了软件包，可能几K的程序打包出来软件却是几百ＭＢ．

使用：　pip install pipenv 安装pipenv 虚拟环境．

在终端进入一个自己建立的文件夹例如：cd try

使用命令：　


pipenv install #建立虚拟环境．
pipenv shell #进入虚拟环境

使用　pip install ×××　（你的程序里面调用的库）

然后　pip insta...]]></description><category></category></item><item><title><![CDATA[每日十道算法]]></title><link>https://blog.csdn.net/qq_44920726/article/details/123679730</link><guid>https://blog.csdn.net/qq_44920726/article/details/123679730</guid><author>qq_44920726</author><pubDate>Mon, 28 Mar 2022 10:00:00 +0800</pubDate><description><![CDATA[1、组合


给定两个整数 n 和 k，返回范围 [1, n] 中所有可能的 k 个数的组合。
你可以按 任何顺序 返回答案。





class Solution {
    List&lt;List&lt;Integer&gt;&gt; result = new ArrayList&lt;&gt;();
    LinkedList&lt;Integer&gt; path = new LinkedList&lt;&gt;();
    public List&lt;List&lt;Integer&g.]]></description><category></category></item><item><title><![CDATA[每日十道算法]]></title><link>https://blog.csdn.net/qq_44920726/article/details/123679194</link><guid>https://blog.csdn.net/qq_44920726/article/details/123679194</guid><author>qq_44920726</author><pubDate>Sun, 27 Mar 2022 10:00:00 +0800</pubDate><description><![CDATA[1、零钱兑换


给你一个整数数组 coins ，表示不同面额的硬币；以及一个整数 amount ，表示总金额。

计算并返回可以凑成总金额所需的 最少的硬币个数 。如果没有任何一种硬币组合能组成总金额，返回 -1 。

你可以认为每种硬币的数量是无限的。







class Solution {
    public int coinChange(int[] coins, int amount) {
        int max = Integer.MAX_VALUE;
        int..]]></description><category></category></item><item><title><![CDATA[每日十道算法]]></title><link>https://blog.csdn.net/qq_44920726/article/details/123678808</link><guid>https://blog.csdn.net/qq_44920726/article/details/123678808</guid><author>qq_44920726</author><pubDate>Sat, 26 Mar 2022 10:00:00 +0800</pubDate><description><![CDATA[1、岛屿的最大面积


给你一个大小为 m x n 的二进制矩阵 grid 。

岛屿 是由一些相邻的 1 (代表土地) 构成的组合，这里的「相邻」要求两个 1 必须在 水平或者竖直的四个方向上 相邻。你可以假设 grid 的四个边缘都被 0（代表水）包围着。

岛屿的面积是岛上值为 1 的单元格的数目。

计算并返回 grid 中最大的岛屿面积。如果没有岛屿，则返回面积为 0 。





时间复杂度：$O(m*n)
空间复杂度：$O(1)



class Solution {
	int sum =..]]></description><category></category></item><item><title><![CDATA[每日十道算法]]></title><link>https://blog.csdn.net/qq_44920726/article/details/123677180</link><guid>https://blog.csdn.net/qq_44920726/article/details/123677180</guid><author>qq_44920726</author><pubDate>Fri, 25 Mar 2022 10:00:00 +0800</pubDate><description><![CDATA[1、二叉树的最近公共祖先


给定一个二叉树, 找到该树中两个指定节点的最近公共祖先。

百度百科中最近公共祖先的定义为：“对于有根树 T 的两个节点 p、q，最近公共祖先表示为一个节点 x，满足 x 是 p、q的祖先且 x 的深度尽可能大（一个节点也可以是它自己的祖
先）。”









/**
 * Definition for a binary tree node.
 * public class TreeNode {
 *     int val;
 *     TreeNode lef...]]></description><category></category></item><item><title><![CDATA[每日十道算法]]></title><link>https://blog.csdn.net/qq_44920726/article/details/123646701</link><guid>https://blog.csdn.net/qq_44920726/article/details/123646701</guid><author>qq_44920726</author><pubDate>Thu, 24 Mar 2022 10:00:00 +0800</pubDate><description><![CDATA[1、完全二叉树的节点个数


给你一棵 完全二叉树 的根节点 root ，求出该树的节点个数。

完全二叉树 的定义如下：在完全二叉树中，除了最底层节点可能没填满外，其余每层节点数都达到最大值，并且最下面一层的节点都集中在该层最左边的若干位置。若最底层为第 h 层，则该层包含 1~ 2h 个节点。







/**
 * Definition for a binary tree node.
 * public class TreeNode {
 *     int val;
 *     TreeN..]]></description><category></category></item></channel></rss>