--- title: Utilities keywords: fastai sidebar: home_sidebar nb_path: "nbs/01_putils.ipynb" ---
%load_ext autoreload
%autoreload 2
#%nbdev_default_export putils
from pct.functions import Proportional
prop = Proportional()
UniqueNamer.getInstance().report()
FunctionsList.getInstance().report()
#importlib.import_module('pct.functions', 'Constant')
print(list_of_ones(3))
import matplotlib.pyplot as plt
x = np.linspace(-5, 5, 11)
range=2
scale=2
y = sigmoid(x, range, scale)
plt.plot(x, y)
plt.grid()
plt.xlim(-6, 6)
plt.xlabel('x')
plt.title('expit(x)')
plt.show()
#from nbdev import *
#notebook2script()