Skip to content

Instantly share code, notes, and snippets.

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// ©jdehorty
// @version=5
indicator('Machine Learning: Lorentzian Classification', 'Lorentzian Classification', true, precision=4, max_labels_count=500)
import jdehorty/MLExtensions/2 as ml
import jdehorty/KernelFunctions/2 as kernels
// ====================
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// ©jdehorty
// @version=5
indicator('Machine Learning: Lorentzian Classification', 'Lorentzian Classification', true, precision=4, max_labels_count=500)
import jdehorty/MLExtensions/2 as ml
import jdehorty/KernelFunctions/2 as kernels
type Settings
import moment from 'moment';
import React, { useEffect, useState, useMemo } from 'react';
import {
View,
TouchableOpacity,
ActivityIndicator,
} from 'react-native';
import { Text } from 'react-native-paper';
import {
GLOBAL_STYLE as GS,
import React from 'react';
import moment from 'moment';
import { ActivityIndicator, View } from 'react-native';
import { Text } from 'react-native-paper';
import { AccountLayout } from '../components';
import {
TitleBanner,
BSeparator,
SizedBox,
BDropdown,
import React, { Dispatch, SetStateAction, useEffect } from 'react';
import { View, Pressable, Keyboard, TouchableOpacity } from 'react-native';
import { useNavigation } from '@react-navigation/native';
import { Text } from 'react-native-paper';
import { GLOBAL_STYLE as GS, icons } from '../../assets';
import { useAuthContext } from '../../context/auth/auth.context';
import {
BAlert,
BButton,
BCheckbox,
import * as React from 'react';
import { StyleSheet, View, TouchableOpacity } from 'react-native';
import { Text } from 'react-native-paper';
import { createDrawerNavigator } from '@react-navigation/drawer';
// TYPES
import type { IconNameType } from '../components/Common/Icon';
// HELPERS
import { getReactComponentProps } from '../helpers/utils';
import * as React from 'react';
import { StyleSheet, View, Image } from 'react-native';
import { Text } from 'react-native-paper';
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
// TYPES
import type { IconNameType } from '../components/Common/Icon';
// STYLES1
import {
import React, { useEffect } from 'react';
import { View, ScrollView, ActivityIndicator } from 'react-native';
import { Text } from 'react-native-paper';
import { Slider } from '@miblanchard/react-native-slider';
import {
CONSTANT_COLOR as CC,
CONSTANT_COLOR,
GLOBAL_STYLE,
GLOBAL_STYLE as GS,
icons,
import { useNavigation } from '@react-navigation/native';
import React, { useEffect, useState } from 'react';
import { View } from 'react-native';
import { Text } from 'react-native-paper';
import { useMutation, useQueryCache } from 'react-query';
import { ApiClient } from '../../../../../api';
import {
BButton,
TitleBanner,
BSeparator,
{ "L5CONNECTOR_PORT_80_TCP_PORT": "80", "LOG_PORT_80_TCP_PROTO": "tcp", "LX_PAM_NOTIFICATIONS_PORT": "tcp:\/\/192.168.0.162:8080", "LX_PAM_NOTIFICATIONS_SERVICE_PORT": "8080", "AUTH_UI_PORT_80_TCP_PORT": "80", "SCHEDULER_SERVICE_PORT_SCHEDULERPORT": "8080", "MESSAGING_UI_SERVICE_PORT": "80", "MESSAGING_UI_SERVICE_PORT_MESSAGINGUIPORT": "80", "KUBERNETES_PORT": "tcp:\/\/192.168.0.1:443", "LX_PAM_PROMOS_PORT": "tcp:\/\/192.168.0.44:8080", "MY_REDIS_PORT_6379_TCP": "tcp:\/\/192.168.0.197:6379", "SCHEDULER_SERVICE_PORT": "8080", "AUTH_UI_PORT_80_TCP_PROTO": "tcp", "LX_PAM_PROMOS_SERVICE_PORT": "8080", "MESSAGING_UI_PORT": "tcp:\/\/192.168.0.120:80", "KUBERNETES_SERVICE_PORT": "443", "L10_MYSQL_PORT_3306_TCP_PORT": "3306", "SCHEDULER_PORT": "tcp:\/\/192.168.0.208:8080", "L5CONNECTOR_PORT_80_TCP_PROTO": "tcp", "SECRET_MYSQL_PASSWORD": "l10", "NOTIFICATION_MANAGEMENT_SERVICE_PORT_8080_TCP_PORT": "8080", "AUDITING_UI_SERVICE_HOST": "192.168.0.59", "L10_MYSQL_SERVICE_HOST": "192.168.0.76", "L10_MYSQL_PORT_3306_TCP_PRO