Skip to content

Commit cf5304f

Browse files
Merge pull request #102 from Arun-George-Zachariah/master
Fixing minor typos in comments.
2 parents 38adcc1 + 74e760d commit cf5304f

File tree

32 files changed

+48
-48
lines changed

32 files changed

+48
-48
lines changed

core-dynamic/src/main/java/eu/amidst/dynamic/datastream/filereaders/DynamicDataInstanceSpliterator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class DynamicDataInstanceSpliterator implements Spliterator<DynamicDataIn
5151
/** Represents a {@link NextDynamicDataInstance} object. */
5252
private NextDynamicDataInstance nextDynamicDataInstance;
5353

54-
/** Represents a {@link Spliterator} over {@link DataRow} elemenets. */
54+
/** Represents a {@link Spliterator} over {@link DataRow} elements. */
5555
private final Spliterator<DataRow> spliterator;
5656

5757
/** Represents the characteristics. */

core-dynamic/src/main/java/eu/amidst/dynamic/learning/parametric/DynamicNaiveBayesClassifier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class DynamicNaiveBayesClassifier {
3434
/** Represents the ID of class variable */
3535
int classVarID;
3636

37-
/** Represents the Dynmaic Naive Bayes Classifier model, which is considered as a {@link DynamicBayesianNetwork} object. */
37+
/** Represents the Dynamic Naive Bayes Classifier model, which is considered as a {@link DynamicBayesianNetwork} object. */
3838
DynamicBayesianNetwork bnModel;
3939

4040
/** Represents the parallel mode, which is initialized as true. */

core-dynamic/src/main/java/eu/amidst/dynamic/models/DynamicDAG.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public void updateDynamicVariables(DynamicVariables dynamicVariables1){
9393

9494
/**
9595
* Returns the set of dynamic variables in this DynamicDAG.
96-
* @return {@link DynamicVariables} object containing the set of dynamic variables in this DynmaicDAG.
96+
* @return {@link DynamicVariables} object containing the set of dynamic variables in this DynamicDAG.
9797
*/
9898
public DynamicVariables getDynamicVariables() {
9999
return this.dynamicVariables;

core-dynamic/src/main/java/eu/amidst/dynamic/variables/DynamicVariables.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public Variable getInterfaceVariable(Variable var){
157157
}
158158

159159
/**
160-
* Returns the variable of a coressponding interface variable.
160+
* Returns the variable of a corresponding interface variable.
161161
* @param var a {@link Variable} object.
162162
* @return a {@link Variable} object.
163163
*/

core/src/main/java/eu/amidst/core/exponentialfamily/EF_BaseDistribution_MultinomialParents.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
* 1. getConditioningVariables change to getParentsVariables()
2424
*
2525
* 2. Rewrite the naturalmparameters and momementsparametes interfaces to allow sparse implementations and translage
26-
* that to the implemementaiton of setNatural and setMoments
26+
* that to the implementation of setNatural and setMoments
2727
*
2828
*
2929
*
3030
* **********************************************************
3131
*/
3232

33-
//TODO: Condiser the log-base-measure when defining the base distribution.
33+
//TODO: Consider the log-base-measure when defining the base distribution.
3434

3535
package eu.amidst.core.exponentialfamily;
3636

core/src/main/java/eu/amidst/core/exponentialfamily/EF_Multinomial_Dirichlet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
*/
4040
public class EF_Multinomial_Dirichlet extends EF_ConditionalDistribution{
4141

42-
/** Represents the conditioninig Dirichlet variable of this EF_Multinomial_Dirichlet distribution. */
42+
/** Represents the conditioning Dirichlet variable of this EF_Multinomial_Dirichlet distribution. */
4343
Variable dirichletVariable;
4444

4545
/** Represents the number of states of the main multinomial variable. */

core/src/main/java/eu/amidst/core/exponentialfamily/EF_Normal_NormalParents.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public EF_Normal_NormalParents(Variable var_, List<Variable> parents_) {
9090
public void updateNaturalFromMomentParameters() {
9191

9292
/*
93-
* First step: means and convariances
93+
* First step: means and covariances
9494
*/
9595
CompoundVector globalMomentParam = (CompoundVector)this.momentParameters;
9696
double mean_X = globalMomentParam.getXYbaseMatrix().getEntry(0);

core/src/main/java/eu/amidst/core/exponentialfamily/EF_SparseMultinomial_Dirichlet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*/
3535
public class EF_SparseMultinomial_Dirichlet extends EF_ConditionalDistribution{
3636

37-
/** Represents the conditioninig Dirichlet variable of this EF_Multinomial_Dirichlet distribution. */
37+
/** Represents the conditioning Dirichlet variable of this EF_Multinomial_Dirichlet distribution. */
3838
Variable dirichletVariable;
3939

4040
/** Represents the number of states of the main multinomial variable. */

core/src/main/java/eu/amidst/core/exponentialfamily/EF_SparseMultinomial_SparseDirichlet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
*/
3434
public class EF_SparseMultinomial_SparseDirichlet extends EF_ConditionalDistribution{
3535

36-
/** Represents the conditioninig Dirichlet variable of this EF_Multinomial_Dirichlet distribution. */
36+
/** Represents the conditioning Dirichlet variable of this EF_Multinomial_Dirichlet distribution. */
3737
Variable dirichletVariable;
3838

3939
/** Represents the number of states of the main multinomial variable. */

core/src/main/java/eu/amidst/core/learning/parametric/bayesian/utils/DataPosterior.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public String toString(){
8181
}
8282

8383
/**
84-
* Returns whethers a given variable is present in the object.
84+
* Returns whether a given variable is present in the object.
8585
* @param var, a {@link Variable} object.
8686
* @return A boolean value.
8787
*/

0 commit comments

Comments
 (0)