Skip to content
cerebral
cerebral.tuning.HyperModel
Initializing search
    Robert-Forrest/cerebral
    • API Reference
    Robert-Forrest/cerebral
      • cerebral
        • Models
          • Fsetup_losses_and_metrics
          • Fbuild_input_layers
          • Fbuild_base_model
          • Fbuild_feature_branch
          • Fbuild_model
          • Fsave
          • Fload
          • Fcompile_and_fit
          • Ffit
          • Fcalculate_prediction_errors
          • Fcalculate_regression_metrics
          • Fcalculate_classification_metrics
          • Fevaluate_model
          • Fget_model_prediction_features
          • Fget_model_input_features
          • Fpredict
        • Loss
          • Fmasked_MSE
          • Fmasked_MAE
          • Fmasked_PseudoHuber
          • Fmasked_Huber
          • Fmasked_sparse_categorical_crossentropy
        • Metrics
          • FtprPerClass
          • FtruePositiveRate
          • FfalsePositiveRate
          • FfalseNegativeRate
          • FppvPerClass
          • FpositivePredictiveValue
          • Ff1
          • FtnrPerClass
          • FtrueNegativeRate
          • FnpvPerClass
          • FnegativePredictiveValue
          • Finformedness
          • Fmarkedness
          • Faccuracy
          • FbalancedAccuracy
          • FpositiveLikelihood
          • FnegativeLikelihood
          • FdiagnosticOdds
          • FfowlkesMallows
          • Fjaccard
          • Fcalc_R_sq
          • Fcalc_RMSE
          • Fcalc_MAE
          • Fcalc_accuracy
          • Fcalc_f1
          • Fcalc_recall
          • Fcalc_precision
          • FmeanAbsoluteDeviation
          • FrootMeanSquareDeviation
        • K-folds cross-validation
          • Fkfolds_split
          • Fkfolds
          • FkfoldsEnsemble
        • Feature Permutation
          • Fpermutation
        • Hyperparameter Tuning
          • CHyperModel
            • Public members
              • M__init__
              • Mbuild
              • Mdeclare_hyperparameters
              • Mfit
          • CHyperModel
            • Public members
              • M__init__
              • Mbuild
              • Mdeclare_hyperparameters
              • Mfit
          • Ftune
        • Plot
          • Fplot_training
          • Fplot_results_regression
          • Fplot_results_regression_heatmap
          • Fplot_results_classification
          • Fplot_multiclass_roc
          • Fplot_distributions
          • Fplot_feature_variation
          • Fplot_correlation
          • Fplot_feature_permutation
        • Utilities
          • Fensure_default_values_glass
          • Fload_data
          • Fextract_compositions
          • FprettyName
          • Fcalculate_features
          • Fdrop_unwanted_inputs
          • Fdrop_invalid_compositions
          • Fremove_correlated_features
          • Fdrop_static_features
          • Fmerge_duplicate_compositions
          • Fget_features_from_model
          • Ftrain_test_split
          • Fdf_to_dataset
          • Fgenerate_sample_weights_categorical
          • Fcreate_datasets
          • Ffilter_masked
          • Fdense
    • Public members
    class cerebral.tuning.HyperModel(keras_tuner.engine.hypermodel.HyperModel)[source]

    Variant of the keras-tuner HyperModel class

    Public members¶

    HyperModel(train_ds)[source]

    Initialize self. See help(type(self)) for accurate signature.

    build(hp)[source]

    Builds a model.

    declare_hyperparameters(hp)[source]
    fit(hp, model, *args, **kwargs)[source]

    Train the model.


    Last update: Feb 09, 2023
    Back to top
    Previous cerebral.permutation.permutation
    Next cerebral.tuning.HyperModel.__init__
    © Copyright 2022, Robert Forrest.
    Created using Sphinx 6.1.3. and Sphinx-Immaterial