<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Python on AI进行时</title><link>/tags/python/</link><description>Recent content in Python on AI进行时</description><generator>Hugo -- gohugo.io</generator><copyright>Copyright © 2019-2022 . All Rights Reserved.</copyright><lastBuildDate>Mon, 07 Nov 2022 15:53:21 +0800</lastBuildDate><atom:link href="/tags/python/index.xml" rel="self" type="application/rss+xml"/><item><title>Matplot画图Firuge中插入Lgb等其他的Axes值</title><link>/news/2022/11/matplot%E7%94%BB%E5%9B%BEfiruge%E4%B8%AD%E6%8F%92%E5%85%A5lgb%E7%AD%89%E5%85%B6%E4%BB%96%E7%9A%84axes%E5%80%BC/</link><pubDate>Mon, 07 Nov 2022 15:53:21 +0800</pubDate><guid>/news/2022/11/matplot%E7%94%BB%E5%9B%BEfiruge%E4%B8%AD%E6%8F%92%E5%85%A5lgb%E7%AD%89%E5%85%B6%E4%BB%96%E7%9A%84axes%E5%80%BC/</guid><description>Matplot画图时，需要把其他算法生成的图插入到plt的Figure中进行替换 直接上代码 # Importing library import matplotlib.pyplot as plt import lightgbm as lgb import numpy as np x_train = np.random.random((1000, 10)) y_train = np.random.rand(1000) &amp;gt; 0.5 x_test</description></item></channel></rss>