training | fastai
https://fastai1.fast.ai/training.html05.01.2021 · Overview of fastai training modules, including Learner, metrics, and callbacks Training modules overview¶ The fastai library structures its training process around the Learnerclass, whose object binds together a PyTorch model, a dataset, an optimizer, and a loss function; the entire learner object then will allow us to launch training.
Metrics | fastai_minima
https://muellerzr.github.io/fastai_minima/metrics.html25.08.2021 · This is the quickest way to use a scikit-learn metric in a fastai training loop. is_class indicates if you are in a classification problem or not. In this case: leaving thresh to None indicates it's a single-label classification problem and predictions will pass through an argmax over axis before being compared to the targets
Learner, Metrics, and Basic Callbacks | fastai
https://docs.fast.ai/learner29.11.2021 · Learner, Metrics, and Basic Callbacks. Basic class for handling the training loop. You probably want to jump directly to the definition of Learner. ... although the experience will be smoother with pure fastai objects and you will be able to use the full functionality of the library.
metrics | fastai
https://fastai1.fast.ai/metrics.html05.01.2021 · Metrics for training fastai models are simply functions that take input and target tensors, and return some metric of interest for training. You can write your own metrics by defining a function of that type, and passing it to Learner in the metrics parameter, or use one of the following pre-defined functions. Predefined metrics:
Metrics | fastai
https://docs.fast.ai/metrics.htmlThis is the quickest way to use a scikit-learn metric in a fastai training loop. is_class indicates if you are in a classification problem or not. In this case: leaving thresh to None indicates it's a single-label classification problem and predictions will pass through an argmax over axis before being compared to the targets
Learner | tsai
https://timeseriesai.github.io/tsai/learner.html28.12.2021 · Learner.feature_importance ( X = None, y = None, partial_n = None, feature_names = None, key_metric_idx = 0, show_chart = True, save_df_path = False, random_state = 23) Calculates feature importance defined to be the change in a model validation loss or metric when a single feature value is randomly shuffled.