- 博客(9)
- 资源 (2)
- 收藏
- 关注
原创 Kaggle Predict Future Sales interpretions
making the characters spliting and use LabelEncoder to label the characters into numbersshops['city'] = shops['shop_name'].str.split(' ').map(lambda x: x[0])shops['city_code'] = LabelEncoder().fit_t...
2019-07-25 12:40:29
328
1
原创 Python get listdr path
kaggle file path/input /workspacecsv.gz can pd.read_csv(’…/input/item_categories.csv’)import os print(os.listdir("../working"))print(os.listdir("../input"))print(os.listdir("../"))[‘lib’, ‘...
2019-07-24 03:05:38
286
原创 TAP: Text Mining
Big Data Analytics Summer ExperienceTAP: Text MiningAbout this labRemove punctuationRemove stop-wordsStemmingAbout this labIn this lab, you will continue working on the code you wrote in the la...
2019-07-20 04:28:27
280
原创 pyspark wordCount
from google.colab import drivedrive.mount(’/content/drive’)ch=open(’/content/drive/My Drive/Colab Notebooks/title.txt’,‘r’)import os #importing os to set environment variabledef install_java...
2019-07-18 05:33:26
189
原创 missuori bigdata introduce
big data website of misuorri. labshttps://bigdatasummercamp.wordpress.com/labs-2019/http://dslsrv1.rnet.missouri.edu/~shangy/BigData19/flowchart.js/
2019-07-18 02:58:53
143
原创 Python WordCount
如何插入一段漂亮的代码片去博客设置页面,选择一款你喜欢的代码片高亮样式,下面展示同样高亮的 代码片.#!/usr/bin/env python#coding: utf-8from collections import Counterimport refrom collections import CounterFILESOURCE = 'title.txt'def getMostC...
2019-07-16 05:02:17
299
原创 顺序表的构造,插入,扩容
输入格式第一行输入整数n(1<=n<=100),表示n个操作。接下来n行,每行输入两个数p,q。p代表元素插入位置,q代表元素插入的值。输出格式输出若干行,对应每一个插入操作,如果元素正确插入到顺序表中,程序输出success,否则输出failed.如果执行了扩容操作,需额外输出expand.#include <iostream>#include <cs...
2019-04-11 19:31:46
1466
原创 计蒜客:顺序表的循环左移
顺序表的循环左移:顺序表的构造、插入、扩展、查找、删除、遍历这 6 种操作。一种新的操作:循环左移。对于顺序表 L=(a_0, a_1, …, a_{n-1})L=(a0,a1,…,an−1),循环左移 k位意味着将顺序表变为 L^k=(a_k, a_{k+1}, …, a_{n-1}, a_0, a_1, …, a_{k1})Lk=(ak,ak+1,…,an−1,a0,a1,…...
2019-04-11 11:28:11
862
转载 机器学习入门之机器如何学习
什么是机器学习?字面理解,就是让机器自己学会某种东西。更准确一点,机器学习就是:让计算机程序(机器),不是通过人类直接指定的规则,而是通过自身运行,习得(学习)事物的规律,和事物间的关联。对人类而言,一个概念对应的是具体的事物,一般而言,人类对其有所认知的事物,都不是孤立的,互相之间有着各种各样的关联。比如说:当我们对一个人说“苹果”的时候,ta可能马上就会想到那个圆圆的、香甜的、有皮...
2018-12-25 08:55:50
364
webcam_v4l2_x264
2018-12-04
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人