啦啦啦mmm
码龄6年
关注
提问 私信
  • 博客:15,771
    15,771
    总访问量
  • 37
    原创
  • 2,299,705
    排名
  • 8
    粉丝
  • 0
    铁粉

个人简介:记录成长的脚步

IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:山东省
  • 加入CSDN时间: 2019-09-01
博客简介:

qq_45593796的博客

查看详细资料
个人成就
  • 获得10次点赞
  • 内容获得12次评论
  • 获得44次收藏
  • 代码片获得102次分享
创作历程
  • 9篇
    2020年
  • 28篇
    2019年
成就勋章
TA的专栏
  • python
兴趣领域 设置
  • 大数据
    hadoop
  • 前端
    css
  • 人工智能
    数据分析
  • 学习和成长
    面试
  • 用户体验设计
    photoshop
创作活动更多

新星杯·14天创作挑战营·第9期

这是一个以写作博客为目的的创作活动,旨在鼓励大学生博主们挖掘自己的创作潜能,展现自己的写作才华。如果你是一位热爱写作的、想要展现自己创作才华的小伙伴,那么,快来参加吧!我们一起发掘写作的魅力,书写出属于我们的故事。我们诚挚邀请你们参加为期14天的创作挑战赛! 注: 1、参赛者可以进入活动群进行交流、分享创作心得,互相鼓励与支持(开卷),答疑及活动群请见 https://bbs.csdn.net/topics/619626357 2、文章质量分查询:https://www.csdn.net/qc

474人参与 去参加
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

人工神经网络手写数字

import sklearnimport matplotlib.pyplot as pltfrom tensorflow import kerasfrom sklearn.preprocessing import StandardScalerimport numpy as npimport pandas as pdtrain_data=pd.read_excel(r"C:\Users\Desktop\train.xlsx")test_data=pd.read_excel(r"C:\Users\
原创
发布博客 2020.07.05 ·
1806 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

海明码

#include<bits/stdc++.h>using namespace std;int d=0;char * encodinghamming(char * code){ char* encode; while(pow(2,d)<strlen(code)+d+1) d++; cout<<"添加的校验位为"<<d<<"位"<<endl; int t=0;int s=0; for
原创
发布博客 2020.07.03 ·
262 阅读 ·
1 点赞 ·
0 评论 ·
1 收藏

kmeans聚类

import randomimport pandas as pdimport numpy as npimport matplotlib.pyplot as plt# 计算欧拉距离def calcDis(dataSet, centroids, k): clalist=[] for data in dataSet: diff = np.tile(data, (k, 1)) - centroids #相减 (np.tile(a,(2,1))就是把a先沿x轴复制1倍
原创
发布博客 2020.06.19 ·
419 阅读 ·
0 点赞 ·
1 评论 ·
2 收藏

sql server基本语句

create database SCH_ID;use SCH_IDGocreate table S(sno char(9) primary key,sname char(20),sex char(2),age smallint,dno char(4));use SCH_IDGoinsert into S values('s1','小明','男',20,'D1');inse...
原创
发布博客 2020.04.17 ·
336 阅读 ·
1 点赞 ·
1 评论 ·
3 收藏

python---爬虫通用框架

import requestsdef getHTMLText(url): try: r=requests.get(url,timeout=30) r.raise_for_status() r.encoding=r.apparent_encoding return r.text except: retu...
原创
发布博客 2020.01.03 ·
158 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

python连接数据库

31页from bs4 import BeautifulSoupfrom collections import Counterfrom nltk.corpus import stopwordsfrom nltk import LancasterStemmerimport urllib.requestURL=input("Enter a website")with urllib.req...
原创
发布博客 2020.01.03 ·
115 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

python---生成alco

import pandas as pdimport numpy as npFilename = r'F:\信科工作文件\课件\数据科学入门课件\alco_2.xlsx'df = pd.DataFrame(pd.read_excel(Filename))#读入第一列数据——Statedf_index=df['State']#去掉州列表中的重复项df_index = df_index...
原创
发布博客 2020.01.03 ·
148 阅读 ·
0 点赞 ·
1 评论 ·
0 收藏

python---读取alco2009

# -*- coding: utf-8 -*-"""Created on Wed Mar 27 19:44:59 2019@author: Emma"""#简单导入代码import pandas as pdimport numpy as npFilename = r'F:\信科工作文件\课件\数据科学入门课件\alco2009.xlsx'alco2009 = pd.DataF...
原创
发布博客 2020.01.03 ·
118 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

python boders数据读取

import pandas as pdimport numpy as npFilename = r'F:\数据科学入门课件\territories.xlsx'df = pd.DataFrame(pd.read_excel(Filename))Filename = r'F:\数据科学入门课件\area_length_2.xlsx'df2 = pd.DataFrame(pd.read_exc...
原创
发布博客 2020.01.03 ·
162 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

分支限界----最优装载

#include<iostream>#include<bits/stdc++.h>using namespace std;int MaxLoading(int w[],int c,int n){ queue<int>Q; int bestw=0; int i=1; int ew=0; int r=0; f...
原创
发布博客 2019.12.30 ·
276 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

分支限界---单源最短路径

#分支限界---单源最短路径#include<iostream>#include<bits/stdc++.h>using namespace std;#define inf 0x3f3f3fint c[100][100];int dist[100];int prev[100];int n;struct Vex{ int i; int le...
原创
发布博客 2019.12.17 ·
773 阅读 ·
0 点赞 ·
0 评论 ·
4 收藏

回溯---旅行售货员

#include<iostream>#include<bits/stdc++.h>using namespace std;#define inf 0x3f3f3fint bestx[1000];int x[1000];int cc=0;int bestc=inf;int a[100][100];int n;void swap(int &a,in...
原创
发布博客 2019.12.14 ·
99 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

数值分析---改进的欧拉公式

#include<iostream>#include<bits/stdc++.h>using namespace std;float f(float x,float y){ return y-2*x/y;}void Euler(float x,float y,int N){ float yc,yp; float h=0.1; ...
原创
发布博客 2019.12.14 ·
2150 阅读 ·
1 点赞 ·
0 评论 ·
5 收藏

数值分析---牛顿插值

#include<iostream>#include<bits/stdc++.h>using namespace std;float m[100][100];float Newton(float x[],float y[],int n,float t){ int r=1; memset(m,0.0,sizeof(m)); float va...
原创
发布博客 2019.12.14 ·
170 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

数值分析--拉格朗日插值

#include<iostream>#include<bits/stdc++.h>using namespace std;float lagrange(float x[],float y[],int n,float t){ float value=0.0; float temp1,temp2; for(int i=0; i<n; i+...
原创
发布博客 2019.12.14 ·
265 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

贪心---哈夫曼编码---优先队列

#include<iostream>#include<queue>#include<bits/stdc++.h>using namespace std;struct Element{ int parent; int lchild; int rchild; int weight; int num; char...
原创
发布博客 2019.12.05 ·
176 阅读 ·
0 点赞 ·
0 评论 ·
2 收藏

贪心---克鲁斯卡尔算法--最小生成树

#最小生成树---克鲁斯卡尔算法#include <iostream>#include<bits/stdc++.h>#include <queue>using namespace std;struct Edge{ int x, y; int weight; bool operator<(const Edge &...
原创
发布博客 2019.12.05 ·
163 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

贪心--装载问题

#最优装载--贪心#include<iostream>#include<bits/stdc++.h>using namespace std;int sum=0;struct things{ int w; int num;} thing[1000];bool cmp(things a,things b){ if (a.w<b....
原创
发布博客 2019.12.05 ·
95 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

贪心--背包问题

#背包问题#include<iostream>#include<bits/stdc++.h>using namespace std;struct Bag{ double v; double w; double value; int num;} bag[1000];int sum=0;bool cmp(Bag a,Bag b)...
原创
发布博客 2019.12.05 ·
157 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

贪心--活动安排

#贪心算法--活动安排#include<iostream>#include <algorithm>#include<bits/stdc++.h>using namespace std;struct activity{ int s; int f; int num;} act[1000];bool cmp(activity ...
原创
发布博客 2019.12.05 ·
143 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多