@@ -886,27 +886,11 @@ def unobserved_value_vars(self):
886886
887887 return vars + untransformed_vars + deterministics
888888
889- @property
890- def disc_vars (self ):
891- warnings .warn (
892- "Model.disc_vars has been deprecated. Use Model.discrete_value_vars instead." ,
893- FutureWarning ,
894- )
895- return self .discrete_value_vars
896-
897889 @property
898890 def discrete_value_vars (self ):
899891 """All the discrete value variables in the model"""
900892 return list (typefilter (self .value_vars , discrete_types ))
901893
902- @property
903- def cont_vars (self ):
904- warnings .warn (
905- "Model.cont_vars has been deprecated. Use Model.continuous_value_vars instead." ,
906- FutureWarning ,
907- )
908- return self .continuous_value_vars
909-
910894 @property
911895 def continuous_value_vars (self ):
912896 """All the continuous value variables in the model"""
@@ -935,18 +919,6 @@ def unobserved_RVs(self):
935919 """
936920 return self .free_RVs + self .deterministics
937921
938- @property
939- def RV_dims (self ) -> Dict [str , Tuple [Union [str , None ], ...]]:
940- """Tuples of dimension names for specific model variables.
941-
942- Entries in the tuples may be ``None``, if the RV dimension was not given a name.
943- """
944- warnings .warn (
945- "Model.RV_dims is deprecated. Use Model.named_vars_to_dims instead." ,
946- FutureWarning ,
947- )
948- return self .named_vars_to_dims
949-
950922 @property
951923 def coords (self ) -> Dict [str , Union [Tuple , None ]]:
952924 """Coordinate values for model dimensions."""
@@ -1090,18 +1062,6 @@ def initial_point(self, random_seed: SeedSequenceSeed = None) -> Dict[str, np.nd
10901062 fn = make_initial_point_fn (model = self , return_transformed = True )
10911063 return Point (fn (random_seed ), model = self )
10921064
1093- @property
1094- def initial_values (self ) -> Dict [TensorVariable , Optional [Union [np .ndarray , Variable , str ]]]:
1095- """Maps transformed variables to initial value placeholders.
1096-
1097- Keys are the random variables (as returned by e.g. ``pm.Uniform()``) and
1098- values are the numeric/symbolic initial values, strings denoting the strategy to get them, or None.
1099- """
1100- warnings .warn (
1101- "Model.initial_values is deprecated. Use Model.rvs_to_initial_values instead."
1102- )
1103- return self .rvs_to_initial_values
1104-
11051065 def set_initval (self , rv_var , initval ):
11061066 """Sets an initial value (strategy) for a random variable."""
11071067 if initval is not None and not isinstance (initval , (Variable , str )):
0 commit comments