randomclassifier 0.1.6__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.
- dl_lab/__init__.py +22 -0
- dl_lab/data.py +15 -0
- dl_lab/datasets/autoencoder_demo.npz +0 -0
- dl_lab/datasets/fraud_demo.csv +41 -0
- dl_lab/datasets/freesound_community-speech-female_hpsmodel-85388.mp3 +0 -0
- dl_lab/datasets/freesound_community-speech-female_hpsmodel-85388.wav +0 -0
- dl_lab/datasets/images.jpg +0 -0
- dl_lab/datasets/sample_image.jpg +0 -0
- dl_lab/datasets/sample_image_1.jpg +0 -0
- dl_lab/datasets/sample_image_2.jpg +0 -0
- dl_lab/datasets/sample_image_3.jpg +0 -0
- dl_lab/datasets/sample_image_4.jpg +0 -0
- dl_lab/datasets/sample_image_5.jpg +0 -0
- dl_lab/datasets/share_data.csv +101 -0
- dl_lab/datasets/speech_sample_1.wav +0 -0
- dl_lab/datasets/speech_sample_2.wav +0 -0
- dl_lab/datasets/speech_sample_3.wav +0 -0
- dl_lab/datasets/speech_sample_4.wav +0 -0
- dl_lab/datasets/speech_sample_5.wav +0 -0
- dl_lab/datasets/traffic_sample.jpg +0 -0
- dl_lab/datasets/traffic_sample_1.jpg +0 -0
- dl_lab/datasets/traffic_sample_2.jpg +0 -0
- dl_lab/datasets/traffic_sample_3.jpg +0 -0
- dl_lab/datasets/traffic_sample_4.jpg +0 -0
- dl_lab/datasets/traffic_sample_5.jpg +0 -0
- dl_lab/datasets/transactions.csv +101 -0
- dl_lab/datasets/transactions_1.csv +101 -0
- dl_lab/datasets/transactions_2.csv +41 -0
- dl_lab/datasets/transactions_3.csv +101 -0
- dl_lab/datasets/transactions_4.csv +121 -0
- dl_lab/datasets/transactions_5.csv +151 -0
- dl_lab/datasets/xor.csv +5 -0
- dl_lab/datasets/xor_1.csv +5 -0
- dl_lab/datasets/xor_2.csv +21 -0
- dl_lab/datasets/xor_3.csv +41 -0
- dl_lab/datasets/xor_4.csv +61 -0
- dl_lab/datasets/xor_5.csv +101 -0
- dl_lab/programs.py +313 -0
- randomclassifier/__init__.py +52 -0
- randomclassifier/data.py +168 -0
- randomclassifier/datasets/autoencoder_demo.npz +0 -0
- randomclassifier/datasets/fraud_demo.csv +41 -0
- randomclassifier/datasets/freesound_community-speech-female_hpsmodel-85388.mp3 +0 -0
- randomclassifier/datasets/freesound_community-speech-female_hpsmodel-85388.wav +0 -0
- randomclassifier/datasets/images.jpg +0 -0
- randomclassifier/datasets/sample_image.jpg +0 -0
- randomclassifier/datasets/sample_image_1.jpg +0 -0
- randomclassifier/datasets/sample_image_2.jpg +0 -0
- randomclassifier/datasets/sample_image_3.jpg +0 -0
- randomclassifier/datasets/sample_image_4.jpg +0 -0
- randomclassifier/datasets/sample_image_5.jpg +0 -0
- randomclassifier/datasets/share_data.csv +101 -0
- randomclassifier/datasets/speech_sample_1.wav +0 -0
- randomclassifier/datasets/speech_sample_2.wav +0 -0
- randomclassifier/datasets/speech_sample_3.wav +0 -0
- randomclassifier/datasets/speech_sample_4.wav +0 -0
- randomclassifier/datasets/speech_sample_5.wav +0 -0
- randomclassifier/datasets/traffic_sample.jpg +0 -0
- randomclassifier/datasets/traffic_sample_1.jpg +0 -0
- randomclassifier/datasets/traffic_sample_2.jpg +0 -0
- randomclassifier/datasets/traffic_sample_3.jpg +0 -0
- randomclassifier/datasets/traffic_sample_4.jpg +0 -0
- randomclassifier/datasets/traffic_sample_5.jpg +0 -0
- randomclassifier/datasets/transactions.csv +101 -0
- randomclassifier/datasets/transactions_1.csv +101 -0
- randomclassifier/datasets/transactions_2.csv +41 -0
- randomclassifier/datasets/transactions_3.csv +101 -0
- randomclassifier/datasets/transactions_4.csv +121 -0
- randomclassifier/datasets/transactions_5.csv +151 -0
- randomclassifier/datasets/xor.csv +5 -0
- randomclassifier/datasets/xor_1.csv +5 -0
- randomclassifier/datasets/xor_2.csv +21 -0
- randomclassifier/datasets/xor_3.csv +41 -0
- randomclassifier/datasets/xor_4.csv +61 -0
- randomclassifier/datasets/xor_5.csv +101 -0
- randomclassifier/programs.py +3 -0
- randomclassifier-0.1.6.dist-info/METADATA +52 -0
- randomclassifier-0.1.6.dist-info/RECORD +80 -0
- randomclassifier-0.1.6.dist-info/WHEEL +5 -0
- randomclassifier-0.1.6.dist-info/top_level.txt +2 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
from dl_lab.programs import PROGRAM_TITLES, show_program
|
|
2
|
+
from randomclassifier.data import (
|
|
3
|
+
datasets,
|
|
4
|
+
dataset,
|
|
5
|
+
save_random_dataset_for_program,
|
|
6
|
+
PROGRAM_DATASETS_INFO,
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
__version__ = "0.1.6"
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def models():
|
|
13
|
+
"""List all available programs with their numbers and titles."""
|
|
14
|
+
for number, title in PROGRAM_TITLES.items():
|
|
15
|
+
print(f"{number}. {title}")
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def model(number: int | None = None):
|
|
19
|
+
"""Print the exact source code for the requested program number (1-9)
|
|
20
|
+
|
|
21
|
+
and randomly save one of the 5 dataset variants to ./datasets/ if available.
|
|
22
|
+
"""
|
|
23
|
+
if number is None:
|
|
24
|
+
models()
|
|
25
|
+
try:
|
|
26
|
+
val = input("\nEnter program number (1-9): ").strip()
|
|
27
|
+
number = int(val)
|
|
28
|
+
except (ValueError, EOFError):
|
|
29
|
+
print("Please provide a valid number between 1 and 9.")
|
|
30
|
+
return
|
|
31
|
+
|
|
32
|
+
if number not in range(1, 10):
|
|
33
|
+
print("Please choose a program number between 1 and 9.")
|
|
34
|
+
return
|
|
35
|
+
|
|
36
|
+
# Randomly select and save 1 of the 5 dataset variants if available
|
|
37
|
+
res = save_random_dataset_for_program(number)
|
|
38
|
+
if res:
|
|
39
|
+
saved_path, variant_name = res
|
|
40
|
+
print(f"[Randomly selected {variant_name} -> saved to ./datasets/{saved_path.name}]\n")
|
|
41
|
+
|
|
42
|
+
source = show_program(number)
|
|
43
|
+
print(source)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
__all__ = [
|
|
47
|
+
"models",
|
|
48
|
+
"model",
|
|
49
|
+
"datasets",
|
|
50
|
+
"dataset",
|
|
51
|
+
"save_random_dataset_for_program",
|
|
52
|
+
]
|
randomclassifier/data.py
ADDED
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import random
|
|
4
|
+
import shutil
|
|
5
|
+
from pathlib import Path
|
|
6
|
+
|
|
7
|
+
DATASETS_DIR = Path(__file__).resolve().parent / "datasets"
|
|
8
|
+
|
|
9
|
+
PROGRAM_DATASETS_INFO: dict[int, dict] = {
|
|
10
|
+
1: {
|
|
11
|
+
"title": "XOR using Multilayer Perceptron",
|
|
12
|
+
"target_filename": "xor.csv",
|
|
13
|
+
"variants": [f"xor_{i}.csv" for i in range(1, 6)],
|
|
14
|
+
"description": "XOR truth table and classification dataset",
|
|
15
|
+
"type": "csv",
|
|
16
|
+
},
|
|
17
|
+
2: {
|
|
18
|
+
"title": "Character and Digit Recognition using ANN",
|
|
19
|
+
"target_filename": None,
|
|
20
|
+
"variants": [],
|
|
21
|
+
"description": "Uses built-in MNIST dataset (tf.keras.datasets.mnist)",
|
|
22
|
+
},
|
|
23
|
+
3: {
|
|
24
|
+
"title": "X-ray Image Analysis using Autoencoder",
|
|
25
|
+
"target_filename": "sample_image.jpg",
|
|
26
|
+
"variants": [f"sample_image_{i}.jpg" for i in range(1, 6)],
|
|
27
|
+
"description": "Medical radiograph image variants for autoencoder",
|
|
28
|
+
"type": "image",
|
|
29
|
+
},
|
|
30
|
+
4: {
|
|
31
|
+
"title": "Speech Recognition using NLP (Audio File)",
|
|
32
|
+
"target_filename": "freesound_community-speech-female_hpsmodel-85388.wav",
|
|
33
|
+
"variants": [f"speech_sample_{i}.wav" for i in range(1, 6)],
|
|
34
|
+
"description": "Spoken audio WAV samples for speech recognition",
|
|
35
|
+
"type": "audio",
|
|
36
|
+
},
|
|
37
|
+
5: {
|
|
38
|
+
"title": "Traffic Object Detection and Classification using CNN",
|
|
39
|
+
"target_filename": "traffic_sample.jpg",
|
|
40
|
+
"variants": [f"traffic_sample_{i}.jpg" for i in range(1, 6)],
|
|
41
|
+
"description": "Traffic roadway camera view variants with vehicles",
|
|
42
|
+
"type": "image",
|
|
43
|
+
},
|
|
44
|
+
6: {
|
|
45
|
+
"title": "Share-market Fraud Detection using Data Analytics",
|
|
46
|
+
"target_filename": "transactions.csv",
|
|
47
|
+
"variants": [f"transactions_{i}.csv" for i in range(1, 6)],
|
|
48
|
+
"description": "Financial and market transaction fraud detection datasets",
|
|
49
|
+
"type": "csv",
|
|
50
|
+
},
|
|
51
|
+
7: {
|
|
52
|
+
"title": "Image Augmentation using Deep RBM",
|
|
53
|
+
"target_filename": None,
|
|
54
|
+
"variants": [],
|
|
55
|
+
"description": "Uses built-in digits dataset (sklearn.datasets.load_digits)",
|
|
56
|
+
},
|
|
57
|
+
8: {
|
|
58
|
+
"title": "Sentiment Analysis using LSTM",
|
|
59
|
+
"target_filename": None,
|
|
60
|
+
"variants": [],
|
|
61
|
+
"description": "Uses in-memory sample review dataset",
|
|
62
|
+
},
|
|
63
|
+
9: {
|
|
64
|
+
"title": "Live Speech Recognition using Microphone",
|
|
65
|
+
"target_filename": None,
|
|
66
|
+
"variants": [],
|
|
67
|
+
"description": "Uses live microphone input",
|
|
68
|
+
},
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
def save_random_dataset_for_program(
|
|
73
|
+
number: int,
|
|
74
|
+
target_dir: str | Path = "datasets",
|
|
75
|
+
) -> tuple[Path, str] | None:
|
|
76
|
+
"""Randomly pick 1 of the 5 dataset variants for the program and save it
|
|
77
|
+
|
|
78
|
+
under the exact default filename in target_dir (default: ./datasets/).
|
|
79
|
+
Returns (saved_destination_path, selected_variant_filename) or None.
|
|
80
|
+
"""
|
|
81
|
+
info = PROGRAM_DATASETS_INFO.get(number)
|
|
82
|
+
if not info or not info.get("variants") or not info.get("target_filename"):
|
|
83
|
+
return None
|
|
84
|
+
|
|
85
|
+
variants = info["variants"]
|
|
86
|
+
selected_variant = random.choice(variants)
|
|
87
|
+
target_filename = info["target_filename"]
|
|
88
|
+
|
|
89
|
+
src = DATASETS_DIR / selected_variant
|
|
90
|
+
if not src.exists():
|
|
91
|
+
# Fallback to target filename directly if variant missing
|
|
92
|
+
src = DATASETS_DIR / target_filename
|
|
93
|
+
if not src.exists():
|
|
94
|
+
return None
|
|
95
|
+
|
|
96
|
+
dst_dir = Path.cwd() / target_dir
|
|
97
|
+
dst_dir.mkdir(parents=True, exist_ok=True)
|
|
98
|
+
dst = dst_dir / target_filename
|
|
99
|
+
|
|
100
|
+
shutil.copy2(src, dst)
|
|
101
|
+
return dst, selected_variant
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
def datasets():
|
|
105
|
+
"""List datasets for all 9 programs and their available variants."""
|
|
106
|
+
print("=== Program Datasets (1-9) ===")
|
|
107
|
+
for num in range(1, 10):
|
|
108
|
+
info = PROGRAM_DATASETS_INFO[num]
|
|
109
|
+
variants = info.get("variants", [])
|
|
110
|
+
if variants:
|
|
111
|
+
target = info.get("target_filename")
|
|
112
|
+
print(f"{num}. {info['title']} -> {len(variants)} variants available (saves as {target})")
|
|
113
|
+
else:
|
|
114
|
+
print(f"{num}. {info['title']} -> Not available")
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
def dataset(number: int | None = None):
|
|
118
|
+
"""Randomly select and display one of the 5 datasets for the given program number (1-9).
|
|
119
|
+
|
|
120
|
+
If not available, shows 'Not available'.
|
|
121
|
+
"""
|
|
122
|
+
if number is None:
|
|
123
|
+
datasets()
|
|
124
|
+
try:
|
|
125
|
+
val = input("\nEnter program number (1-9): ").strip()
|
|
126
|
+
number = int(val)
|
|
127
|
+
except (ValueError, EOFError):
|
|
128
|
+
print("Please provide a valid number between 1 and 9.")
|
|
129
|
+
return
|
|
130
|
+
|
|
131
|
+
if number not in range(1, 10):
|
|
132
|
+
print("Please choose a program number between 1 and 9.")
|
|
133
|
+
return
|
|
134
|
+
|
|
135
|
+
info = PROGRAM_DATASETS_INFO[number]
|
|
136
|
+
variants = info.get("variants", [])
|
|
137
|
+
if not variants:
|
|
138
|
+
print("Not available")
|
|
139
|
+
return
|
|
140
|
+
|
|
141
|
+
res = save_random_dataset_for_program(number)
|
|
142
|
+
if not res:
|
|
143
|
+
print("Not available")
|
|
144
|
+
return
|
|
145
|
+
|
|
146
|
+
saved_path, variant_name = res
|
|
147
|
+
file_type = info.get("type", "file")
|
|
148
|
+
target_name = info.get("target_filename")
|
|
149
|
+
|
|
150
|
+
print(f"=== Program {number}: {info['title']} ===")
|
|
151
|
+
print(f"Selected Variant : {variant_name} (out of {len(variants)} variants)")
|
|
152
|
+
print(f"Saved to : {saved_path.resolve()} (as {target_name})")
|
|
153
|
+
print(f"Description : {info.get('description', '')}")
|
|
154
|
+
|
|
155
|
+
if file_type == "csv":
|
|
156
|
+
print("\n--- Content (Preview) ---")
|
|
157
|
+
try:
|
|
158
|
+
with open(saved_path, "r", encoding="utf-8") as f:
|
|
159
|
+
lines = f.readlines()
|
|
160
|
+
preview = "".join(lines[:20])
|
|
161
|
+
print(preview.rstrip())
|
|
162
|
+
if len(lines) > 20:
|
|
163
|
+
print(f"\n... ({len(lines) - 20} more rows)")
|
|
164
|
+
except Exception as e:
|
|
165
|
+
print(f"Could not read text content: {e}")
|
|
166
|
+
else:
|
|
167
|
+
size_kb = round(saved_path.stat().st_size / 1024, 2)
|
|
168
|
+
print(f"File Size : {size_kb} KB ({file_type})")
|
|
Binary file
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
timestamp,amount,price_change,volume,is_fraud
|
|
2
|
+
0,100,0.01,1000,0
|
|
3
|
+
1,110,0.01,1100,0
|
|
4
|
+
2,120,0.01,1200,0
|
|
5
|
+
3,130,0.01,1300,0
|
|
6
|
+
4,140,0.01,1400,0
|
|
7
|
+
5,150,0.01,1500,0
|
|
8
|
+
6,160,0.01,1600,0
|
|
9
|
+
7,470,-0.02,6000,1
|
|
10
|
+
8,180,0.01,1800,0
|
|
11
|
+
9,190,0.01,1900,0
|
|
12
|
+
10,200,0.01,2000,0
|
|
13
|
+
11,210,0.01,2100,0
|
|
14
|
+
12,220,0.01,2200,0
|
|
15
|
+
13,230,0.01,2300,0
|
|
16
|
+
14,240,0.01,2400,0
|
|
17
|
+
15,250,0.01,2500,0
|
|
18
|
+
16,260,0.01,2600,0
|
|
19
|
+
17,270,0.01,2700,0
|
|
20
|
+
18,280,0.01,2800,0
|
|
21
|
+
19,590,-0.02,6000,1
|
|
22
|
+
20,300,0.01,3000,0
|
|
23
|
+
21,310,0.01,3100,0
|
|
24
|
+
22,320,0.01,3200,0
|
|
25
|
+
23,330,0.01,3300,0
|
|
26
|
+
24,340,0.01,3400,0
|
|
27
|
+
25,350,0.01,3500,0
|
|
28
|
+
26,360,0.01,3600,0
|
|
29
|
+
27,370,0.01,3700,0
|
|
30
|
+
28,380,0.01,3800,0
|
|
31
|
+
29,390,0.01,3900,0
|
|
32
|
+
30,400,0.01,4000,0
|
|
33
|
+
31,710,-0.02,6000,1
|
|
34
|
+
32,420,0.01,4200,0
|
|
35
|
+
33,430,0.01,4300,0
|
|
36
|
+
34,440,0.01,4400,0
|
|
37
|
+
35,450,0.01,4500,0
|
|
38
|
+
36,460,0.01,4600,0
|
|
39
|
+
37,770,-0.02,6000,1
|
|
40
|
+
38,480,0.01,4800,0
|
|
41
|
+
39,490,0.01,4900,0
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
price,volume,return
|
|
2
|
+
100,1000,0.4
|
|
3
|
+
101,1005,0.01
|
|
4
|
+
102,1010,0.01
|
|
5
|
+
103,1015,0.01
|
|
6
|
+
104,1020,0.01
|
|
7
|
+
105,1025,0.01
|
|
8
|
+
106,1030,0.01
|
|
9
|
+
107,1035,0.01
|
|
10
|
+
108,1040,0.01
|
|
11
|
+
109,1045,0.01
|
|
12
|
+
110,1050,0.4
|
|
13
|
+
111,1055,0.01
|
|
14
|
+
112,1060,0.01
|
|
15
|
+
113,1065,0.01
|
|
16
|
+
114,1070,0.01
|
|
17
|
+
115,1075,0.01
|
|
18
|
+
116,1080,0.01
|
|
19
|
+
117,1085,0.01
|
|
20
|
+
118,1090,0.01
|
|
21
|
+
119,1095,0.01
|
|
22
|
+
120,1100,0.4
|
|
23
|
+
121,1105,0.01
|
|
24
|
+
122,1110,0.01
|
|
25
|
+
123,1115,0.01
|
|
26
|
+
124,1120,0.01
|
|
27
|
+
125,1125,0.01
|
|
28
|
+
126,1130,0.01
|
|
29
|
+
127,1135,0.01
|
|
30
|
+
128,1140,0.01
|
|
31
|
+
129,1145,0.01
|
|
32
|
+
130,1150,0.4
|
|
33
|
+
131,1155,0.01
|
|
34
|
+
132,1160,0.01
|
|
35
|
+
133,1165,0.01
|
|
36
|
+
134,1170,0.01
|
|
37
|
+
135,1175,0.01
|
|
38
|
+
136,1180,0.01
|
|
39
|
+
137,1185,0.01
|
|
40
|
+
138,1190,0.01
|
|
41
|
+
139,1195,0.01
|
|
42
|
+
140,1200,0.4
|
|
43
|
+
141,1205,0.01
|
|
44
|
+
142,1210,0.01
|
|
45
|
+
143,1215,0.01
|
|
46
|
+
144,1220,0.01
|
|
47
|
+
145,1225,0.01
|
|
48
|
+
146,1230,0.01
|
|
49
|
+
147,1235,0.01
|
|
50
|
+
148,1240,0.01
|
|
51
|
+
149,1245,0.01
|
|
52
|
+
150,1250,0.4
|
|
53
|
+
151,1255,0.01
|
|
54
|
+
152,1260,0.01
|
|
55
|
+
153,1265,0.01
|
|
56
|
+
154,1270,0.01
|
|
57
|
+
155,1275,0.01
|
|
58
|
+
156,1280,0.01
|
|
59
|
+
157,1285,0.01
|
|
60
|
+
158,1290,0.01
|
|
61
|
+
159,1295,0.01
|
|
62
|
+
160,1300,0.4
|
|
63
|
+
161,1305,0.01
|
|
64
|
+
162,1310,0.01
|
|
65
|
+
163,1315,0.01
|
|
66
|
+
164,1320,0.01
|
|
67
|
+
165,1325,0.01
|
|
68
|
+
166,1330,0.01
|
|
69
|
+
167,1335,0.01
|
|
70
|
+
168,1340,0.01
|
|
71
|
+
169,1345,0.01
|
|
72
|
+
170,1350,0.4
|
|
73
|
+
171,1355,0.01
|
|
74
|
+
172,1360,0.01
|
|
75
|
+
173,1365,0.01
|
|
76
|
+
174,1370,0.01
|
|
77
|
+
175,1375,0.01
|
|
78
|
+
176,1380,0.01
|
|
79
|
+
177,1385,0.01
|
|
80
|
+
178,1390,0.01
|
|
81
|
+
179,1395,0.01
|
|
82
|
+
180,1400,0.4
|
|
83
|
+
181,1405,0.01
|
|
84
|
+
182,1410,0.01
|
|
85
|
+
183,1415,0.01
|
|
86
|
+
184,1420,0.01
|
|
87
|
+
185,1425,0.01
|
|
88
|
+
186,1430,0.01
|
|
89
|
+
187,1435,0.01
|
|
90
|
+
188,1440,0.01
|
|
91
|
+
189,1445,0.01
|
|
92
|
+
190,1450,0.4
|
|
93
|
+
191,1455,0.01
|
|
94
|
+
192,1460,0.01
|
|
95
|
+
193,1465,0.01
|
|
96
|
+
194,1470,0.01
|
|
97
|
+
195,1475,0.01
|
|
98
|
+
196,1480,0.01
|
|
99
|
+
197,1485,0.01
|
|
100
|
+
198,1490,0.01
|
|
101
|
+
199,1495,0.01
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
amount,price_change,volume
|
|
2
|
+
100,0.4,1000
|
|
3
|
+
101,0.01,1005
|
|
4
|
+
102,0.01,1010
|
|
5
|
+
103,0.01,1015
|
|
6
|
+
104,0.01,1020
|
|
7
|
+
105,0.01,1025
|
|
8
|
+
106,0.01,1030
|
|
9
|
+
107,0.01,1035
|
|
10
|
+
108,0.01,1040
|
|
11
|
+
109,0.01,1045
|
|
12
|
+
110,0.4,1050
|
|
13
|
+
111,0.01,1055
|
|
14
|
+
112,0.01,1060
|
|
15
|
+
113,0.01,1065
|
|
16
|
+
114,0.01,1070
|
|
17
|
+
115,0.01,1075
|
|
18
|
+
116,0.01,1080
|
|
19
|
+
117,0.01,1085
|
|
20
|
+
118,0.01,1090
|
|
21
|
+
119,0.01,1095
|
|
22
|
+
120,0.4,1100
|
|
23
|
+
121,0.01,1105
|
|
24
|
+
122,0.01,1110
|
|
25
|
+
123,0.01,1115
|
|
26
|
+
124,0.01,1120
|
|
27
|
+
125,0.01,1125
|
|
28
|
+
126,0.01,1130
|
|
29
|
+
127,0.01,1135
|
|
30
|
+
128,0.01,1140
|
|
31
|
+
129,0.01,1145
|
|
32
|
+
130,0.4,1150
|
|
33
|
+
131,0.01,1155
|
|
34
|
+
132,0.01,1160
|
|
35
|
+
133,0.01,1165
|
|
36
|
+
134,0.01,1170
|
|
37
|
+
135,0.01,1175
|
|
38
|
+
136,0.01,1180
|
|
39
|
+
137,0.01,1185
|
|
40
|
+
138,0.01,1190
|
|
41
|
+
139,0.01,1195
|
|
42
|
+
140,0.4,1200
|
|
43
|
+
141,0.01,1205
|
|
44
|
+
142,0.01,1210
|
|
45
|
+
143,0.01,1215
|
|
46
|
+
144,0.01,1220
|
|
47
|
+
145,0.01,1225
|
|
48
|
+
146,0.01,1230
|
|
49
|
+
147,0.01,1235
|
|
50
|
+
148,0.01,1240
|
|
51
|
+
149,0.01,1245
|
|
52
|
+
150,0.4,1250
|
|
53
|
+
151,0.01,1255
|
|
54
|
+
152,0.01,1260
|
|
55
|
+
153,0.01,1265
|
|
56
|
+
154,0.01,1270
|
|
57
|
+
155,0.01,1275
|
|
58
|
+
156,0.01,1280
|
|
59
|
+
157,0.01,1285
|
|
60
|
+
158,0.01,1290
|
|
61
|
+
159,0.01,1295
|
|
62
|
+
160,0.4,1300
|
|
63
|
+
161,0.01,1305
|
|
64
|
+
162,0.01,1310
|
|
65
|
+
163,0.01,1315
|
|
66
|
+
164,0.01,1320
|
|
67
|
+
165,0.01,1325
|
|
68
|
+
166,0.01,1330
|
|
69
|
+
167,0.01,1335
|
|
70
|
+
168,0.01,1340
|
|
71
|
+
169,0.01,1345
|
|
72
|
+
170,0.4,1350
|
|
73
|
+
171,0.01,1355
|
|
74
|
+
172,0.01,1360
|
|
75
|
+
173,0.01,1365
|
|
76
|
+
174,0.01,1370
|
|
77
|
+
175,0.01,1375
|
|
78
|
+
176,0.01,1380
|
|
79
|
+
177,0.01,1385
|
|
80
|
+
178,0.01,1390
|
|
81
|
+
179,0.01,1395
|
|
82
|
+
180,0.4,1400
|
|
83
|
+
181,0.01,1405
|
|
84
|
+
182,0.01,1410
|
|
85
|
+
183,0.01,1415
|
|
86
|
+
184,0.01,1420
|
|
87
|
+
185,0.01,1425
|
|
88
|
+
186,0.01,1430
|
|
89
|
+
187,0.01,1435
|
|
90
|
+
188,0.01,1440
|
|
91
|
+
189,0.01,1445
|
|
92
|
+
190,0.4,1450
|
|
93
|
+
191,0.01,1455
|
|
94
|
+
192,0.01,1460
|
|
95
|
+
193,0.01,1465
|
|
96
|
+
194,0.01,1470
|
|
97
|
+
195,0.01,1475
|
|
98
|
+
196,0.01,1480
|
|
99
|
+
197,0.01,1485
|
|
100
|
+
198,0.01,1490
|
|
101
|
+
199,0.01,1495
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
amount,price_change,volume
|
|
2
|
+
100,0.4,1000
|
|
3
|
+
101,0.01,1005
|
|
4
|
+
102,0.01,1010
|
|
5
|
+
103,0.01,1015
|
|
6
|
+
104,0.01,1020
|
|
7
|
+
105,0.01,1025
|
|
8
|
+
106,0.01,1030
|
|
9
|
+
107,0.01,1035
|
|
10
|
+
108,0.01,1040
|
|
11
|
+
109,0.01,1045
|
|
12
|
+
110,0.4,1050
|
|
13
|
+
111,0.01,1055
|
|
14
|
+
112,0.01,1060
|
|
15
|
+
113,0.01,1065
|
|
16
|
+
114,0.01,1070
|
|
17
|
+
115,0.01,1075
|
|
18
|
+
116,0.01,1080
|
|
19
|
+
117,0.01,1085
|
|
20
|
+
118,0.01,1090
|
|
21
|
+
119,0.01,1095
|
|
22
|
+
120,0.4,1100
|
|
23
|
+
121,0.01,1105
|
|
24
|
+
122,0.01,1110
|
|
25
|
+
123,0.01,1115
|
|
26
|
+
124,0.01,1120
|
|
27
|
+
125,0.01,1125
|
|
28
|
+
126,0.01,1130
|
|
29
|
+
127,0.01,1135
|
|
30
|
+
128,0.01,1140
|
|
31
|
+
129,0.01,1145
|
|
32
|
+
130,0.4,1150
|
|
33
|
+
131,0.01,1155
|
|
34
|
+
132,0.01,1160
|
|
35
|
+
133,0.01,1165
|
|
36
|
+
134,0.01,1170
|
|
37
|
+
135,0.01,1175
|
|
38
|
+
136,0.01,1180
|
|
39
|
+
137,0.01,1185
|
|
40
|
+
138,0.01,1190
|
|
41
|
+
139,0.01,1195
|
|
42
|
+
140,0.4,1200
|
|
43
|
+
141,0.01,1205
|
|
44
|
+
142,0.01,1210
|
|
45
|
+
143,0.01,1215
|
|
46
|
+
144,0.01,1220
|
|
47
|
+
145,0.01,1225
|
|
48
|
+
146,0.01,1230
|
|
49
|
+
147,0.01,1235
|
|
50
|
+
148,0.01,1240
|
|
51
|
+
149,0.01,1245
|
|
52
|
+
150,0.4,1250
|
|
53
|
+
151,0.01,1255
|
|
54
|
+
152,0.01,1260
|
|
55
|
+
153,0.01,1265
|
|
56
|
+
154,0.01,1270
|
|
57
|
+
155,0.01,1275
|
|
58
|
+
156,0.01,1280
|
|
59
|
+
157,0.01,1285
|
|
60
|
+
158,0.01,1290
|
|
61
|
+
159,0.01,1295
|
|
62
|
+
160,0.4,1300
|
|
63
|
+
161,0.01,1305
|
|
64
|
+
162,0.01,1310
|
|
65
|
+
163,0.01,1315
|
|
66
|
+
164,0.01,1320
|
|
67
|
+
165,0.01,1325
|
|
68
|
+
166,0.01,1330
|
|
69
|
+
167,0.01,1335
|
|
70
|
+
168,0.01,1340
|
|
71
|
+
169,0.01,1345
|
|
72
|
+
170,0.4,1350
|
|
73
|
+
171,0.01,1355
|
|
74
|
+
172,0.01,1360
|
|
75
|
+
173,0.01,1365
|
|
76
|
+
174,0.01,1370
|
|
77
|
+
175,0.01,1375
|
|
78
|
+
176,0.01,1380
|
|
79
|
+
177,0.01,1385
|
|
80
|
+
178,0.01,1390
|
|
81
|
+
179,0.01,1395
|
|
82
|
+
180,0.4,1400
|
|
83
|
+
181,0.01,1405
|
|
84
|
+
182,0.01,1410
|
|
85
|
+
183,0.01,1415
|
|
86
|
+
184,0.01,1420
|
|
87
|
+
185,0.01,1425
|
|
88
|
+
186,0.01,1430
|
|
89
|
+
187,0.01,1435
|
|
90
|
+
188,0.01,1440
|
|
91
|
+
189,0.01,1445
|
|
92
|
+
190,0.4,1450
|
|
93
|
+
191,0.01,1455
|
|
94
|
+
192,0.01,1460
|
|
95
|
+
193,0.01,1465
|
|
96
|
+
194,0.01,1470
|
|
97
|
+
195,0.01,1475
|
|
98
|
+
196,0.01,1480
|
|
99
|
+
197,0.01,1485
|
|
100
|
+
198,0.01,1490
|
|
101
|
+
199,0.01,1495
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
timestamp,amount,price_change,volume,is_fraud
|
|
2
|
+
0,100,0.01,1000,0
|
|
3
|
+
1,110,0.01,1100,0
|
|
4
|
+
2,120,0.01,1200,0
|
|
5
|
+
3,130,0.01,1300,0
|
|
6
|
+
4,140,0.01,1400,0
|
|
7
|
+
5,150,0.01,1500,0
|
|
8
|
+
6,160,0.01,1600,0
|
|
9
|
+
7,470,-0.02,6000,1
|
|
10
|
+
8,180,0.01,1800,0
|
|
11
|
+
9,190,0.01,1900,0
|
|
12
|
+
10,200,0.01,2000,0
|
|
13
|
+
11,210,0.01,2100,0
|
|
14
|
+
12,220,0.01,2200,0
|
|
15
|
+
13,230,0.01,2300,0
|
|
16
|
+
14,240,0.01,2400,0
|
|
17
|
+
15,250,0.01,2500,0
|
|
18
|
+
16,260,0.01,2600,0
|
|
19
|
+
17,270,0.01,2700,0
|
|
20
|
+
18,280,0.01,2800,0
|
|
21
|
+
19,590,-0.02,6000,1
|
|
22
|
+
20,300,0.01,3000,0
|
|
23
|
+
21,310,0.01,3100,0
|
|
24
|
+
22,320,0.01,3200,0
|
|
25
|
+
23,330,0.01,3300,0
|
|
26
|
+
24,340,0.01,3400,0
|
|
27
|
+
25,350,0.01,3500,0
|
|
28
|
+
26,360,0.01,3600,0
|
|
29
|
+
27,370,0.01,3700,0
|
|
30
|
+
28,380,0.01,3800,0
|
|
31
|
+
29,390,0.01,3900,0
|
|
32
|
+
30,400,0.01,4000,0
|
|
33
|
+
31,710,-0.02,6000,1
|
|
34
|
+
32,420,0.01,4200,0
|
|
35
|
+
33,430,0.01,4300,0
|
|
36
|
+
34,440,0.01,4400,0
|
|
37
|
+
35,450,0.01,4500,0
|
|
38
|
+
36,460,0.01,4600,0
|
|
39
|
+
37,770,-0.02,6000,1
|
|
40
|
+
38,480,0.01,4800,0
|
|
41
|
+
39,490,0.01,4900,0
|