logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

leetcode Add Digits

leetcode Add Digits解题思路:枚举20个元素,观察规律。num%9==0 返回9 否则返回余数。package com.algorithm.leetcode.twomonth;public class Test54 {public static void main(String[] args) {int num=38;i...

springboot 整合kaptcha 实现图片的验证

1.pom 文件<!-- kaptcha验证码 --><dependency><groupId>com.github.penggle</groupId><artifactId>kaptcha</artifactId><version>2.3.2</version>...

ceph 分布式文件存储部署

1.什么是cephrook是云原生的存储编排器,为各种云原生存储解决方案提供平台ceph是一个高度可扩展的分布式存储解决方案,用于块存储、对象存储和共享文件系统2.ceph的安装步骤git clone --single-branch --branch v1.8.0 https://github.com/rook/rook.gitcd rook/deploy/exampleskubectl crea

文章图片
#ceph
mybatis pagehelper 插件

pagehelper 插件pom.xml<!--mybatis分页插件--><dependency><groupId>com.github.pagehelper</groupId><artifactId>pagehelper-spring-boot-start

springboot 启动项目,运行自己写的代码

创建StartWeb类实现ApplicationRunner接口代码:@Component@Order(value = 1)public class StartWeb implements ApplicationRunner {@Autowiredprivate VerifyLicense verifyLicense;@Overridepub...

spark wordcount 单词统计

spark wordcount 单词统计文件1.txthello worldhello tomhello lucytom lucyhello python# -*- coding:utf-8 -*-import osimport shutilfrom pyspark import SparkContextinputpath = '1.txt'outputpat...

matplot 绘图

matplot 绘图#!/usr/bin/python# -*- coding:utf-8 -*-from matplotlib importpyplot as pltimport matplotlibimport randomdef mymatplotlib():x=range(2,26,2)print(list(x))y=[15,13,14....

tensorflow 自己手动实现的线性回归

tensorflow 自己手动实现的线性回归#!/usr/bin/python# -*- coding:utf-8 -*-import tensorflow as tfimport os# 第二个参数是默认值tf.app.flags.DEFINE_integer("max_iter", 100, "迭代次数")tf.app.flags.DEFINE_stri

自己手写BM25算法

python 实现 BM25 算法#!/usr/bin/env python# -*- coding: utf-8 -*-# @Time: 2020/7/30 20:50# @Author: fuGuoWen# @Site:# @File: test06.py# @Software: PyCharmimport mathclass BM25(object):def __init__(self, d

逻辑斯特回归---良性/恶性肿瘤的分类

逻辑斯特回归---良性/恶性肿瘤的分类#!/usr/bin/python# -*- coding:utf-8 -*-import pandas as pdimport numpy as npfrom sklearn.model_selection import train_test_splitfrom sklearn.preprocessing import StandardSca...

暂无文章信息