rename analysis to tra_analysis, bump version to 2.0.0

Signed-off-by: Dev Singh <dev@devksingh.com>
This commit is contained in:
Dev Singh 2020-08-10 13:01:22 -05:00 committed by Dev Singh
parent 1331a25b34
commit 5d7ae52134
20 changed files with 9 additions and 9 deletions

View File

@ -7,8 +7,8 @@ with open("requirements.txt", 'r') as file:
requirements.append(line)
setuptools.setup(
name="analysis",
version="1.0.0.012",
name="tra_analysis",
version="2.0.0",
author="The Titan Scouting Team",
author_email="titanscout2022@gmail.com",
description="analysis package developed by Titan Scouting for The Red Alliance",

View File

@ -1,5 +1,5 @@
from analysis import analysis as an
from analysis import metrics
from tra_analysis import analysis as an
from tra_analysis import metrics
def test_():
test_data_linear = [1, 3, 6, 7, 9]

View File

@ -1,7 +1,7 @@
# Titan Robotics Team 2022: Data Analysis Module
# Written by Arthur Lu & Jacob Levine
# Notes:
# this should be imported as a python module using 'from analysis import analysis'
# this should be imported as a python module using 'from tra_analysis import analysis'
# this should be included in the local directory or environment variable
# this module has been optimized for multhreaded computing
# current benchmark of optimization: 1.33 times faster
@ -345,8 +345,8 @@ __all__ = [
# imports (now in alphabetical order! v 1.0.3.006):
import csv
from analysis.metrics import elo as Elo
from analysis.metrics import glicko2 as Glicko2
from tra_analysis.metrics import elo as Elo
from tra_analysis.metrics import glicko2 as Glicko2
import math
import numba
from numba import jit
@ -355,7 +355,7 @@ import scipy
from scipy import optimize, stats
import sklearn
from sklearn import preprocessing, pipeline, linear_model, metrics, cluster, decomposition, tree, neighbors, naive_bayes, svm, model_selection, ensemble
from analysis.metrics import trueskill as Trueskill
from tra_analysis.metrics import trueskill as Trueskill
import warnings
class error(ValueError):

View File

@ -110,7 +110,7 @@ __all__ = [
# imports:
from analysis import analysis as an
from tra_analysis import analysis as an
import data as d
import json
import numpy as np