mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-26 17:49:09 +00:00
removed generate_data.py
This commit is contained in:
parent
23f932ecf3
commit
a9bab60595
Binary file not shown.
@ -1,16 +0,0 @@
|
|||||||
import random
|
|
||||||
|
|
||||||
def generate(filename, x, y, low, high):
|
|
||||||
|
|
||||||
file = open(filename, "w")
|
|
||||||
|
|
||||||
for i in range (0, y, 1):
|
|
||||||
|
|
||||||
temp = ""
|
|
||||||
|
|
||||||
for j in range (0, x - 1, 1):
|
|
||||||
|
|
||||||
temp = str(random.uniform(low, high)) + "," + temp
|
|
||||||
|
|
||||||
temp = temp + str(random.uniform(low, high))
|
|
||||||
file.write(temp + "\n")
|
|
Loading…
Reference in New Issue
Block a user