file
stringlengths
6
44
content
stringlengths
38
162k
__init__.py
import os import sys sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__)))) from .bin.aion_pipeline import aion_train_model
aion.py
import argparse import sys import os import subprocess INSTALL = 'install' LINUXINSTALL = 'linuxinstall' FE_MIGRATE = 'migrateappfe' LAUNCH_KAFKA = 'launchkafkaconsumer' RUN_LOCAL_MLAC_PIPELINE = 'runpipelinelocal' BUILD_MLAC_CONTAINER = 'buildmlaccontainerlocal' CONVERT_MODEL = 'convertmodel' START_MLFLOW = 'mlflow' ...
aionMlopsService.py
''' * * ============================================================================= * COPYRIGHT NOTICE * ============================================================================= * @ Copyright HCL Technologies Ltd. 2021, 2022,2023 * Proprietary and confidential. All information contained herein is, and * remains...
__init__.py
''' * * ============================================================================= * COPYRIGHT NOTICE * ============================================================================= * @ Copyright HCL Technologies Ltd. 2021, 2022,2023 * Proprietary and confidential. All information contained herein is, and * remains...
aion_pipeline.py
''' * * ============================================================================= * COPYRIGHT NOTICE * ============================================================================= * @ Copyright HCL Technologies Ltd. 2021, 2022,2023 * Proprietary and confidential. All information contained herein is, and * remains...
aion_uncertainties.py
''' * * ============================================================================= * COPYRIGHT NOTICE * ============================================================================= * @ Copyright HCL Technologies Ltd. 2021, 2022,2023 * Proprietary and confidential. All information contained herein is, and * remains...
aion_telemetry.py
''' * * ============================================================================= * COPYRIGHT NOTICE * ============================================================================= * @ Copyright HCL Technologies Ltd. 2021, 2022,2023 * Proprietary and confidential. All information contained herein is, and * remains...
aion_publish.py
''' * * ============================================================================= * COPYRIGHT NOTICE * ============================================================================= * @ Copyright HCL Technologies Ltd. 2021, 2022,2023 * Proprietary and confidential. All information contained herein is, and * remains...
aion_text_summarizer.py
import json import logging import os import shutil import time import sys from sys import platform from distutils.util import strtobool from config_manager.pipeline_config import AionConfigManager from summarizer import Summarizer # Base class for EION configuration Manager which read the needed f params from eion.json...
__init__.py
import os import sys sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__))))
aion_service.py
#from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer from http.server import BaseHTTPRequestHandler,HTTPServer #from SocketServer import ThreadingMixIn from socketserver import ThreadingMixIn from functools import partial from http.server import SimpleHTTPRequestHandler, test import base64 from appbe.dataPat...
aion_online_pipeline.py
''' * * ============================================================================= * COPYRIGHT NOTICE * ============================================================================= * @ Copyright HCL Technologies Ltd. 2021, 2022,2023 * Proprietary and confidential. All information contained herein is, and * remains...
aion_mlac.py
""" /** * ============================================================================= * COPYRIGHT NOTICE * ============================================================================= * © Copyright HCL Technologies Ltd. 2021, 2022 * Proprietary and confidential. All information contained herein is, and * remains th...
aion_gluon.py
''' * * ============================================================================= * COPYRIGHT NOTICE * ============================================================================= * @ Copyright HCL Technologies Ltd. 2021, 2022,2023,2023 * Proprietary and confidential. All information contained herein is, and * re...
aion_sagemaker.py
''' * * ============================================================================= * COPYRIGHT NOTICE * ============================================================================= * @ Copyright HCL Technologies Ltd. 2021, 2022,2023 * Proprietary and confidential. All information contained herein is, and * remains...
mergeLogs.py
import json from pathlib import Path import shutil class mergeLogs(): def __init__(self, folders, dataLocation=None): self.folders = [Path(x) for x in folders] self.dataLocation = dataLocation self.baseFolder = "" self.outputData = {} def readOutputStr(self, data): ...
aion_aws_training.py
import json import sys,os from pathlib import Path, PurePosixPath from fabric import Connection import tarfile import copy from hyperscalers.cloudServer import awsGPUTraining import time import shutil import logging import multiprocessing from hyperscalers.mergeLogs import mergeLogs class AION(awsGPUTraining): ...
aws_instance.py
import json import sys,os from pathlib import Path, PurePosixPath from fabric import Connection import tarfile import copy from hyperscalers.cloudServer import awsGPUTraining import time import shutil import logging import multiprocessing from hyperscalers.mergeLogs import mergeLogs class AION(awsGPUTraining): ...
__init__.py
''' * * ============================================================================= * COPYRIGHT NOTICE * ============================================================================= * @ Copyright HCL Technologies Ltd. 2021, 2022,2023 * Proprietary and confidential. All information contained herein is, and * remains...
cloudServer.py
''' * * ============================================================================= * COPYRIGHT NOTICE * ============================================================================= * @ Copyright HCL Technologies Ltd. 2021, 2022,2023 * Proprietary and confidential. All information contained herein is, and * remains...
manage.py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'appfe.ux.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Impor...
__init__.py
null
urls.py
"""mpgWebApp URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
inferenceApis.py
from django.shortcuts import render from django.http import HttpResponse from appbe.dataPath import DEPLOY_LOCATION from rest_framework import status from django.db.models import Max, F import os,sys import time import json import re import pandas as pd from rest_framework.permissions import IsAuthenticated from django...
urls.py
"""mpgWebApp URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
error_handler.py
from django.http import HttpResponse from django.conf import settings import traceback class ErrorHandlerMiddleware: def __init__(self, get_response): self.get_response = get_response def __call__(self, request): response = self.get_response(request) return response def process_...
wsgi.py
""" WSGI config for ux project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS_M...
asgi.py
""" ASGI config for ux project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTINGS_M...
__init__.py
null
settings.py
""" Django settings for mpgWebApp project. Generated by 'django-admin startproject' using Django 3.0.3. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os ...
forms.py
from django import forms from modelTraining.models import usecasedetails import os class usecasedetailsForm(forms.ModelForm): class Meta: model = usecasedetails fields = "__all__" from modelTraining.models import Existusecases class ExistusecasesForm(forms.ModelForm): class Meta...
__init__.py
null
forms.py
from django import forms from appfe.modelTraining.models import usecasedetails from appfe.modelTraining.models import Existusecases class usecasedetailsForm(forms.ModelForm): class Meta: model = usecasedetails fields = "__all__" class ExistusecasesForm(forms.ModelForm): class Met...
views.py
from django.shortcuts import render from django.urls import reverse from django.http import HttpResponse from django.shortcuts import redirect import time from django.template import loader from django import template from django.views.decorators.csrf import csrf_exempt from os import walk from plotly.subplots import m...
bc_views.py
from django.shortcuts import render from django.urls import reverse from django.http import HttpResponse from django.shortcuts import redirect from appbe.dataPath import DEFAULT_FILE_PATH from appbe.dataPath import DATA_FILE_PATH from appbe.dataPath import CONFIG_FILE_PATH from appbe.dataPath import DEPLOY_LOCATION fro...
models.py
from django.db import models class usecasedetails(models.Model): id = models.AutoField(primary_key=True) UsecaseName = models.CharField(max_length=50) usecaseid = models.CharField(max_length=10, default=UsecaseName) Description = models.CharField(max_length=200) class Meta: db_table = "us...
mllite_views.py
from django.shortcuts import render from django.urls import reverse from django.http import HttpResponse from django.shortcuts import redirect import json from appbe.dataPath import DEFAULT_FILE_PATH from appbe.dataPath import DATA_FILE_PATH from appbe.dataPath import CONFIG_FILE_PATH from appbe.dataPath import DEPLOY_...
mltest_views.py
from django.shortcuts import render from django.urls import reverse from django.http import HttpResponse from django.shortcuts import redirect import json from appbe.dataPath import DEFAULT_FILE_PATH from appbe.dataPath import DATA_FILE_PATH from appbe.dataPath import CONFIG_FILE_PATH from appbe.dataPath import DEPLOY_...
trustedAI_views.py
from django.shortcuts import render from django.urls import reverse from django.http import HttpResponse from django.shortcuts import redirect import json from appbe.dataPath import DEFAULT_FILE_PATH from appbe.dataPath import DATA_FILE_PATH from appbe.dataPath import CONFIG_FILE_PATH from appbe.dataPath import DEPLOY_...
upload_views.py
from django.shortcuts import render from django.urls import reverse from django.http import HttpResponse from django.shortcuts import redirect import json from appbe.dataPath import DEFAULT_FILE_PATH from appbe.dataPath import DATA_FILE_PATH from appbe.dataPath import CONFIG_FILE_PATH from appbe.dataPath import DEPLOY_...
visualizer_views.py
import os,sys import re import logging from django.http import HttpRequest, HttpResponse from django.conf import settings from django.shortcuts import render from appbe.pages import getversion import plotly.graph_objects as go import plotly.figure_factory as ff from django.shortcuts import render from plotly.subplots i...
__init__.py
null
train_views.py
from django.shortcuts import render from django.urls import reverse from django.http import HttpResponse from django.shortcuts import redirect import json from appbe.dataPath import DEFAULT_FILE_PATH from appbe.dataPath import DATA_FILE_PATH from appbe.dataPath import CONFIG_FILE_PATH from appbe.dataPath import DEPLOY_...
apps.py
from django.apps import AppConfig class ModelTrainingConfig(AppConfig): name = 'appfe.modelTraining'
tests.py
from django.test import TestCase # Create your tests here.
landing_views.py
from django.shortcuts import render from django.urls import reverse from django.http import HttpResponse from django.shortcuts import redirect from appbe.pages import getusercasestatus from appbe.pages import getversion AION_VERSION = getversion() from appfe.modelTraining.models import usecasedetails from appfe.modelTr...
AirflowLib.py
# # AirflowLib.py # # It contains methods to consume rest API of Apache airflow instance # Apache Airflow exposed experimental API # One can achieve the API output just by using the methods implemented within this python file by importing the same # import requests import pandas as pd # base_url = 'http://localh...
settings_views.py
from django.shortcuts import render from django.urls import reverse from django.http import HttpResponse from django.shortcuts import redirect from appbe.pages import getusercasestatus from appbe.pages import getversion AION_VERSION = getversion() from appfe.modelTraining.models import usecasedetails from appfe.modelTr...
dg_views.py
from django.shortcuts import render from django.urls import reverse from django.http import HttpResponse from appbe.pages import getversion AION_VERSION = getversion() def datagenrate(request): from appbe.aion_config import settings usecasetab = settings() context = {'selected':'DataOperations','usecasetab...
admin.py
from django.contrib import admin # Register your models here.
prediction_views.py
from django.shortcuts import render from django.urls import reverse from django.http import HttpResponse from django.shortcuts import redirect from appbe.pages import getusercasestatus from appbe.pages import getversion AION_VERSION = getversion() from appfe.modelTraining.models import usecasedetails from appfe.modelTr...
drift_views.py
from django.shortcuts import render from django.urls import reverse from django.http import HttpResponse from django.shortcuts import redirect from appbe.pages import getusercasestatus from appbe.pages import getversion AION_VERSION = getversion() from appfe.modelTraining.models import usecasedetails from appfe.modelTr...
llm_views.py
from django.shortcuts import render from django.urls import reverse from django.http import HttpResponse from django.shortcuts import redirect import time from django.template import loader from django import template from appbe.aion_config import get_llm_data from django.views.decorators.csrf import csrf_exempt import...
0002_auto_20200803_1820.py
# Generated by Django 3.0.8 on 2020-08-03 12:50 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('modelTraining', '0001_initial'), ] operations = [ migrations.AlterField( model_name='existuseca...
0011_existusecases_trainingpid_and_more.py
# Generated by Django 4.1.7 on 2023-05-17 10:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('modelTraining', '0010_existusecases_modeltype'), ] operations = [ migrations.AddField( model_name='existusecases', n...
0008_existusecases_publishtask.py
# Generated by Django 3.2.8 on 2023-03-28 18:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('modelTraining', '0007_auto_20230328_1823'), ] operations = [ migrations.AddField( model_name='existusecases', name='...
__init__.py
null
0009_auto_20230329_0541.py
# Generated by Django 3.2.8 on 2023-03-29 05:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('modelTraining', '0008_existusecases_publishtask'), ] operations = [ migrations.RemoveField( model_name='existusecases', ...
0005_usecasedetails_userdefinedname.py
# Generated by Django 3.2.8 on 2023-02-06 17:14 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('modelTraining', '0004_existusecases_problemtype'), ] operations = [ migrations.AddField( model_name='usecasedetails', ...
0001_initial.py
# Generated by Django 3.0.8 on 2020-08-01 17:33 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Existusecases', fields=[ ('id', models.Auto...
0003_existusecases_trainouputlocation.py
# Generated by Django 3.0.8 on 2020-09-18 12:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('modelTraining', '0002_auto_20200803_1820'), ] operations = [ migrations.AddField( model_name='existusecases', name='...
0010_existusecases_modeltype.py
# Generated by Django 3.2.8 on 2023-03-29 18:37 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('modelTraining', '0009_auto_20230329_0541'), ] operations = [ migrations.AddField( model_name='existusecases', name='...
0006_auto_20230206_1759.py
# Generated by Django 3.2.8 on 2023-02-06 17:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('modelTraining', '0005_usecasedetails_userdefinedname'), ] operations = [ migrations.RemoveField( model_name='usecasedetails', ...
0007_auto_20230328_1823.py
# Generated by Django 3.2.8 on 2023-03-28 18:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('modelTraining', '0006_auto_20230206_1759'), ] operations = [ migrations.AddField( model_name='existusecases', name='...
0004_existusecases_problemtype.py
# Generated by Django 3.2.8 on 2022-10-28 09:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('modelTraining', '0003_existusecases_trainouputlocation'), ] operations = [ migrations.AddField( model_name='existusecases', ...
runaion.py
from django.contrib.staticfiles.management.commands.runserver import Command as RunServer class Command(RunServer): def check(self, *args, **kwargs): self.stdout.write(self.style.WARNING("SKIPPING SYSTEM CHECKS!\n")) def check_migrations(self, *args, **kwargs): self.stdout.write(self.style.WA...
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null
__init__.py
null