Provided is a program and an apparatus capable of easily generating a three-dimensional model from only measured values and encoding and decoding to a very small data capacity. A three-dimensional model is generated from a measurement value of a dimension number n of one body. The apparatus outputs, for each 3D model, a component variable having a dimension number m that is dimension-compressed using a teacher data group in which measurement values having a dimension number n corresponding to a plurality of measurement locations are associated with each other. A statistical learning engine that constructs a learning model, a correlation learning engine that constructs a correlation learning model of a dimension value of dimension n and a component variable of dimension number m from a plurality of three-dimensional models of a teacher data group, and a correlation Using a learning engine, an encoding means for encoding from a measurement value of one dimension number n as target data to a component variable of dimension number m, and a three-dimensional from the component variable of dimension number m using a statistical learning engine Decoding means for decoding into a model. [Selection] Figure 1【課題】採寸値のみから3次元モデルを簡易に生成すると共に、極めて小さいデータ容量にエンコード及びデコードすることができるプログラム及び装置を提供する。【解決手段】1体の次元数nの採寸値から、3次元モデルを生成する。装置は、3次元モデル毎に、複数の採寸箇所に対応する次元数nの採寸値が対応付けられた教師データ群を用いて、次元圧縮された次元数mの成分変数を出力すると共に、統計学習モデルを構築する統計学習エンジンと、教師データ群の複数体の3次元モデルから、次元数nの採寸値と、次元数mの成分変数との相関学習モデルを構築する相関学習エンジンと、相関学習エンジンを用いて、対象データとしての1体の次元数nの採寸値から次元数mの成分変数へエンコードするエンコード手段と、統計学習エンジンを用いて、当該次元数mの成分変数から3次元モデルにデコードするデコード手段とを有する。【選択図】図1