老实来讲这课我一头雾水满脑袋问号 import numpy as np from collections import Counter counttime = 0 #统计训练语料:spam 和 ham 各自评论总数,单词频率 def seperate(filename): hamcnt = Coun ...
分类:
编程语言 时间:
2020-11-23 12:07:30
阅读次数:
7
import jiebafrom collections import Counterimport matplotlib.pyplot as pltimport numpy as np class HlmNameCount(): # 此函数用于绘制条形图 def showNameBar(self,n ...
分类:
其他好文 时间:
2020-11-19 12:42:20
阅读次数:
10
lst = [] from collections import Counter l = ['fa|aaaa|fsjkedf|\n', 'sdaffs|asdffdsa|0|0|||a1|a1|a1|\n'] for i in l: lst.extend(i.strip('\n').split('| ...
分类:
编程语言 时间:
2020-11-18 13:14:13
阅读次数:
13
一、事件定义类,即子窗体 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; ...
这次写的是小游戏扫雷,由于时间问题,扫雷的成功失败判断还没有写的很好,只是把大体的思路写出来了。 这次最主要的是有两个类 第一个是地雷类 :lanmine 1 using System; 2 using System.Collections.Generic; 3 using System.Drawi ...
方法一: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Web.Services.Description; usi ...
分类:
Web程序 时间:
2020-11-04 17:48:18
阅读次数:
35
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System. ...
帮助类: using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using MySq ...
分类:
数据库 时间:
2020-11-01 21:58:38
阅读次数:
29
添加引用: ThoughtWorks.QRCode.dll System.Drawing using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Mi ...
原文:https://blog.csdn.net/liuweitoo/article/details/8281213 _Castle.Windsor.3.1.0 一. 使用代码方式进行组件注册【依赖服务类】 using System;using System.Collections.Generic;... ...