noshot 14.0.0__py3-none-any.whl → 15.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- noshot/data/DLE FSD BDA/DLE/DLE 1 (Json)/3. Yolo Object Detection.ipynb +231 -0
- noshot/data/DLE FSD BDA/DLE/DLE 1 (Json)/5. Auto Encoder.ipynb +190 -0
- noshot/data/DLE FSD BDA/DLE/DLE 3 (sonic boy)/Ex5.ipynb +190 -0
- {noshot-14.0.0.dist-info → noshot-15.0.0.dist-info}/METADATA +1 -1
- {noshot-14.0.0.dist-info → noshot-15.0.0.dist-info}/RECORD +8 -22
- noshot/data/DLE FSD BDA/BDA/BDA Lab/Ex1/input.txt +0 -1
- noshot/data/DLE FSD BDA/BDA/BDA Lab/Ex1/mapper.py +0 -6
- noshot/data/DLE FSD BDA/BDA/BDA Lab/Ex1/reducer.py +0 -22
- noshot/data/DLE FSD BDA/BDA/BDA Lab/Ex2/Weatherdataset.csv +0 -200
- noshot/data/DLE FSD BDA/BDA/BDA Lab/Ex2/mapper.py +0 -20
- noshot/data/DLE FSD BDA/BDA/BDA Lab/Ex2/reducer.py +0 -32
- noshot/data/DLE FSD BDA/BDA/BDA Lab/Ex3/BF_Map.py +0 -11
- noshot/data/DLE FSD BDA/BDA/BDA Lab/Ex3/BF_Red.py +0 -30
- noshot/data/DLE FSD BDA/BDA/BDA Lab/Ex3/bloom_filter.py +0 -71
- noshot/data/DLE FSD BDA/BDA/BDA Lab/Ex3/bloom_filter_mapper.py +0 -71
- noshot/data/DLE FSD BDA/BDA/BDA Lab/Ex3/bloom_filter_reducer.py +0 -71
- noshot/data/DLE FSD BDA/BDA/BDA Lab/Ex3/weblog.csv +0 -100
- noshot/data/DLE FSD BDA/BDA/BDA Lab/Ex4/FMA_mapper.py +0 -14
- noshot/data/DLE FSD BDA/BDA/BDA Lab/Ex4/FMA_reducer.py +0 -14
- noshot/data/DLE FSD BDA/BDA/BDA Lab/Ex4/Tweets.csv +0 -92
- noshot/data/DLE FSD BDA/BDA/BDA Lab/Instructions.txt +0 -56
- noshot/data/DLE FSD BDA/BDA/BDA Lab.iso +0 -0
- {noshot-14.0.0.dist-info → noshot-15.0.0.dist-info}/WHEEL +0 -0
- {noshot-14.0.0.dist-info → noshot-15.0.0.dist-info}/licenses/LICENSE.txt +0 -0
- {noshot-14.0.0.dist-info → noshot-15.0.0.dist-info}/top_level.txt +0 -0
@@ -1,14 +0,0 @@
|
|
1
|
-
#usr/bin/env python
|
2
|
-
import sys
|
3
|
-
|
4
|
-
max_trail = 0
|
5
|
-
for line in sys.stdin :
|
6
|
-
line = line.strip()
|
7
|
-
if not line : continue
|
8
|
-
try :
|
9
|
-
trail = int(line)
|
10
|
-
if max_trail < trail :
|
11
|
-
max_trail = trail
|
12
|
-
except : continue
|
13
|
-
else:
|
14
|
-
print("Total number of unique uids are : ",2**max_trail)
|
@@ -1,92 +0,0 @@
|
|
1
|
-
tweet_id,airline_sentiment,airline_sentiment_confidence,negativereason,negativereason_confidence,airline,airline_sentiment_gold,name,negativereason_gold,retweet_count,text,tweet_coord,tweet_created,tweet_location,user_timezone
|
2
|
-
570306133677760513,neutral,1,,,Virgin America,,cairdin,,0,@VirginAmerica What @dhepburn said.,,2/24/2015 11:35,,Eastern Time (US & Canada)
|
3
|
-
570301130888122368,positive,0.3486,,0,Virgin America,,jnardino,,0,@VirginAmerica plus you've added commercials to the experience... tacky.,,2/24/2015 11:15,,Pacific Time (US & Canada)
|
4
|
-
570301083672813571,neutral,0.6837,,,Virgin America,,yvonnalynn,,0,@VirginAmerica I didn't today... Must mean I need to take another trip!,,2/24/2015 11:15,Lets Play,Central Time (US & Canada)
|
5
|
-
570301031407624196,negative,1,Bad Flight,0.7033,Virgin America,,jnardino,,0,"@VirginAmerica it's really aggressive to blast obnoxious ""entertainment"" in your guests' faces & they have little recourse",,2/24/2015 11:15,,Pacific Time (US & Canada)
|
6
|
-
570300817074462722,negative,1,Can't Tell,1,Virgin America,,jnardino,,0,@VirginAmerica and it's a really big bad thing about it,,2/24/2015 11:14,,Pacific Time (US & Canada)
|
7
|
-
,,,,,,,,,,,,,,
|
8
|
-
,,,,,,,,,,,,,,
|
9
|
-
,,,,,,,,,,,,,,
|
10
|
-
,,,,,,,,,,,,,,
|
11
|
-
,,,,,,,,,,,,,,
|
12
|
-
,,,,,,,,,,,,,,
|
13
|
-
,,,,,,,,,,,,,,
|
14
|
-
,,,,,,,,,,,,,,
|
15
|
-
,,,,,,,,,,,,,,
|
16
|
-
,,,,,,,,,,,,,,
|
17
|
-
,,,,,,,,,,,,,,
|
18
|
-
,,,,,,,,,,,,,,
|
19
|
-
,,,,,,,,,,,,,,
|
20
|
-
,,,,,,,,,,,,,,
|
21
|
-
,,,,,,,,,,,,,,
|
22
|
-
,,,,,,,,,,,,,,
|
23
|
-
,,,,,,,,,,,,,,
|
24
|
-
,,,,,,,,,,,,,,
|
25
|
-
,,,,,,,,,,,,,,
|
26
|
-
,,,,,,,,,,,,,,
|
27
|
-
,,,,,,,,,,,,,,
|
28
|
-
,,,,,,,,,,,,,,
|
29
|
-
,,,,,,,,,,,,,,
|
30
|
-
,,,,,,,,,,,,,,
|
31
|
-
,,,,,,,,,,,,,,
|
32
|
-
,,,,,,,,,,,,,,
|
33
|
-
,,,,,,,,,,,,,,
|
34
|
-
,,,,,,,,,,,,,,
|
35
|
-
,,,,,,,,,,,,,,
|
36
|
-
,,,,,,,,,,,,,,
|
37
|
-
,,,,,,,,,,,,,,
|
38
|
-
,,,,,,,,,,,,,,
|
39
|
-
,,,,,,,,,,,,,,
|
40
|
-
,,,,,,,,,,,,,,
|
41
|
-
,,,,,,,,,,,,,,
|
42
|
-
,,,,,,,,,,,,,,
|
43
|
-
,,,,,,,,,,,,,,
|
44
|
-
,,,,,,,,,,,,,,
|
45
|
-
,,,,,,,,,,,,,,
|
46
|
-
,,,,,,,,,,,,,,
|
47
|
-
,,,,,,,,,,,,,,
|
48
|
-
,,,,,,,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 -1,56 +0,0 @@
|
|
1
|
-
Go to cloudera's Home
|
2
|
-
Create a folder named Lab
|
3
|
-
Copy the mapper.py & reducer.py into the folder
|
4
|
-
==========================================================
|
5
|
-
Run The Commands In The Folder Containing Mapper & Reducer
|
6
|
-
==========================================================
|
7
|
-
|
8
|
-
=====================
|
9
|
-
To Create & Edit File
|
10
|
-
=====================
|
11
|
-
gedit input.txt
|
12
|
-
gedit mapper.py
|
13
|
-
gedit reducer.py
|
14
|
-
|
15
|
-
==========================
|
16
|
-
To View Contents Of A File
|
17
|
-
==========================
|
18
|
-
cat input.txt
|
19
|
-
|
20
|
-
======================
|
21
|
-
To Demonstarte Locally
|
22
|
-
======================
|
23
|
-
cat input.txt | python3 mapper.py | sort | python3 reducer.py
|
24
|
-
|
25
|
-
=============================================================
|
26
|
-
Add Files To Hadoop FS (use different name if already exists)
|
27
|
-
=============================================================
|
28
|
-
hdfs fs -put input.txt
|
29
|
-
|
30
|
-
=================
|
31
|
-
To List The Files
|
32
|
-
=================
|
33
|
-
hdfs fs -ls
|
34
|
-
|
35
|
-
|
36
|
-
(Note: Change the paths for mapper, reducer, input, output as in your system)
|
37
|
-
(output path should be unique)
|
38
|
-
================
|
39
|
-
To Execute A Job
|
40
|
-
================
|
41
|
-
hadoop jar /usr/lib/hadoop-0.20-mapreduce/contrib/streaming/hadoop-streaming-2.6.0-mr1-cdh5.4.2.jar \
|
42
|
-
-file /home/cloudera/Lab/mapper.py \
|
43
|
-
-file /home/cloudera/Lab/reducer.py \
|
44
|
-
-mapper "python mapper.py" \
|
45
|
-
-reducer "python reducer.py" \
|
46
|
-
-input /user/cloudera/input.txt \
|
47
|
-
-output /user/cloudera/laboutput
|
48
|
-
|
49
|
-
hadoop fs -ls /user/cloudera/laboutput
|
50
|
-
|
51
|
-
hadoop fs -cat /user/cloudera/laboutput/part-00000
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|