【NLP輿情分析】基于python微博輿情分析可視化系統(flask+pandas+echarts) 視頻教程 - 主頁布局實現

大家好,我是java1234_小鋒老師,最近寫了一套【NLP輿情分析】基于python微博輿情分析可視化系統(flask+pandas+echarts)視頻教程,持續更新中,計劃月底更新完,感謝支持。今天講解主頁布局實現

視頻在線地址:

2026版【NLP輿情分析】基于python微博輿情分析可視化系統(flask+pandas+echarts+爬蟲) 視頻教程 (火爆連載更新中..)_嗶哩嗶哩_bilibili

課程簡介:

本課程采用主流的Python技術棧實現,Mysql8數據庫,Flask后端,Pandas數據分析,前端可視化圖表采用echarts,以及requests庫,snowNLP進行情感分析,詞頻統計,包括大量的數據統計及分析技巧。

實現了,用戶登錄,注冊,爬取微博帖子和評論信息,進行了熱詞統計以及輿情分析,以及基于echarts實現了數據可視化,包括微博文章分析,微博IP分析,微博評論分析,微博輿情分析。最后也基于wordcloud庫實現了詞云圖,包括微博內容詞云圖,微博評論詞云圖,微博評論用戶詞云圖等功能。

主頁布局實現

主頁我們分析后發現,每個頁面都有很多公共的內容,比如頭部信息,左側菜單,底部信息,這些是不變的。唯一邊的就是右側內容,以及標題。所以我們把公共的內容抽取,放到base.html里面去,然后其他頁面模塊集成base.html,再去重寫內容和標題即可。jinjia模版引擎都支持,我們在flask課程中也講過。

base.html

<!doctype html>
<html lang="en">
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>{% block title %}首頁{% endblock %}</title><link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/x-icon"><link rel="stylesheet" href="/static/css/backend-plugin.min.css"><link rel="stylesheet" href="/static/css/backend.css">
</head>
<body class="  ">
<!-- loader Start -->
<div id="loading"><div id="loading-center"></div>
</div>
<!-- loader END -->
<!-- Wrapper Start -->
<div class="wrapper"><div class="iq-sidebar  sidebar-default  "><div class="iq-sidebar-logo d-flex align-items-end justify-content-between"><a href="" class="header-logo"><img src="/static/picture/logo.png" class="img-fluid rounded-normal light-logo" alt="logo"><img src="/static/picture/logo-dark.png" class="img-fluid rounded-normal d-none sidebar-light-img"alt="logo"><span>微博輿情數據分析</span></a><div class="side-menu-bt-sidebar-1"><svg xmlns="http://www.w3.org/2000/svg" class="text-light wrapper-menu" width="30" fill="none"viewbox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"d="M6 18L18 6M6 6l12 12"></path></svg></div></div><div class="data-scrollbar" data-scroll="1"><nav class="iq-sidebar-menu"><ul id="iq-sidebar-toggle" class="side-menu"><li class="active sidebar-layout"><a href="/page/home" class="svg-icon"><i class=""><svg xmlns="http://www.w3.org/2000/svg" width="18" fill="none" viewbox="0 0 24 24"stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"></path></svg></i><span class="ml-2">首頁</span></a></li><li class="px-3 pt-3 pb-2 "><span class="text-uppercase small font-weight-bold">輿情分析</span></li><li class=" sidebar-layout"><a href="/page/hotWord" class="svg-icon "><i class=""><svg xmlns="http://www.w3.org/2000/svg" width="18" fill="none" viewbox="0 0 24 24"stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"></path></svg></i><span class="ml-2">微博熱詞統計</span></a></li><li class=" sidebar-layout"><a href="/page/articleData" class="svg-icon"><i class=""><svg xmlns="http://www.w3.org/2000/svg" width="18" fill="none" viewbox="0 0 24 24"stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"d="M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z"></path></svg></i><span class="ml-2">微博輿情分析</span></a></li>
?<li class="px-3 pt-3 pb-2"><span class="text-uppercase small font-weight-bold">數據可視化</span></li><li class=" sidebar-layout"><a href="/page/articleDataAnalysis" class="svg-icon"><i class=""><svg xmlns="http://www.w3.org/2000/svg" width="18" fill="none" viewbox="0 0 24 24"stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"></path></svg></i><span class="ml-2">微博文章分析</span></a></li><li class=" sidebar-layout"><a href="/page/ipDataAnalysis" class="svg-icon"><i class=""><svg class="svg-icon" id="iq-user-1-1" xmlns="http://www.w3.org/2000/svg" fill="none"viewbox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"d="M5.121 17.804A13.937 13.937 0 0112 16c2.5 0 4.847.655 6.879 1.804M15 10a3 3 0 11-6 0 3 3 0 016 0zm6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg></i><span class="ml-2">微博IP分析</span></a></li>
?
?<li class=" sidebar-layout"><a href="/page/commentDataAnalysis" class="svg-icon"><i class=""><svg xmlns="http://www.w3.org/2000/svg" width="18" fill="none" viewbox="0 0 24 24"stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"d="M19.428 15.428a2 2 0 00-1.022-.547l-2.387-.477a6 6 0 00-3.86.517l-.318.158a6 6 0 01-3.86.517L6.05 15.21a2 2 0 00-1.806.547M8 4h8l-1 1v5.172a2 2 0 00.586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 009 10.172V5L8 4z"></path></svg></i><span class="ml-2">微博評論分析</span></a></li><li class=" sidebar-layout"><a href="/page/sentimentAnalysis" class="svg-icon"><i class=""><svg xmlns="http://www.w3.org/2000/svg" width="18" fill="none" viewbox="0 0 24 24"stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"d="M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"></path></svg></i><span class="ml-2">微博輿情分析</span></a></li>
?<li class="px-3 pt-3 pb-2"><span class="text-uppercase small font-weight-bold">詞云圖</span></li><li class=" sidebar-layout"><a href="/page/articleCloud" class="svg-icon"><i class=""><svg class="svg-icon" id="iq-chart-1" width="18" xmlns="http://www.w3.org/2000/svg"fill="none" viewbox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"d="M8 13v-1m4 1v-3m4 3V8M8 21l4-4 4 4M3 4h18M4 4h16v12a1 1 0 01-1 1H5a1 1 0 01-1-1V4z"style="stroke-dasharray: 96, 116; stroke-dashoffset: 0;"></path></svg></i><span class="ml-2">微博內容詞云圖</span></a></li><li class=" sidebar-layout"><a href="/page/commentCloud" class="svg-icon"><i class=""><svg class="svg-icon" id="iq-chart-1" width="18" xmlns="http://www.w3.org/2000/svg"fill="none" viewbox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"d="M8 13v-1m4 1v-3m4 3V8M8 21l4-4 4 4M3 4h18M4 4h16v12a1 1 0 01-1 1H5a1 1 0 01-1-1V4z"style="stroke-dasharray: 96, 116; stroke-dashoffset: 0;"></path></svg></i><span class="ml-2">微博評論詞云圖</span></a></li><li class=" sidebar-layout"><a href="/page/commentUserCloud" class="svg-icon"><i class=""><svg class="svg-icon" id="iq-chart-1" width="18" xmlns="http://www.w3.org/2000/svg"fill="none" viewbox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"d="M8 13v-1m4 1v-3m4 3V8M8 21l4-4 4 4M3 4h18M4 4h16v12a1 1 0 01-1 1H5a1 1 0 01-1-1V4z"style="stroke-dasharray: 96, 116; stroke-dashoffset: 0;"></path></svg></i><span class="ml-2">微博評論用戶詞云圖</span></a></li></ul></nav><div class="pt-5 pb-5"></div></div></div><div class="iq-top-navbar"><div class="iq-navbar-custom"><nav class="navbar navbar-expand-lg navbar-light p-0"><div class="side-menu-bt-sidebar"><svg xmlns="http://www.w3.org/2000/svg" class="text-secondary wrapper-menu" width="30" fill="none"viewbox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"d="M4 6h16M4 12h16M4 18h16"></path></svg></div><div class="d-flex align-items-center">
?<button class="navbar-toggler" type="button" data-toggle="collapse"data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"aria-label="Toggle navigation"><svg xmlns="http://www.w3.org/2000/svg" class="text-secondary" width="30" fill="none"viewbox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"d="M4 6h16M4 12h16m-7 6h7"></path></svg></button><div class="collapse navbar-collapse" id="navbarSupportedContent"><ul class="navbar-nav ml-auto navbar-list align-items-center">
?<li class="nav-item nav-icon dropdown"><a href="#" class="nav-item nav-icon dropdown-toggle pr-0 search-toggle"id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true"aria-expanded="false">
?<span class="mb-0 ml-2 user-name">當前用戶:{{ session['user'][1] }}&nbsp;&nbsp;&nbsp;</span></a><ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuButton"><li class="dropdown-item  d-flex svg-icon border-top"><svg class="svg-icon mr-0 text-secondary" id="h-05-p" width="20"xmlns="http://www.w3.org/2000/svg" fill="none" viewbox="0 0 24 24"stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"></path></svg><a href="/user/logout">安全退出</a></li></ul></li></ul></div><div class="change-mode"><div class="custom-control custom-switch custom-switch-icon custom-control-inline"><div class="custom-switch-inner"><p class="mb-0"></p><input type="checkbox" class="custom-control-input" id="dark-mode" data-active="true"><label class="custom-control-label" for="dark-mode" data-mode="toggle"><span class="switch-icon-right"><svg xmlns="http://www.w3.org/2000/svg" id="h-moon" height="20" width="20"class="h-6 w-6" fill="none" viewbox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"d="M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"></path></svg></span><span class="switch-icon-left"><svg xmlns="http://www.w3.org/2000/svg" id="h-sun" height="20" width="20"class="h-6 w-6" fill="none" viewbox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"d="M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"></path></svg></span></label></div></div></div></div></nav></div></div><div class="content-page">{% block content %}{% endblock %}</div>
</div>
<!-- Wrapper End-->
<footer class="iq-footer"><div class="container-fluid"><div class="row"><div class="col-lg-6">
?</div><div class="col-lg-6 text-right"><span class="mr-1">Copyright &copy; 2025 python222 All rights reserved.<a target="_blank"href="http://www.python222.com">Python知識分享網</a></span></div></div></div>
</footer>
<script src="/static/js/backend-bundle.min.js"></script>
<script src="/static/js/customizer.js"></script>
<script src="/static/js/sidebar.js"></script>
<script src="/static/js/flex-tree.min.js"></script>
<script src="/static/js/tree.js"></script>
<script src="/static/js/table-treeview.js"></script>
<script src="/static/js/sweetalert.js"></script>
<script src="/static/js/vector-map-custom.js"></script>
<script src="/static/js/chart-custom.js"></script>
<script src="/static/js/01.js"></script>
<script src="/static/js/02.js"></script>
<script src="/static/js/slider.js"></script>
<script src="/static/js/index.js" type="module"></script>
<script src="/static/js/app.js"></script>
<script src="/static/js/echarts.min.js"></script>
<script src="/static/js/china.js"></script>
?
{% block echarts %}
{% endblock %}
</body>
</html>

index.html

{% extends 'base.html' %}
{% block title %}首頁{% endblock %}
{% block content %}<div class="container-fluid"><div class="row"><div class="col-md-12 mb-4 mt-1"><div class="d-flex flex-wrap justify-content-between align-items-center"><h4 class="font-weight-bold">首頁</h4>
?</div></div><div class="col-lg-8 col-md-12"><div class="row"><div class="col-md-4"><div class="card"><div class="card-body"><div class="d-flex align-items-center"><div class=""><p class="mb-2 text-secondary">微博文章總量</p><div class="d-flex flex-wrap justify-content-start align-items-center"><h5 class="mb-0 font-weight-bold" id="totalArticle">無數據</h5>
?</div></div></div></div></div></div><div class="col-md-4"><div class="card"><div class="card-body"><div class="d-flex align-items-center"><div class=""><p class="mb-2 text-secondary">最高點贊微博-作者</p><div class="d-flex flex-wrap justify-content-start align-items-center"><h5 class="mb-0 font-weight-bold" id="topAuthor">無數據</h5>
?</div></div></div></div></div></div><div class="col-md-4"><div class="card"><div class="card-body"><div class="d-flex align-items-center"><div class=""><p class="mb-2 text-secondary">微博點贊最多-城市</p><div class="d-flex flex-wrap justify-content-start align-items-center"><h5 class="mb-0 font-weight-bold" id="topRegion">無數據</h5>
?</div></div></div></div></div></div><div class="col-md-12"><div class="card"><div class="card-body"><div class="d-flex justify-content-between align-items-center flex-wrap"><h4 class="font-weight-bold">最近七天微博發布量</h4>
?</div><div id="article7fbl" style="width: 100%;height: 300px" class="custom-chart"></div></div></div></div></div></div><div class="col-lg-4 col-md-8"><div class="card card-block card-stretch card-height"><div class="card-header card-header-border d-flex justify-content-between"><div class="header-title"><h4 class="card-title">微博點贊量Top6</h4></div></div><div class="card-body-list"><ul class="list-style-3 mb-0" id="topArticle">
?</ul></div></div>
?</div><div class="col-lg-4 col-md-6"><div class="card"><div class="card-body"><h4 class="font-weight-bold mb-3">微博類型占比餅狀圖</h4><div id="articleTypeZb" style="width:100%;height:450px"></div></div></div></div><div class="col-lg-4 col-md-6"><div class="card"><div class="card-body"><h4 class="font-weight-bold mb-3">評論用戶名詞云圖</h4><img style="width:100%" src="/static/comment_user_cloud.jpg" alt=""></div></div></div><div class="col-lg-4 col-md-6"><div class="card"><div class="card-body"><h4 class="font-weight-bold mb-3">評論用戶時間占比環形餅狀圖</h4><div id="commentUserZb" style="width:100%;height:450px"></div></div></div></div></div><!-- Page end  --></div>
{% endblock %}
{% block echarts %}
?
{% endblock %}

page / page.py里加下 主頁跳轉:

@pb.route('/home')
def home():return render_template('index.html')

從session中獲取當前用戶信息,顯示當前登錄的用戶名

當前用戶:{{ session['user'][1] }}

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/web/90070.shtml
繁體地址,請注明出處:http://hk.pswp.cn/web/90070.shtml
英文地址,請注明出處:http://en.pswp.cn/web/90070.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

# 微調需要準備哪些環境配置?

微調需要準備哪些環境配置&#xff1f; 如果沒有 GPU&#xff0c;即便是微調較小的大語言模型&#xff08;LLMs&#xff09;&#xff0c;過程也會比較慢。如果你已經有了現成的 GPU&#xff0c;那就可以直接開工了。不過&#xff0c;并不是所有人都能負擔得起 GPU—— 這種情況…

ClickHouse物化視圖避坑指南:原理、數據遷移與優化

摘要ClickHouse物化視圖通過預計算和自動更新機制&#xff0c;顯著提升大數據分析查詢性能&#xff0c;尤其適合高并發聚合場景。本文將深入解析其技術原理、生產實踐中的優化策略&#xff0c;以及數據遷移的實戰經驗。一、物化視圖核心概念ClickHouse的物化視圖(Materialized …

Springboot3整合Elasticsearch8(elasticsearch-java)

1、Elasticsearch的JAVA客戶端選擇 Elasticsearch官方支持的客戶端 客戶端名稱簡介使用建議Elasticsearch Java API Client&#xff08;新客戶端&#xff09;官方推薦的新客戶端&#xff0c;基于 JSON Mapping&#xff08;如 ElasticsearchClient 類&#xff09;&#xff0c;…

OpenCV 官翻8 - 其他算法

文章目錄高動態范圍成像引言曝光序列源代碼示例圖像說明結果色調映射圖像曝光融合附加資源高級圖像拼接 API&#xff08;Stitcher 類&#xff09;目標代碼說明相機模型試用指南圖像拼接詳解 (Python OpenCV >4.0.1)stitching_detailed如何使用背景減除方法目標代碼代碼解析結…

2025年一區SCI-回旋鏢氣動橢圓優化算法Boomerang Aerodynamic Ellipse-附Matlab免費代碼

引言 本期介紹一種新的元啟發式算法——回旋鏢氣動橢圓優化算法Boomerang Aerodynamic Ellipse Optimizer (BAEO)。該優化器的靈感來自于飛行中的回旋鏢的空氣動力學行為&#xff0c;明確地建模了釋放角和發射力如何塑造其軌跡。于2025年7月最新發表在JCR 1區&#xff0c;中科…

Custom SRP - Custom Render Pipeline

https://catlikecoding.com/unity/tutorials/custom-srp/custom-render-pipeline/ 1. 新建 Render Pipeline 任何內容的渲染&#xff0c;最終都是要由 unity 決定在哪里&#xff0c;什么時候&#xff0c;以哪些參數進行渲染。根據目標效果的復雜程度&#xff0c;決定渲染的過程…

C語言面向對象編程

1.內核通用鏈表一、什么是 list_head&#xff1f;list_head 是 Linux 內核中自己實現的一種 雙向循環鏈表 的結構&#xff0c;定義在 <linux/list.h> 中。它設計得非常輕巧、靈活&#xff0c;廣泛用于內核模塊、驅動、進程調度、網絡協議棧等。它的關鍵思想是&#xff1a…

Spring Boot+Redis Zset:三步構建高可靠延遲隊列系統

系統設計架構圖---------------- ----------------- ---------------- | | | | | | | 生產者 |------>| Redis ZSet |------>| 定時任務消費者 | | (添加延遲任務) | | (延…

MCP vs 傳統集成方案:REST API、GraphQL、gRPC的終極對比

MCP vs 傳統集成方案&#xff1a;REST API、GraphQL、gRPC的終極對比 &#x1f31f; Hello&#xff0c;我是摘星&#xff01; &#x1f308; 在彩虹般絢爛的技術棧中&#xff0c;我是那個永不停歇的色彩收集者。 &#x1f98b; 每一個優化都是我培育的花朵&#xff0c;每一個特…

SQL語句中鎖的使用與優化

一、鎖機制簡介1.定義在數據庫中&#xff0c;除了傳統的計算資源&#xff08;如CPU、RAM、I/O等&#xff09;的爭用以外&#xff0c;數據也是一種供需要用戶共享的資源。如何保證數據并發訪問的一致性、有效性是所有數據庫必須解決的一個問題&#xff0c;鎖沖突也是影響數據庫并…

Linux筆記1——簡介安裝

操作系統給用戶一個操作界面&#xff0c;用戶通過操作界面使用系統資源Linux內核管理控制硬件&#xff0c;和硬件打交道SCSI&#xff08;盤&#xff09;sd**;第一個*表示磁盤順序&#xff0c;第二個*表示分區。例如&#xff1a;sda\sdb\sdc,sda1,sda2NVMe&#xff08;盤&#x…

GoLand 部署第一個項目

前言&#xff1a;Go環境部署分為兩種模式&#xff0c;一種是基于GOPATH部署&#xff08;老版本&#xff09;&#xff0c;另一種是基于Module部署&#xff08;新版本v1.11開始&#xff09;。GOPATH&#xff1a;需要配置GOPATH路徑&#xff0c;將GOPATH目錄視為工作目錄&#xff…

Mosaic數據增強介紹

1. 核心概念與目標Mosaic 是一種在計算機視覺&#xff08;尤其是目標檢測任務&#xff09;中非常流行且強大的數據增強技術。它最早由 Ultralytics 的 Alexey Bochkovskiy 在 YOLOv4 中提出并推廣&#xff0c;后來被廣泛應用于 YOLOv5, YOLOv7, YOLOv8 等模型以及其他目標檢測框…

LINUX 722 邏輯卷快照

邏輯卷快照 lvcreate -L 128M -s -n lv1-snap /dev/vg1/lv1 lvs lvscan mount -o ro /dev/vg1/lv1 /mmt/lv1-snap dmsetup ls --tree 測試 lvs /dev/vg1/lv1-snap dd if/dev/zero of/uc1/test bs1M count40 lvs /dev/vg1/lv1-snap 問題 [rootweb ~]# cd /mnt [rootweb mnt]# m…

Springboot+vue個人健康管理系統的設計與實現

文章目錄前言詳細視頻演示具體實現截圖后端框架SpringBoot前端框架Vue持久層框架MyBaits成功系統案例&#xff1a;代碼參考數據庫源碼獲取前言 博主介紹:CSDN特邀作者、985高校計算機專業畢業、現任某互聯網大廠高級全棧開發工程師、Gitee/掘金/華為云/阿里云/GitHub等平臺持續…

數據結構 --棧和隊鏈

一.棧的概念一種特殊的線性表&#xff0c;只能從固定的一端插入和刪除元素。棧中元素遵循先進后出的原則。二.模擬實現public class MyStack {public int size;public int[] array;public MyStack(){array new int[10];}private void grow(){array Arrays.copyOf(array,array…

文檔處理控件TX Text Control系列教程:使用 C# .NET 將二維碼添加到 PDF 文檔

PDF 文檔通常是合同、發票、證書和報告的最終格式。盡管它們在設計上是靜態的&#xff0c;但用戶現在希望能夠與它們交互、驗證信息并直接從這些文件訪問數字服務。這時&#xff0c;二維碼就變得至關重要。 PDF 文檔中的二維碼將印刷或數字內容與動態在線體驗連接起來。用戶只需…

Google Chrome 谷歌瀏覽器全部版本集合

Google Chrome 谷歌瀏覽器全部版本集合 Collection of all software versions of Google Chrome. 項目介紹 本項目為Google Chrome谷歌瀏覽器的全部版本集合&#xff0c;方便大家下載舊版本使用。 因為Gitee項目限制倉庫1G大小&#xff0c;所以許多谷歌瀏覽器版本無法上傳。…

論文略讀:Towards Safer Large Language Models through Machine Unlearning

ACL 2024大型語言模型&#xff08;LLMs&#xff09;的迅猛發展展現了其在多個領域的巨大潛力&#xff0c;這主要得益于其廣泛的預訓練知識和出色的泛化能力。然而&#xff0c;當面對問題性提示&#xff08;problematic prompts&#xff09;時&#xff0c;LLMs 仍然容易生成有害…

深度學習 ---參數初始化以及損失函數

深度學習 —參數初始化以及損失函數 文章目錄深度學習 ---參數初始化以及損失函數一&#xff0c;參數初始化1.1 固定值初始化1.1.1 全0初始化1.1.2 全1初始化1.3 任意常數初始化1.2 隨機初始化一&#xff0c;參數初始化 神經網絡的參數初始化是訓練深度學習模型的關鍵步驟之一…