Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97560238
test_script.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Jan 5, 07:02
Size
943 B
Mime Type
text/x-python
Expires
Tue, Jan 7, 07:02 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23426582
Attached To
R13271 Optical_Trapping_ML
test_script.py
View Options
#not really needed anymore but can be interesting when running the code for the first time, the goal is to see if you have installed all the necessary libraries
try
:
import
random
import
warnings
from
sklearn.metrics
import
classification_report
from
torch
import
optim
from
data_processing
import
*
from
feature_extraction
import
*
from
model_training
import
*
from
visualization
import
*
from
optuna_objectives
import
*
from
NN_arch_and_helperfonc
import
*
import
pickle
import
pandas
as
pd
import
numpy
as
np
import
time
from
torch.cuda.amp
import
autocast
,
GradScaler
from
statsmodels.tsa.arima.model
import
ARIMA
from
tsfeatures
import
tsfeatures
import
cProfile
import
pstats
import
os
import
multiprocessing
as
mp
import
concurrent.futures
print
(
"All libraries imported successfully."
)
except
ImportError
as
e
:
print
(
f
"Import error: {e}"
)
Event Timeline
Log In to Comment