logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

git 上传本地代码到远程服务器分支

一 . git的安装和配置1、首先是安装git,这个很简单(Windows)2、其次是在git bash中给git配置环境git config --global user.name = "username"(自己设置的名字)git config --global user.email =="xxx@aaa.com" (有效邮箱)(这里的配置...

#git
多标签分类方法总结——实现方法、评价指标、损失函数

分类一般分为三种情况:二分类、多分类和多标签分类。多标签分类比较直观的理解是,一个样本可以同时拥有几个类别标签,比如一首歌的标签可以是流行、轻快,一部电影的标签可以是动作、喜剧、搞笑,一本书的标签可以是经典、文学等,这都是多标签分类的情况。多标签分类的一个重要特点是样本的所有标签是不具有排他性的。在阅读了一篇类似综述总结的博客后,做了以下总结,主要是实现多标签分类的几种思想,以及在深度网络的背景下

#算法#分类
Python 用pandas读写CSV文件的index和columns细节问题

目录1、生成一个dataframe2、写到csv文件3、读取csv文件4、总结1、生成一个dataframe(1)自己不设置index,程序自动生成indexdata = {'animal': ['cat', 'cat', 'snake', 'dog', 'dog', 'cat', 'snake', 'cat', 'dog', 'dog'],'age': [2.5, 3, 0.5, np.nan,

#python#pandas
BERT原理和结构详解

目录1. 模型输入2. 网络结构2.1 Self-Attention Layer2.2 Layer Normalization3. 模型预训练3.1 训练任务3.2 模型训练设置4. 总结4.1 模型特点4.2 可优化空间5. Reference1. 模型输入在BERT中,输入的向量是由三种不同的embedding求和而成,分别是:wordpiece embedding:单词本身的向量表示。Wor

#算法#nlp
MLP多标签分类实现-tensorflow

#!/usr/bin/env python# -*- coding: utf-8 -*-"""@Time: 2022/3/11 14:33@Author:@File: tf_ml_label.py@ desc:"""import platformimport mathimport tensorflow as tfimport timeimport osimport sysimport numpy

#tensorflow
git 上传本地代码到远程服务器分支

一 . git的安装和配置1、首先是安装git,这个很简单(Windows)2、其次是在git bash中给git配置环境git config --global user.name = "username"(自己设置的名字)git config --global user.email =="xxx@aaa.com" (有效邮箱)(这里的配置...

#git
python 读写mysql数据库(包括批量插入和批量更新)

1、安装python库sqlalchemy2、用法如下from sqlalchemy import create_enginemysql_ip = ""mysql_port = 30000mysql_database = ""mysql_username = ""mysql_password = ""mysql_table = ""engine = create_engine("mysql+pym

#mysql#数据库#python
python 读取Elasticsearch数据

elasticsearch 库pip installelasticsearchfrom elasticsearch import ElasticsearchES_CONF = {"host": "192.168.11.22","port": 9200,"user": "elastic","passwd": "1234"}index = "test_index"def process_func():

#elasticsearch#python
暂无文章信息