Skip to content

Instantly share code, notes, and snippets.

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,
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 * 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 * 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 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 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 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,
// 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
// 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
// ====================