自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

原创 C#WPF入门

1.引言WPF(Windows Presentation Fundation)是基于windows窗口的用户界面(User Interface)框架,在.NET framework框架下,开发交互图形界面。它支持多种设计方法,可直接使用工具箱拖拽创建控件,也可以通过xmal,cs语言接口设计。在cs内编辑控件触发事件函数,实现交互算法设计。本次实验完成简易计算机的ui设计,及其功能实现...

2018-11-24 17:16:21 20278 1

原创 codes

import numpy as npimport matplotlib.pyplot as pltfrom sklearn import datasetsfrom sklearn import linear_modelfrom mpl_toolkits.mplot3d import Axes3Ddef sigmoid(x): return 1 / (1 + np.exp(-x)

2017-12-19 21:18:11 219

原创 关于LogisticRegression及其应用

1.算法简介Logistic回归是在线性回归基础上,针对线性回归的缺陷(误差统计独立假设,从属关系函数非概率)进行改进后的算法。它将目标变量进行转换后,在此基础上建立线性模型。变换过程为logit transformation:logit(pro) = log(pro) / (1 - log(pro))。其逆变换为sigmoid transformation:sigm(x) = 1 / (1

2017-12-17 11:33:27 3718

原创 单页爬虫

1.项目简介任务:爬取某基金网站数据, 以单页单条模式存储。 性能:抓取各式数据,以dict模式存入数据库,以json模式导出到文本。最后实现90分钟内对全站约3500支基金数据更新, 约100条error。2.版块说明List_page.py 简单抓取列表页面基金代号,方便后面到url队列生成。Crawl.py 分为Gen, Parse, Clean三个部分。 Gen为url队列生成, P

2017-11-30 21:01:28 689

原创 scrapy framework

I learned scrapy these days. And wrote something out from it.To grasp the courses info on icourse.com.(in fact, I tried to grasp something else, and I found lots of pages are js in it)Not

2017-11-09 21:25:25 194

原创 Python connects to MongDB

Today, I finished the connection work from Python to MongDB. It uses the module pymongo for purpose.I'll give the codes directly, because it's very cold here, and I gotto go now...import

2017-10-31 17:28:14 210

原创 My first Crawler

I wrote some crwalers these days, not so strong though. But it feels terific when they get the data back.Here some points which I value very important in the process.1. HTML parsing: I use

2017-10-27 17:05:50 171

原创 BOM header

Today, I played with Bs4 package, It works nicely on the htmtl parsing.I've always heard how troublesome it is about the enconds model in Python, and different versions. And I encoutered the stu

2017-10-24 16:36:06 364

原创 Python practice

Today, I try to use the modules in Python, and downloaded some popular modules. The BeautifulSoup and Requests..And I start to write more advanced program with data structure. I tried the que in

2017-10-23 16:55:02 291

原创 Python practice

Today, I learn to use the commanding prompt of python(python shell). And also practice some easy syntax in python.Here is an easy sorting function I wrote : num = []tot = int(input("pleas

2017-10-22 17:29:07 260

原创 Some notes as a beginner.

1. The concept of "Nosql"Most NoSQL stores lack true ACID transactions.  And this could leads to a problem called "stale reads".And some NoSQL systems may exhibit lost writes and other forms of

2017-10-21 17:02:02 212

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除