Skip to content

AIfSR/2022-spring-unsupervised-learning

Repository files navigation

This package was designed to analyze the trajectories of nanodiamonds in macrophages. Machine learning algorithms were trained on synthetic datasets to predict the type of diffusion occuring within a trajectory based on the path of the trajectory alone.

To install this package run the following command from the command line:

pip install <PATH_TO_DIRECTORY_CONTAINING_setup.cfg>  

The public interface from which this package is intended to be used is the file Trajectory_Analysis.py. Import this file at the top of your python file with the line:

import AIfSR_Trajectory_Analysis.Trajectory_Analysis as ta  

Within this file, the "predict" function takes in a directory and will print out the results of predicting the diffusion types of all of the trajectories within that directory. Call this method with:

ta.predict("/Path/To/Directory/With/Trajectories")

Predict can also be called with a path to an excel spreadsheet to output results to. To learn more, call help(ta.predict).

To learn more about the architecture of the package consult, ARCHITECTURE.md, however this is not necessary in order to use the package.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •